Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001142/0.001142, allocations: 75.69 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001619/0.001619, allocations: 163.8 kB / 24.99 MB, free: 9.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.025/1.025, allocations: 177 MB / 205.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 273.1 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.395e-05, allocations: 2.312 kB / 273.1 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00317/0.003204, allocations: 2.728 MB / 275.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.00446, allocations: 0.6737 MB / 276.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.004604, allocations: 7.938 kB / 276.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.004752, allocations: 47.56 kB / 276.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.004933, allocations: 99.12 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.005126, allocations: 67.89 kB / 276.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003149/0.005441, allocations: 358.1 kB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.005621, allocations: 82.03 kB / 277.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003281/0.005949, allocations: 199.5 kB / 277.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.006085, allocations: 111.6 kB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003013/0.006386, allocations: 28 kB / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.107e-05/0.006417, allocations: 28 kB / 277.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.006457, allocations: 63.73 kB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.655e-05/0.006533, allocations: 103.8 kB / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.006762, allocations: 207.2 kB / 277.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.006766, allocations: 0 / 277.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006768, allocations: 0 / 277.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.006774, allocations: 8 kB / 277.8 MB, free: 12.91 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006417/0.007415, allocations: 0.613 MB / 278.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.00745, allocations: 11.98 kB / 278.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.635e-05/0.007526, allocations: 56.75 kB / 278.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.00778, allocations: 224.9 kB / 278.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.007795, allocations: 17.03 kB / 278.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.007835, allocations: 28.38 kB / 278.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.008117, allocations: 277.5 kB / 279 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.008125, allocations: 192 / 279 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.008146, allocations: 16.31 kB / 279.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.008155, allocations: 11.94 kB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.008306, allocations: 111.8 kB / 279.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009964/0.009302, allocations: 0.8252 MB / 280 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.009545, allocations: 143 kB / 280.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.009743, allocations: 111.6 kB / 280.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.009767, allocations: 7.984 kB / 280.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.009792, allocations: 41.33 kB / 280.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.009794, allocations: 0 / 280.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006071/0.0104, allocations: 290.2 kB / 280.6 MB, free: 9.961 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.01043, allocations: 63.33 kB / 280.7 MB, free: 9.887 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.0106, allocations: 265.5 kB / 280.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.01062, allocations: 33.7 kB / 280.9 MB, free: 9.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.01074, allocations: 223.3 kB / 281.2 MB, free: 9.348 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.01078, allocations: 79.36 kB / 281.2 MB, free: 9.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.01084, allocations: 51.36 kB / 281.3 MB, free: 9.211 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.01096, allocations: 0.4962 MB / 281.8 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.897e-05/0.01102, allocations: 35.97 kB / 281.8 MB, free: 8.668 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.953e-05/0.01111, allocations: 109.8 kB / 281.9 MB, free: 8.531 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.01126, allocations: 157.6 kB / 282.1 MB, free: 8.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01126, allocations: 0 / 282.1 MB, free: 8.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003268/0.01159, allocations: 253 kB / 282.3 MB, free: 8.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.0116, allocations: 4 kB / 282.3 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01161, allocations: 7.984 kB / 282.3 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002822/0.01189, allocations: 79.64 kB / 282.4 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.012, allocations: 51.91 kB / 282.5 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.01366, allocations: 2.226 MB / 284.7 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.01377, allocations: 31.81 kB / 284.7 MB, free: 5.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.01378, allocations: 8 kB / 284.7 MB, free: 5.547 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 9.948e-05/0.01388, allocations: 172.5 kB / 284.9 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.01392, allocations: 35.8 kB / 284.9 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.01395, allocations: 25.8 kB / 285 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.01395, allocations: 0 / 285 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.01395, allocations: 0 / 285 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01396, allocations: 4 kB / 285 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005206/0.01448, allocations: 0.539 MB / 285.5 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01448, allocations: 0 / 285.5 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.716e-05/0.01458, allocations: 27.98 kB / 285.5 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002202/0.0148, allocations: 79.61 kB / 285.6 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.01481, allocations: 4 kB / 285.6 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.01599, allocations: 2.213 MB / 287.8 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01599, allocations: 0 / 287.8 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.01633, allocations: 387.2 kB / 288.2 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.01636, allocations: 23.83 kB / 288.2 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.01637, allocations: 0 / 288.2 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.025e-05/0.01646, allocations: 19.98 kB / 288.3 MB, free: 1.824 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.01651, allocations: 23.92 kB / 288.3 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.01652, allocations: 4 kB / 288.3 MB, free: 1.797 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.469e-05/0.01662, allocations: 180.5 kB / 288.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01662, allocations: 4.031 kB / 288.5 MB, free: 1.617 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003334/0.01695, allocations: 79.89 kB / 288.5 MB, free: 1.539 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: 2 (opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001145/0.01706, allocations: 107.2 kB / 288.6 MB, free: 1.426 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003932/0.01746, allocations: 316.3 kB / 288.9 MB, free: 1.098 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01746, allocations: 0 / 288.9 MB, free: 1.098 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.01763, allocations: 268.8 kB / 289.2 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.01791, allocations: 44.16 kB / 289.3 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009278/0.01884, allocations: 0.5146 MB / 289.8 MB, free: 232 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.064e-05/0.0189, allocations: 92.11 kB / 289.9 MB, free: 120 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.184e-05/0.01896, allocations: 17.95 kB / 289.9 MB, free: 104 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.019, allocations: 24.44 kB / 289.9 MB, free: 80 kB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.019, allocations: 0 / 289.9 MB, free: 80 kB / 266.7 MB Notification: Performance of Templates: time 0.005759/0.02476, allocations: 2.977 MB / 292.9 MB, free: 13.14 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.920087641105056]