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.001932/0.001932, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.002273/0.002273, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 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 1.443/1.443, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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=999,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=999,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 0.001646/0.001646, allocations: 47.92 kB / 371.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2446, allocations: 52.19 MB / 423.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004589/0.2492, allocations: 2.519 MB / 426.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.2506, allocations: 0.6388 MB / 427 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.2509, allocations: 11.94 kB / 427 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.2511, allocations: 47.56 kB / 427.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.2514, allocations: 87.25 kB / 427.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.2518, allocations: 87.83 kB / 427.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005031/0.2523, allocations: 342.5 kB / 427.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.2525, allocations: 81.62 kB / 427.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.2528, allocations: 135.5 kB / 427.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.253, allocations: 119.4 kB / 427.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.288e-05/0.253, allocations: 28 kB / 427.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.572e-05/0.2531, allocations: 28 kB / 428 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.2532, allocations: 63.77 kB / 428 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.2533, allocations: 115.5 kB / 428.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.2538, allocations: 321.7 kB / 428.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2538, allocations: 0 / 428.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2538, allocations: 4 kB / 428.5 MB, free: 9.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.2538, allocations: 0 / 428.5 MB, free: 9.855 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.00125/0.255, allocations: 0.5209 MB / 429 MB, free: 9.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.2551, allocations: 8.031 kB / 429 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.451e-05/0.2552, allocations: 36.73 kB / 429 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.2556, allocations: 206 kB / 429.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.2556, allocations: 20.88 kB / 429.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.945e-05/0.2557, allocations: 28.36 kB / 429.3 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006149/0.2563, allocations: 348.2 kB / 429.6 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.2563, allocations: 7.938 kB / 429.6 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.2564, allocations: 11.98 kB / 429.6 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.2564, allocations: 8 kB / 429.6 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.2568, allocations: 201.9 kB / 429.8 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.2586, allocations: 0.8677 MB / 430.7 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.2591, allocations: 174.5 kB / 430.9 MB, free: 7.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/0.2595, allocations: 144.8 kB / 431 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.2596, allocations: 4 kB / 431 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.2596, allocations: 34.55 kB / 431.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.934e-06/0.2596, allocations: 3.938 kB / 431.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001749/0.2614, allocations: 492.1 kB / 431.5 MB, free: 6.602 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.2614, allocations: 59.33 kB / 431.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.2617, allocations: 222.9 kB / 431.8 MB, free: 6.305 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.2617, allocations: 29.7 kB / 431.8 MB, free: 6.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.2618, allocations: 180.1 kB / 432 MB, free: 6.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.2619, allocations: 59.48 kB / 432.1 MB, free: 6.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/0.262, allocations: 49.66 kB / 432.1 MB, free: 5.977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2622, allocations: 330.8 kB / 432.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.2623, allocations: 67.97 kB / 432.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.2626, allocations: 130.8 kB / 432.6 MB, free: 5.426 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.263, allocations: 204.4 kB / 432.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.263, allocations: 4 kB / 432.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000907/0.2639, allocations: 351.8 kB / 433.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2639, allocations: 8 kB / 433.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2639, allocations: 0 / 433.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003634/0.2643, allocations: 80.86 kB / 433.3 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.2645, allocations: 51.91 kB / 433.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/0.2675, allocations: 1.879 MB / 435.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.2677, allocations: 31.88 kB / 435.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.2678, allocations: 12 kB / 435.2 MB, free: 2.676 MB / 334.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.0001606/0.2679, allocations: 141.7 kB / 435.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.268, allocations: 15.91 kB / 435.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.647e-05/0.268, allocations: 29.8 kB / 435.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.268, allocations: 0 / 435.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.268, allocations: 0 / 435.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2681, allocations: 3.938 kB / 435.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.2692, allocations: 0.5641 MB / 436 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2693, allocations: 4 kB / 436 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.2694, allocations: 39.92 kB / 436 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000313/0.2697, allocations: 68.8 kB / 436.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.2697, allocations: 11.94 kB / 436.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002695/0.2724, allocations: 1.783 MB / 437.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2724, allocations: 0 / 437.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.2735, allocations: 463.9 kB / 438.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.2736, allocations: 27.94 kB / 438.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.2736, allocations: 0 / 438.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.2738, allocations: 23.98 kB / 438.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.2738, allocations: 11.97 kB / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.2739, allocations: 4 kB / 438.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.274, allocations: 152.6 kB / 438.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.274, allocations: 0 / 438.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004865/0.2745, allocations: 75.84 kB / 438.6 MB, free: 15.11 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.0001535/0.2747, allocations: 115.2 kB / 438.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.2757, allocations: 354.5 kB / 439.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2757, allocations: 0 / 439.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.2761, allocations: 210.8 kB / 439.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.2764, allocations: 36.05 kB / 439.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.279, allocations: 0.898 MB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.2792, allocations: 138.1 kB / 440.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.2793, allocations: 23.44 kB / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2793, allocations: 0 / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of Templates: time 0.007167/0.2864, allocations: 3.768 MB / 444.2 MB, free: 9.496 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.300233770161867]