Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002267/0.002267, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.644/1.644, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=999,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=999,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 51.92 kB / 379 MB, free: 2.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.453, allocations: 53.36 MB / 432.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.007235/0.4602, allocations: 2.546 MB / 434.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.4624, allocations: 0.6584 MB / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002215/0.4626, allocations: 11.88 kB / 435.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.4629, allocations: 39.58 kB / 435.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.4632, allocations: 95.25 kB / 435.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.4636, allocations: 91.81 kB / 435.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006063/0.4642, allocations: 338.5 kB / 436.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.4646, allocations: 81.64 kB / 436.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005486/0.4651, allocations: 147.5 kB / 436.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.4654, allocations: 139.4 kB / 436.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/0.4655, allocations: 28 kB / 436.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.218e-05/0.4655, allocations: 24 kB / 436.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.356e-05/0.4656, allocations: 67.77 kB / 436.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.4659, allocations: 123.5 kB / 436.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005701/0.4664, allocations: 313.7 kB / 437 MB, free: 1.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.299e-05/0.4664, allocations: 8 kB / 437 MB, free: 1.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.4664, allocations: 0 / 437 MB, free: 1.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.4664, allocations: 3.938 kB / 437.1 MB, free: 1.98 MB / 334.1 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.001561/0.468, allocations: 0.517 MB / 437.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.489e-05/0.4681, allocations: 8.031 kB / 437.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.4682, allocations: 32.75 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000645/0.4689, allocations: 206 kB / 437.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.007e-05/0.4689, allocations: 24.88 kB / 437.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.544e-05/0.469, allocations: 24.38 kB / 437.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.47, allocations: 356.1 kB / 438.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.4701, allocations: 3.984 kB / 438.2 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.533e-05/0.4701, allocations: 8 kB / 438.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/0.4701, allocations: 11.98 kB / 438.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007929/0.4709, allocations: 205.8 kB / 438.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002737/0.4737, allocations: 0.8639 MB / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009322/0.4746, allocations: 174.5 kB / 439.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007602/0.4753, allocations: 148.7 kB / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.4754, allocations: 4.312 kB / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.923e-05/0.4754, allocations: 38.55 kB / 439.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.244e-06/0.4754, allocations: 4 kB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.003314/0.4788, allocations: 482 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.4788, allocations: 55.34 kB / 440.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.4792, allocations: 226.7 kB / 440.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001708/0.4794, allocations: 37.7 kB / 440.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.4796, allocations: 176.1 kB / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.4797, allocations: 63.44 kB / 440.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.4799, allocations: 45.7 kB / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002897/0.4802, allocations: 330.8 kB / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.4805, allocations: 67.97 kB / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.4809, allocations: 127.6 kB / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.4816, allocations: 212.7 kB / 441.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4816, allocations: 7.938 kB / 441.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001652/0.4832, allocations: 353.3 kB / 441.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.4833, allocations: 10.66 kB / 441.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.4833, allocations: 0 / 441.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006773/0.484, allocations: 88.8 kB / 441.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.4843, allocations: 47.97 kB / 441.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005682/0.49, allocations: 1.871 MB / 443.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.4904, allocations: 27.83 kB / 443.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.4904, allocations: 12.06 kB / 443.8 MB, free: 10.81 MB / 350.1 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.0003244/0.4908, allocations: 141.7 kB / 444 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.4909, allocations: 23.86 kB / 444 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.115e-05/0.491, allocations: 29.83 kB / 444 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.491, allocations: 3.938 kB / 444 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.491, allocations: 0 / 444 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.491, allocations: 0 / 444 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.4931, allocations: 0.5573 MB / 444.6 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.4931, allocations: 0 / 444.6 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.4934, allocations: 35.98 kB / 444.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005568/0.4939, allocations: 68.8 kB / 444.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.494, allocations: 11.94 kB / 444.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004829/0.4988, allocations: 1.785 MB / 446.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.4988, allocations: 0 / 446.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.5006, allocations: 463.9 kB / 447 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-05/0.5007, allocations: 19.86 kB / 447 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.5007, allocations: 4.062 kB / 447 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.5011, allocations: 23.98 kB / 447 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.5011, allocations: 11.97 kB / 447 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.5012, allocations: 11.94 kB / 447 MB, free: 7.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002531/0.5014, allocations: 148.6 kB / 447.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5014, allocations: 0 / 447.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000826/0.5022, allocations: 75.89 kB / 447.2 MB, free: 7.242 MB / 350.1 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 0.0002279/0.5025, allocations: 107.2 kB / 447.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.5041, allocations: 365.2 kB / 447.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5041, allocations: 0 / 447.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000563/0.5046, allocations: 198.9 kB / 447.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006253/0.5052, allocations: 39.86 kB / 447.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/0.5097, allocations: 0.8704 MB / 448.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.51, allocations: 146.1 kB / 448.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.5102, allocations: 17.95 kB / 449 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.5102, allocations: 15.44 kB / 449 MB, free: 5.422 MB / 350.1 MB Notification: Performance of SimCode: time 1.963e-06/0.5102, allocations: 3.938 kB / 449 MB, free: 5.418 MB / 350.1 MB Notification: Performance of Templates: time 0.01284/0.5231, allocations: 3.03 MB / 452 MB, free: 2.434 MB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.353289250997477]