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.001383/0.001383, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001406/0.001406, allocations: 194.8 kB / 23.71 MB, free: 4.406 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.562/1.562, allocations: 225.7 MB / 252.5 MB, free: 12.79 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.001605/0.001605, allocations: 56.05 kB / 370.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2559, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004173/0.2601, allocations: 2.518 MB / 425.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.2614, allocations: 0.6427 MB / 426.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.2616, allocations: 8 kB / 426.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.2618, allocations: 51.5 kB / 426.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.262, allocations: 91.25 kB / 426.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.2623, allocations: 87.83 kB / 426.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.2627, allocations: 338.5 kB / 426.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.2629, allocations: 80.52 kB / 426.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.2631, allocations: 131.5 kB / 427 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.2633, allocations: 119.4 kB / 427.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.2634, allocations: 28 kB / 427.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.53e-05/0.2634, allocations: 28 kB / 427.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.2635, allocations: 63.77 kB / 427.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.2636, allocations: 123.4 kB / 427.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.264, allocations: 318.4 kB / 427.7 MB, free: 9.852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.264, allocations: 0 / 427.7 MB, free: 9.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.264, allocations: 0 / 427.7 MB, free: 9.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.264, allocations: 0 / 427.7 MB, free: 9.852 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.001117/0.2651, allocations: 0.517 MB / 428.2 MB, free: 9.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2652, allocations: 11.97 kB / 428.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.2653, allocations: 32.75 kB / 428.3 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/0.2657, allocations: 210 kB / 428.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.2657, allocations: 16.88 kB / 428.5 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.2658, allocations: 28.36 kB / 428.5 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/0.2664, allocations: 356.2 kB / 428.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.2664, allocations: 0 / 428.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.571e-05/0.2665, allocations: 12 kB / 428.9 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.2665, allocations: 4 kB / 428.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004716/0.2669, allocations: 209.8 kB / 429.1 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.2685, allocations: 0.8601 MB / 429.9 MB, free: 7.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.269, allocations: 185.2 kB / 430.1 MB, free: 7.281 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004312/0.2694, allocations: 140.8 kB / 430.3 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.2694, allocations: 0 / 430.3 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.2695, allocations: 38.56 kB / 430.3 MB, free: 7.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.142e-06/0.2695, allocations: 4 kB / 430.3 MB, free: 7.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001781/0.2713, allocations: 486.2 kB / 430.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.2713, allocations: 59.34 kB / 430.8 MB, free: 6.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.2715, allocations: 222.9 kB / 431 MB, free: 6.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.2716, allocations: 29.64 kB / 431.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.2717, allocations: 180.1 kB / 431.3 MB, free: 6.094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.2717, allocations: 71.39 kB / 431.3 MB, free: 6.023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.2718, allocations: 49.66 kB / 431.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.272, allocations: 330.8 kB / 431.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.2722, allocations: 71.95 kB / 431.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.2724, allocations: 126.8 kB / 431.9 MB, free: 5.418 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.2728, allocations: 213 kB / 432.1 MB, free: 5.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2728, allocations: 3.938 kB / 432.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008954/0.2737, allocations: 346.9 kB / 432.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.2737, allocations: 4 kB / 432.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.2737, allocations: 8 kB / 432.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003792/0.2741, allocations: 80.86 kB / 432.5 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.2743, allocations: 47.92 kB / 432.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003122/0.2774, allocations: 1.871 MB / 434.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.2776, allocations: 31.88 kB / 434.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.2776, allocations: 11.98 kB / 434.5 MB, free: 2.672 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.0001615/0.2778, allocations: 141.7 kB / 434.6 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.2778, allocations: 15.91 kB / 434.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.099e-05/0.2779, allocations: 21.81 kB / 434.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.2779, allocations: 7.984 kB / 434.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2779, allocations: 0 / 434.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2779, allocations: 4.062 kB / 434.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.279, allocations: 0.5643 MB / 435.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.279, allocations: 128 / 435.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.2792, allocations: 35.92 kB / 435.3 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002752/0.2795, allocations: 80.8 kB / 435.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.2795, allocations: 3.938 kB / 435.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/0.282, allocations: 1.778 MB / 437.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.282, allocations: 4.031 kB / 437.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009558/0.2829, allocations: 463.9 kB / 437.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.283, allocations: 19.92 kB / 437.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.283, allocations: 4 kB / 437.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.2832, allocations: 19.98 kB / 437.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.2832, allocations: 11.97 kB / 437.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.2832, allocations: 8 kB / 437.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001654/0.2834, allocations: 156.7 kB / 437.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2834, allocations: 0 / 437.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004433/0.2838, allocations: 75.84 kB / 437.9 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.0001405/0.284, allocations: 101.3 kB / 438 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009598/0.2849, allocations: 370.4 kB / 438.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2849, allocations: 0 / 438.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.2853, allocations: 210.8 kB / 438.6 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.0003796/0.2857, allocations: 50.84 kB / 438.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.2883, allocations: 0.8586 MB / 439.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.2885, allocations: 150.1 kB / 439.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.642e-05/0.2885, allocations: 17.95 kB / 439.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.2886, allocations: 19.44 kB / 439.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2886, allocations: 0 / 439.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of Templates: time 0.007425/0.296, allocations: 2.95 MB / 442.6 MB, free: 10.36 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/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: 4.635130118578672]