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.001541/0.001541, allocations: 107 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001868/0.001868, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 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.425/1.425, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001558/0.001558, allocations: 55.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2663, allocations: 53.37 MB / 432.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004098/0.2704, allocations: 2.524 MB / 434.9 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.2716, allocations: 0.67 MB / 435.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.2718, allocations: 15.88 kB / 435.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.2719, allocations: 47.56 kB / 435.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.2721, allocations: 87.25 kB / 435.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.2724, allocations: 91.81 kB / 435.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.2728, allocations: 338.5 kB / 436.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.273, allocations: 80.94 kB / 436.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002861/0.2733, allocations: 147.5 kB / 436.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.2735, allocations: 139.4 kB / 436.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.2736, allocations: 28 kB / 436.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.243e-05/0.2736, allocations: 28 kB / 436.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.2737, allocations: 59.77 kB / 436.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.2738, allocations: 119.5 kB / 436.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.2742, allocations: 322.4 kB / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2742, allocations: 0 / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2742, allocations: 0 / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.2742, allocations: 0 / 437 MB, free: 2.023 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.00102/0.2752, allocations: 0.5235 MB / 437.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2753, allocations: 12.03 kB / 437.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.914e-05/0.2753, allocations: 28.75 kB / 437.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.2757, allocations: 214.1 kB / 437.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.2757, allocations: 16.88 kB / 437.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/0.2758, allocations: 24.38 kB / 437.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005979/0.2764, allocations: 360.1 kB / 438.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.2764, allocations: 0 / 438.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.2764, allocations: 12 kB / 438.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.2764, allocations: 4 kB / 438.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004769/0.2769, allocations: 209.8 kB / 438.4 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.2785, allocations: 0.8639 MB / 439.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005008/0.279, allocations: 178.5 kB / 439.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004182/0.2794, allocations: 148.7 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2794, allocations: 320 / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2795, allocations: 34.56 kB / 439.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.002e-06/0.2795, allocations: 0 / 439.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001777/0.2812, allocations: 493.9 kB / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.2813, allocations: 63.34 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.2815, allocations: 226.6 kB / 440.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.2815, allocations: 29.7 kB / 440.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.2817, allocations: 180.1 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.296e-05/0.2817, allocations: 67.42 kB / 440.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.986e-05/0.2818, allocations: 45.7 kB / 440.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.282, allocations: 326.8 kB / 441 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.2821, allocations: 71.95 kB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.2824, allocations: 131.6 kB / 441.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.2828, allocations: 212.9 kB / 441.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2828, allocations: 0 / 441.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000876/0.2837, allocations: 357.1 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.2837, allocations: 4 kB / 441.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.2837, allocations: 4 kB / 441.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003688/0.2841, allocations: 80.8 kB / 441.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.2843, allocations: 47.98 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.2872, allocations: 1.867 MB / 443.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.2874, allocations: 31.83 kB / 443.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.2874, allocations: 12 kB / 443.8 MB, free: 10.84 MB / 350.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.0001365/0.2875, allocations: 137.7 kB / 444 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.2876, allocations: 19.86 kB / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.2876, allocations: 25.8 kB / 444 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2877, allocations: 4 kB / 444 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.2877, allocations: 3.938 kB / 444 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2877, allocations: 128 / 444 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.2888, allocations: 0.5676 MB / 444.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2888, allocations: 0 / 444.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.289, allocations: 35.97 kB / 444.6 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002708/0.2892, allocations: 68.81 kB / 444.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.2893, allocations: 15.92 kB / 444.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002484/0.2917, allocations: 1.786 MB / 446.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2917, allocations: 0 / 446.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000977/0.2927, allocations: 459.9 kB / 446.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.2928, allocations: 23.88 kB / 447 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.2928, allocations: 4 kB / 447 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.293, allocations: 19.98 kB / 447 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.293, allocations: 12.09 kB / 447 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.293, allocations: 8 kB / 447 MB, free: 7.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.2932, allocations: 156.5 kB / 447.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2932, allocations: 4 kB / 447.2 MB, free: 7.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004602/0.2937, allocations: 75.95 kB / 447.2 MB, free: 7.266 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.0001362/0.2938, allocations: 101.8 kB / 447.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009729/0.2948, allocations: 365.3 kB / 447.7 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2948, allocations: 3.938 kB / 447.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.2951, allocations: 206.9 kB / 447.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.2955, allocations: 43.86 kB / 447.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.2981, allocations: 0.8547 MB / 448.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.2983, allocations: 154 kB / 449 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.781e-05/0.2983, allocations: 17.94 kB / 449 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.2984, allocations: 19.44 kB / 449 MB, free: 5.441 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2984, allocations: 4 kB / 449 MB, free: 5.438 MB / 350.1 MB Notification: Performance of Templates: time 0.006984/0.3054, allocations: 3.024 MB / 452 MB, free: 2.457 MB / 350.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/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.487136123992968]