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.0009445/0.0009445, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.00107/0.00107, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.8895/0.8895, allocations: 177.1 MB / 205.3 MB, free: 5.504 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=1000,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=1000,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 1.413e-06/1.413e-06, allocations: 3.938 kB / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.1e-05, allocations: 2.312 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.006295/0.006316, allocations: 2.699 MB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00415/0.01047, allocations: 0.7008 MB / 276.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.01061, allocations: 4 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.01076, allocations: 59.44 kB / 277 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.01094, allocations: 91.25 kB / 277.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.01117, allocations: 91.8 kB / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.01149, allocations: 354.3 kB / 277.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.01164, allocations: 76.02 kB / 277.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002992/0.01194, allocations: 199.5 kB / 277.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.01208, allocations: 107.6 kB / 277.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.01212, allocations: 28 kB / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.439e-05/0.01215, allocations: 32 kB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.0122, allocations: 63.75 kB / 278 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.632e-05/0.01228, allocations: 99.75 kB / 278.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.01251, allocations: 211.2 kB / 278.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.165e-06/0.01252, allocations: 0 / 278.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01252, allocations: 0 / 278.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.01252, allocations: 0 / 278.3 MB, free: 12.46 MB / 266.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.0006194/0.01314, allocations: 500 kB / 278.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.006198/0.01934, allocations: 12.03 kB / 278.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.386e-05/0.01941, allocations: 40.91 kB / 278.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.01964, allocations: 185.3 kB / 279 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.01966, allocations: 16.88 kB / 279 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/0.0197, allocations: 36.38 kB / 279.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.02, allocations: 289.1 kB / 279.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.02001, allocations: 192 / 279.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.02003, allocations: 12.38 kB / 279.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.02004, allocations: 7.938 kB / 279.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.02015, allocations: 79.39 kB / 279.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009383/0.02109, allocations: 0.7048 MB / 280.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.02131, allocations: 114.5 kB / 280.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.02149, allocations: 100.8 kB / 280.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.0215, allocations: 4 kB / 280.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.02152, allocations: 30.56 kB / 280.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.02152, allocations: 0 / 280.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000611/0.02213, allocations: 280 kB / 280.7 MB, free: 9.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.02216, allocations: 51.41 kB / 280.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003153/0.02531, allocations: 206.2 kB / 280.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.02533, allocations: 33.7 kB / 280.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.02541, allocations: 160.1 kB / 281.1 MB, free: 9.453 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.02545, allocations: 67.45 kB / 281.2 MB, free: 9.387 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.02551, allocations: 49.64 kB / 281.2 MB, free: 9.332 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.02559, allocations: 338.7 kB / 281.5 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.708e-05/0.02563, allocations: 19.98 kB / 281.6 MB, free: 8.973 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.0257, allocations: 90.75 kB / 281.7 MB, free: 8.859 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.02582, allocations: 125.7 kB / 281.8 MB, free: 8.715 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.02582, allocations: 0 / 281.8 MB, free: 8.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002922/0.02611, allocations: 198.1 kB / 282 MB, free: 8.512 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.02613, allocations: 4 kB / 282 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.02613, allocations: 4 kB / 282 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002389/0.02637, allocations: 68.97 kB / 282 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.0265, allocations: 51.91 kB / 282.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.02755, allocations: 1.477 MB / 283.6 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.719e-05/0.02765, allocations: 27.88 kB / 283.6 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.02766, allocations: 12 kB / 283.6 MB, free: 6.781 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 8.149e-05/0.02774, allocations: 125.7 kB / 283.7 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.02778, allocations: 19.98 kB / 283.8 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.02781, allocations: 21.81 kB / 283.8 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.02781, allocations: 0 / 283.8 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.02781, allocations: 3.984 kB / 283.8 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.02782, allocations: 8.031 kB / 283.8 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/0.03129, allocations: 366.1 kB / 284.1 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.0313, allocations: 0 / 284.1 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.0314, allocations: 35.92 kB / 284.2 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001736/0.03158, allocations: 68.75 kB / 284.2 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.03158, allocations: 0 / 284.2 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008734/0.03246, allocations: 1.438 MB / 285.7 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.03246, allocations: 0 / 285.7 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.03292, allocations: 272.1 kB / 286 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.03294, allocations: 15.84 kB / 286 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.03297, allocations: 16.05 kB / 286 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.03307, allocations: 12 kB / 286 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.03309, allocations: 15.97 kB / 286 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.0331, allocations: 0 / 286 MB, free: 4.234 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.322e-05/0.03316, allocations: 66.16 kB / 286.1 MB, free: 4.168 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03316, allocations: 0 / 286.1 MB, free: 4.168 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003591/0.03352, allocations: 79.84 kB / 286.2 MB, free: 4.09 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 0.0001022/0.03363, allocations: 84.36 kB / 286.2 MB, free: 4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003504/0.03398, allocations: 259.3 kB / 286.5 MB, free: 3.734 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.03398, allocations: 0 / 286.5 MB, free: 3.734 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003151/0.03713, allocations: 183.7 kB / 286.7 MB, free: 3.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.03737, allocations: 39.91 kB / 286.7 MB, free: 3.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.03856, allocations: 0.633 MB / 287.3 MB, free: 2.844 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.688e-05/0.03862, allocations: 88.25 kB / 287.4 MB, free: 2.738 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.416e-05/0.03868, allocations: 21.95 kB / 287.4 MB, free: 2.715 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.03879, allocations: 87.34 kB / 287.5 MB, free: 2.629 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.03879, allocations: 0 / 287.5 MB, free: 2.629 MB / 266.7 MB Notification: Performance of Templates: time 0.0866/0.1254, allocations: 2.904 MB / 290.4 MB, free: 25.46 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5850815810263157]