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.0009401/0.0009401, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001003/0.001003, allocations: 165 kB / 24.56 MB, free: 16 kB / 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 1.016/1.016, allocations: 177.1 MB / 205 MB, free: 5.289 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 2.174e-06/2.174e-06, allocations: 0 / 273 MB, free: 1.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.18e-05, allocations: 2.312 kB / 273 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003034/0.003066, allocations: 2.723 MB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.004323, allocations: 0.6971 MB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.004451, allocations: 4 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.004596, allocations: 43.56 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.004774, allocations: 99.14 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.005029, allocations: 91.8 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.00531, allocations: 346.4 kB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.005471, allocations: 78.03 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.005739, allocations: 199.5 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.005856, allocations: 107.7 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.005887, allocations: 32 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.969e-05/0.005916, allocations: 24 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.00595, allocations: 59.75 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.289e-05/0.006023, allocations: 111.6 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.006266, allocations: 207.3 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.00627, allocations: 0 / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006271, allocations: 0 / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.006277, allocations: 0 / 277.8 MB, free: 12.53 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.0006388/0.006916, allocations: 0.6091 MB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.00695, allocations: 12.02 kB / 278.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.029e-05/0.007021, allocations: 52.75 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.007233, allocations: 220.1 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.007247, allocations: 16.88 kB / 278.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.007282, allocations: 32.31 kB / 278.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.007585, allocations: 310.8 kB / 279.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.007593, allocations: 192 / 279.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.007612, allocations: 12.38 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.007624, allocations: 11.94 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.007764, allocations: 106.9 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008748/0.008639, allocations: 0.9328 MB / 280.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.008896, allocations: 143 kB / 280.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.00909, allocations: 115.6 kB / 280.4 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.009107, allocations: 0 / 280.4 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.00913, allocations: 45.64 kB / 280.4 MB, free: 9.746 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.052e-06/0.009131, allocations: 0 / 280.4 MB, free: 9.746 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006003/0.009731, allocations: 315.8 kB / 280.7 MB, free: 9.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.009753, allocations: 51.41 kB / 280.8 MB, free: 9.367 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.009896, allocations: 265.6 kB / 281 MB, free: 9.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.009911, allocations: 29.7 kB / 281.1 MB, free: 9.055 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/0.01, allocations: 230.8 kB / 281.3 MB, free: 8.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.01004, allocations: 63.44 kB / 281.4 MB, free: 8.758 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.01009, allocations: 55.36 kB / 281.4 MB, free: 8.695 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.0102, allocations: 0.5039 MB / 281.9 MB, free: 8.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-05/0.01025, allocations: 31.98 kB / 281.9 MB, free: 8.148 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.01033, allocations: 117.4 kB / 282.1 MB, free: 8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.01047, allocations: 161.3 kB / 282.2 MB, free: 7.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01047, allocations: 7.938 kB / 282.2 MB, free: 7.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002948/0.01076, allocations: 247.8 kB / 282.5 MB, free: 7.551 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.01078, allocations: 8 kB / 282.5 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.01078, allocations: 0 / 282.5 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002411/0.01102, allocations: 79.8 kB / 282.6 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.01113, allocations: 55.91 kB / 282.6 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.01227, allocations: 2.164 MB / 284.8 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.01234, allocations: 27.94 kB / 284.8 MB, free: 5.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.01236, allocations: 16 kB / 284.8 MB, free: 5.078 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.234e-05/0.01244, allocations: 168.5 kB / 285 MB, free: 4.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.01247, allocations: 27.8 kB / 285 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.01249, allocations: 21.81 kB / 285 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.01249, allocations: 7.984 kB / 285 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.0125, allocations: 0 / 285 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.0125, allocations: 0 / 285 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.01294, allocations: 0.5164 MB / 285.6 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01295, allocations: 0 / 285.6 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.864e-05/0.01303, allocations: 31.92 kB / 285.6 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/0.0132, allocations: 71.64 kB / 285.7 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.01321, allocations: 0 / 285.7 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009853/0.01419, allocations: 2.13 MB / 287.8 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01419, allocations: 0 / 287.8 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.0145, allocations: 373.8 kB / 288.1 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.01452, allocations: 31.86 kB / 288.2 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.01453, allocations: 7.938 kB / 288.2 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/0.01462, allocations: 19.98 kB / 288.2 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.01464, allocations: 11.97 kB / 288.2 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.01465, allocations: 8 kB / 288.2 MB, free: 1.461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.299e-05/0.01473, allocations: 180.5 kB / 288.4 MB, free: 1.285 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01473, allocations: 0 / 288.4 MB, free: 1.285 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002551/0.01499, allocations: 71.89 kB / 288.5 MB, free: 1.215 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 8.786e-05/0.01507, allocations: 111.2 kB / 288.6 MB, free: 1.098 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000388/0.01546, allocations: 333.4 kB / 288.9 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01546, allocations: 448 / 288.9 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.0156, allocations: 249.3 kB / 289.2 MB, free: 500 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.01583, allocations: 31.98 kB / 289.2 MB, free: 468 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1008/0.1167, allocations: 0.6495 MB / 289.8 MB, free: 25.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.449e-05/0.1167, allocations: 82.31 kB / 289.9 MB, free: 25.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.369e-05/0.1168, allocations: 20.7 kB / 289.9 MB, free: 25.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.1169, allocations: 17.34 kB / 289.9 MB, free: 25.54 MB / 266.7 MB Notification: Performance of SimCode: time 1.422e-06/0.1169, allocations: 3.844 kB / 290 MB, free: 25.54 MB / 266.7 MB Notification: Performance of Templates: time 0.005845/0.1227, allocations: 2.85 MB / 292.8 MB, free: 25.36 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.8667472288943827]