Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 75.91 kB / 21.18 MB, free: 3.395 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9937/0.9937, allocations: 173.4 MB / 201.1 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 268 MB, free: 6.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.993e-05, allocations: 10.25 kB / 268 MB, free: 6.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002831/0.002861, allocations: 2.705 MB / 270.7 MB, free: 3.668 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.003932, allocations: 0.6505 MB / 271.4 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.004051, allocations: 11.94 kB / 271.4 MB, free: 3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.004198, allocations: 55.5 kB / 271.5 MB, free: 2.945 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.004338, allocations: 83.25 kB / 271.5 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.004573, allocations: 99.73 kB / 271.6 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.00484, allocations: 350.3 kB / 272 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.005018, allocations: 78.03 kB / 272.1 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003026/0.005321, allocations: 187.6 kB / 272.2 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.005448, allocations: 115.6 kB / 272.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.005483, allocations: 24 kB / 272.4 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.033e-05/0.005513, allocations: 28 kB / 272.4 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.005556, allocations: 67.73 kB / 272.5 MB, free: 1.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.784e-05/0.005633, allocations: 103.8 kB / 272.6 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.005865, allocations: 211.2 kB / 272.8 MB, free: 1.621 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005867, allocations: 0 / 272.8 MB, free: 1.621 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005868, allocations: 0 / 272.8 MB, free: 1.621 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.005873, allocations: 0 / 272.8 MB, free: 1.621 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006864/0.006559, allocations: 0.6052 MB / 273.4 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.006606, allocations: 12.03 kB / 273.4 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.077e-05/0.006677, allocations: 52.75 kB / 273.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.006903, allocations: 224.1 kB / 273.7 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.006918, allocations: 16.88 kB / 273.7 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.006957, allocations: 24.38 kB / 273.7 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.007297, allocations: 310.8 kB / 274 MB, free: 296 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.007308, allocations: 192 / 274 MB, free: 296 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.007331, allocations: 16.31 kB / 274 MB, free: 280 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.007344, allocations: 15.91 kB / 274 MB, free: 264 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.007492, allocations: 98.94 kB / 274.1 MB, free: 168 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009369/0.008429, allocations: 0.9328 MB / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.008681, allocations: 143.1 kB / 275.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.008878, allocations: 107.6 kB / 275.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.0089, allocations: 4 kB / 275.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.008927, allocations: 53.25 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.008928, allocations: 0 / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006433/0.009571, allocations: 311.9 kB / 275.7 MB, free: 14.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.009597, allocations: 55.41 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.009754, allocations: 269.3 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.009769, allocations: 29.7 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.009864, allocations: 230.8 kB / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.009904, allocations: 67.42 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.00996, allocations: 55.36 kB / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.01009, allocations: 0.5 MB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.533e-05/0.01014, allocations: 31.97 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.212e-05/0.01023, allocations: 117.5 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.01039, allocations: 164.4 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.01039, allocations: 0 / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000327/0.01072, allocations: 248.8 kB / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.01073, allocations: 8 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01074, allocations: 4.219 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002821/0.01102, allocations: 79.56 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.01113, allocations: 51.98 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.0128, allocations: 2.164 MB / 279.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.01292, allocations: 23.84 kB / 279.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.01294, allocations: 12 kB / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.01305, allocations: 168.5 kB / 279.9 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.01311, allocations: 31.73 kB / 280 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.01314, allocations: 25.8 kB / 280 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.01315, allocations: 4.047 kB / 280 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01315, allocations: 8.016 kB / 280 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.01315, allocations: 0 / 280 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006921/0.01385, allocations: 0.5085 MB / 280.5 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.01385, allocations: 4 kB / 280.5 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.394e-05/0.01394, allocations: 27.98 kB / 280.5 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001829/0.01413, allocations: 79.75 kB / 280.6 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.01414, allocations: 4 kB / 280.6 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.01515, allocations: 2.118 MB / 282.7 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01516, allocations: 3.984 kB / 282.7 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.01548, allocations: 373.9 kB / 283.1 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.591e-05/0.0155, allocations: 23.83 kB / 283.1 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.01551, allocations: 11.88 kB / 283.1 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.0156, allocations: 12 kB / 283.1 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.01562, allocations: 15.97 kB / 283.2 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.01563, allocations: 4 kB / 283.2 MB, free: 6.566 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.328e-05/0.01572, allocations: 188.5 kB / 283.4 MB, free: 6.383 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01572, allocations: 3.938 kB / 283.4 MB, free: 6.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002531/0.01598, allocations: 79.88 kB / 283.4 MB, free: 6.301 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 8.077e-05/0.01606, allocations: 99.25 kB / 283.5 MB, free: 6.195 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004067/0.01646, allocations: 344.3 kB / 283.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.01647, allocations: 0 / 283.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.01662, allocations: 241.3 kB / 284.1 MB, free: 5.586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.01687, allocations: 36.11 kB / 284.1 MB, free: 5.551 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.01806, allocations: 0.6591 MB / 284.8 MB, free: 4.863 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.057e-05/0.01811, allocations: 84.31 kB / 284.9 MB, free: 4.762 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.016e-05/0.01816, allocations: 21.94 kB / 284.9 MB, free: 4.738 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.0182, allocations: 20.5 kB / 284.9 MB, free: 4.719 MB / 266.7 MB Notification: Performance of SimCode: time 6.42e-07/0.0182, allocations: 0 / 284.9 MB, free: 4.719 MB / 266.7 MB Notification: Performance of Templates: time 0.004841/0.02304, allocations: 2.735 MB / 287.7 MB, free: 2.016 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1292734472081065]