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.0008762/0.0008762, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.006153/0.006153, allocations: 163.1 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.9003/0.9003, allocations: 177.1 MB / 205 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] 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 8.92e-07/8.92e-07, allocations: 0 / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.214e-05, allocations: 2.281 kB / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002238/0.00225, allocations: 2.536 MB / 328.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009881/0.003238, allocations: 0.6776 MB / 329.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.003346, allocations: 4 kB / 329.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.186e-05/0.003438, allocations: 51.5 kB / 329.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.003569, allocations: 99.17 kB / 329.3 MB, free: 12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.003761, allocations: 87.81 kB / 329.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.003999, allocations: 342.4 kB / 329.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.004136, allocations: 82.03 kB / 329.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.004396, allocations: 207.4 kB / 330 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.659e-05/0.004493, allocations: 99.69 kB / 330.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.004521, allocations: 28 kB / 330.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.566e-05/0.004546, allocations: 28 kB / 330.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.004579, allocations: 59.75 kB / 330.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.538e-05/0.004645, allocations: 107.7 kB / 330.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.00488, allocations: 319 kB / 330.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.004882, allocations: 0 / 330.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004883, allocations: 0 / 330.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.004887, allocations: 0 / 330.6 MB, free: 10.67 MB / 298.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.0005737/0.00546, allocations: 0.5159 MB / 331.1 MB, free: 10.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.435e-05/0.005485, allocations: 12.03 kB / 331.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.005527, allocations: 40.73 kB / 331.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.005741, allocations: 205.3 kB / 331.3 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.005756, allocations: 20.88 kB / 331.4 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.005786, allocations: 24.38 kB / 331.4 MB, free: 9.809 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.006119, allocations: 352.4 kB / 331.7 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.006128, allocations: 192 / 331.7 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.006147, allocations: 16.36 kB / 331.8 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.006155, allocations: 19.86 kB / 331.8 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.006415, allocations: 209.8 kB / 332 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008965/0.007311, allocations: 0.8528 MB / 332.8 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.007589, allocations: 178.5 kB / 333 MB, free: 8.102 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.007816, allocations: 144.8 kB / 333.1 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.00783, allocations: 4 kB / 333.1 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.007854, allocations: 42.48 kB / 333.2 MB, free: 7.902 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.007855, allocations: 4 kB / 333.2 MB, free: 7.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008415/0.008696, allocations: 482.3 kB / 333.7 MB, free: 7.418 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.008722, allocations: 55.39 kB / 333.7 MB, free: 7.352 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.008875, allocations: 218.8 kB / 333.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.008895, allocations: 29.7 kB / 334 MB, free: 7.094 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.008983, allocations: 184.1 kB / 334.1 MB, free: 6.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.00902, allocations: 63.44 kB / 334.2 MB, free: 6.848 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.009069, allocations: 45.7 kB / 334.2 MB, free: 6.797 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.009162, allocations: 334.8 kB / 334.6 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.00927, allocations: 71.95 kB / 334.6 MB, free: 6.391 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.009398, allocations: 130.8 kB / 334.8 MB, free: 6.238 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.009619, allocations: 202.8 kB / 335 MB, free: 6.016 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.009621, allocations: 3.938 kB / 335 MB, free: 6.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004363/0.01006, allocations: 353.1 kB / 335.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.01007, allocations: 10.97 kB / 335.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.01007, allocations: 0 / 335.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002015/0.01027, allocations: 80.86 kB / 335.4 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.01037, allocations: 51.86 kB / 335.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.01187, allocations: 1.864 MB / 337.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.798e-05/0.01196, allocations: 35.8 kB / 337.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.01197, allocations: 12 kB / 337.4 MB, free: 3.496 MB / 298.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 9.269e-05/0.01207, allocations: 133.8 kB / 337.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.01209, allocations: 23.8 kB / 337.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.01212, allocations: 25.8 kB / 337.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.01212, allocations: 8.031 kB / 337.6 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.01212, allocations: 4.062 kB / 337.6 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.01212, allocations: 0 / 337.6 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006045/0.01273, allocations: 0.5611 MB / 338.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01273, allocations: 0 / 338.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.121e-05/0.01281, allocations: 35.97 kB / 338.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001358/0.01295, allocations: 80.73 kB / 338.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.01296, allocations: 4 kB / 338.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.01425, allocations: 1.786 MB / 340 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01425, allocations: 3.938 kB / 340 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004843/0.01473, allocations: 455.9 kB / 340.5 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.01476, allocations: 27.86 kB / 340.5 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.01477, allocations: 3.938 kB / 340.5 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.078e-05/0.01486, allocations: 19.98 kB / 340.5 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.01488, allocations: 11.97 kB / 340.5 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.01489, allocations: 8 kB / 340.5 MB, free: 156 kB / 298.7 MB Notification: Performance of sorting global known variables: time 9.177e-05/0.01498, allocations: 156.7 kB / 340.7 MB, free: 0 / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01498, allocations: 0 / 340.7 MB, free: 0 / 298.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.01525, allocations: 75.92 kB / 340.8 MB, free: 15.92 MB / 314.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 7.618e-05/0.01533, allocations: 99.25 kB / 340.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004557/0.01578, allocations: 358.5 kB / 341.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.01578, allocations: 320 / 341.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.01595, allocations: 211.1 kB / 341.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.01616, allocations: 38.53 kB / 341.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.01731, allocations: 0.8351 MB / 342.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.985e-05/0.01739, allocations: 142 kB / 342.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.01743, allocations: 20.5 kB / 342.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01743, allocations: 0 / 342.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of Templates: time 0.003383/0.02081, allocations: 3.753 MB / 346.2 MB, free: 10.4 MB / 314.7 MB " [Timeout remaining time 660] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/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: 4.28089517634362]