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.0007749/0.0007749, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001234/0.002009, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000864/0.000864, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.002046, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9913/0.9913, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09046/1.082, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.254e-06/2.254e-06, allocations: 0 / 244.8 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.123e-05, allocations: 2.312 kB / 244.8 MB, free: 14.17 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003607/0.003638, allocations: 2.751 MB / 247.5 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.004977, allocations: 0.7203 MB / 248.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.005117, allocations: 4 kB / 248.2 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.005226, allocations: 47.45 kB / 248.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.005406, allocations: 95.25 kB / 248.4 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.005592, allocations: 95.73 kB / 248.5 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.005957, allocations: 358.3 kB / 248.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.006109, allocations: 76.02 kB / 248.9 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.006421, allocations: 219.5 kB / 249.1 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.006558, allocations: 103.7 kB / 249.2 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.006593, allocations: 28 kB / 249.2 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.813e-05/0.006631, allocations: 32 kB / 249.3 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.00667, allocations: 43.81 kB / 249.3 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/0.006747, allocations: 83.88 kB / 249.4 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.007038, allocations: 195.2 kB / 249.6 MB, free: 9.324 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.007045, allocations: 0 / 249.6 MB, free: 9.324 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.007046, allocations: 0 / 249.6 MB, free: 9.324 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.007052, allocations: 0 / 249.6 MB, free: 9.324 MB / 250.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.0006726/0.007725, allocations: 0.5426 MB / 250.1 MB, free: 8.758 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.007755, allocations: 8.031 kB / 250.1 MB, free: 8.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.851e-05/0.007824, allocations: 44.84 kB / 250.2 MB, free: 8.707 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.008047, allocations: 177.4 kB / 250.3 MB, free: 8.508 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.008064, allocations: 16.88 kB / 250.4 MB, free: 8.492 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.008102, allocations: 28.38 kB / 250.4 MB, free: 8.465 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.008393, allocations: 305 kB / 250.7 MB, free: 8.137 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.008402, allocations: 192 / 250.7 MB, free: 8.137 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.00842, allocations: 8.375 kB / 250.7 MB, free: 8.129 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.008432, allocations: 11.94 kB / 250.7 MB, free: 8.117 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.008536, allocations: 63.47 kB / 250.8 MB, free: 8.051 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.009567, allocations: 0.7087 MB / 251.5 MB, free: 7.301 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.009786, allocations: 118.5 kB / 251.6 MB, free: 7.176 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.009973, allocations: 104.7 kB / 251.7 MB, free: 7.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.009991, allocations: 4 kB / 251.7 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.01002, allocations: 34.56 kB / 251.7 MB, free: 7.023 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.01002, allocations: 0 / 251.7 MB, free: 7.023 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006166/0.01064, allocations: 268.8 kB / 252 MB, free: 6.754 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.01067, allocations: 67.33 kB / 252.1 MB, free: 6.676 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.01081, allocations: 198.3 kB / 252.3 MB, free: 6.469 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.01083, allocations: 29.7 kB / 252.3 MB, free: 6.434 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.0109, allocations: 172 kB / 252.5 MB, free: 6.262 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.01094, allocations: 67.45 kB / 252.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.024e-05/0.011, allocations: 49.64 kB / 252.6 MB, free: 6.141 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.01109, allocations: 338.7 kB / 252.9 MB, free: 5.801 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.701e-05/0.01112, allocations: 23.98 kB / 252.9 MB, free: 5.777 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.01119, allocations: 78.84 kB / 253 MB, free: 5.676 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.01132, allocations: 126.7 kB / 253.1 MB, free: 5.527 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01132, allocations: 0 / 253.1 MB, free: 5.527 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002929/0.01161, allocations: 201.2 kB / 253.3 MB, free: 5.324 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.01163, allocations: 8 kB / 253.3 MB, free: 5.316 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.01163, allocations: 3.984 kB / 253.3 MB, free: 5.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.01189, allocations: 68.97 kB / 253.4 MB, free: 5.242 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.01208, allocations: 74.64 kB / 253.5 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.01343, allocations: 1.481 MB / 255 MB, free: 3.602 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.01354, allocations: 31.77 kB / 255 MB, free: 3.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.01355, allocations: 11.94 kB / 255 MB, free: 3.559 MB / 250.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.205e-05/0.01364, allocations: 117.8 kB / 255.1 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.01367, allocations: 15.98 kB / 255.1 MB, free: 3.418 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.0137, allocations: 29.8 kB / 255.2 MB, free: 3.391 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.0137, allocations: 3.938 kB / 255.2 MB, free: 3.387 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.01371, allocations: 32 / 255.2 MB, free: 3.387 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01371, allocations: 4 kB / 255.2 MB, free: 3.383 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.01417, allocations: 363.2 kB / 255.5 MB, free: 3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.01418, allocations: 3.938 kB / 255.5 MB, free: 2.996 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.01432, allocations: 43.97 kB / 255.6 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.01434, allocations: 19.91 kB / 255.6 MB, free: 2.934 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001774/0.01452, allocations: 68.73 kB / 255.7 MB, free: 2.863 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.01452, allocations: 4 kB / 255.7 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008586/0.01538, allocations: 1.438 MB / 257.1 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01538, allocations: 0 / 257.1 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.01561, allocations: 273.6 kB / 257.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.01562, allocations: 8 kB / 257.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.0157, allocations: 15.98 kB / 257.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.01572, allocations: 15.91 kB / 257.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.01573, allocations: 4 kB / 257.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.802e-05/0.01578, allocations: 61.97 kB / 257.5 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01578, allocations: 4.031 kB / 257.5 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002443/0.01602, allocations: 75.83 kB / 257.5 MB, free: 0.8672 MB / 250.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.0001042/0.01613, allocations: 84.41 kB / 257.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.01644, allocations: 274.7 kB / 257.9 MB, free: 0.5 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.01645, allocations: 7.984 kB / 257.9 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.01657, allocations: 183.3 kB / 258.1 MB, free: 304 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.01689, allocations: 355.2 kB / 258.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.01912, allocations: 0.6466 MB / 259.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.767e-05/0.01917, allocations: 84.31 kB / 259.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.405e-05/0.01922, allocations: 17.95 kB / 259.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.861e-05/0.01932, allocations: 99.33 kB / 259.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01932, allocations: 4 kB / 259.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of Templates: time 0.00515/0.02447, allocations: 3.262 MB / 262.5 MB, free: 11.78 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5541256004944444]