Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001624/0.001624, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001768/0.001768, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 68.03 kB / 378.8 MB, free: 2.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2518, allocations: 53.37 MB / 432.2 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004244/0.2561, allocations: 2.741 MB / 434.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.2575, allocations: 0.705 MB / 435.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.2577, allocations: 7.938 kB / 435.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.2579, allocations: 43.58 kB / 435.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.2581, allocations: 95.23 kB / 435.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.2583, allocations: 87.83 kB / 435.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004203/0.2588, allocations: 338.5 kB / 436.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.259, allocations: 85.97 kB / 436.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000321/0.2593, allocations: 135.6 kB / 436.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.2595, allocations: 143.3 kB / 436.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.925e-05/0.2596, allocations: 31.94 kB / 436.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.891e-05/0.2596, allocations: 24 kB / 436.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.538e-05/0.2597, allocations: 67.75 kB / 436.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.2598, allocations: 151.3 kB / 436.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.2602, allocations: 316.3 kB / 437.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2602, allocations: 0 / 437.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2602, allocations: 0 / 437.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.2603, allocations: 0 / 437.1 MB, free: 2.129 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.001047/0.2613, allocations: 0.517 MB / 437.6 MB, free: 1.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2613, allocations: 8.031 kB / 437.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.489e-05/0.2614, allocations: 36.73 kB / 437.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.2618, allocations: 210.1 kB / 437.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.2618, allocations: 12.88 kB / 437.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.2619, allocations: 28.38 kB / 437.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.2625, allocations: 283 kB / 438.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2625, allocations: 0 / 438.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.2625, allocations: 8 kB / 438.2 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.2625, allocations: 11.98 kB / 438.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004829/0.263, allocations: 201.9 kB / 438.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.2647, allocations: 0.9724 MB / 439.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005229/0.2652, allocations: 178.5 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/0.2657, allocations: 147.3 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.2657, allocations: 4 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.2657, allocations: 34.86 kB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.2657, allocations: 0 / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001813/0.2675, allocations: 497.8 kB / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.2676, allocations: 51.41 kB / 440.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.2678, allocations: 233 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.2679, allocations: 29.7 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.268, allocations: 188.1 kB / 440.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.932e-05/0.2681, allocations: 67.52 kB / 440.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/0.2681, allocations: 41.67 kB / 440.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.2683, allocations: 334.8 kB / 441.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.2685, allocations: 67.95 kB / 441.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.2687, allocations: 139.5 kB / 441.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/0.2692, allocations: 202.2 kB / 441.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2692, allocations: 0 / 441.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009264/0.2701, allocations: 362 kB / 441.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2701, allocations: 8 kB / 441.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2701, allocations: 0 / 441.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/0.2705, allocations: 88.8 kB / 442 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.2707, allocations: 39.98 kB / 442 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/0.2738, allocations: 1.902 MB / 443.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.274, allocations: 31.78 kB / 444 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.274, allocations: 8 kB / 444 MB, free: 10.87 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.0001611/0.2742, allocations: 141.8 kB / 444.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.2742, allocations: 27.84 kB / 444.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.2743, allocations: 26.12 kB / 444.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2743, allocations: 0 / 444.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2743, allocations: 0 / 444.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2743, allocations: 7.922 kB / 444.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.2755, allocations: 0.6256 MB / 444.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.2755, allocations: 4.125 kB / 444.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.2757, allocations: 35.98 kB / 444.8 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003013/0.276, allocations: 72.8 kB / 444.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.276, allocations: 4 kB / 444.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002644/0.2787, allocations: 1.82 MB / 446.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2787, allocations: 0 / 446.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.2797, allocations: 455.9 kB / 447.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.2798, allocations: 23.83 kB / 447.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.2798, allocations: 4 kB / 447.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.28, allocations: 20.05 kB / 447.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.2801, allocations: 19.91 kB / 447.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.2801, allocations: 4 kB / 447.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.2802, allocations: 176.4 kB / 447.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2802, allocations: 0 / 447.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000456/0.2807, allocations: 71.89 kB / 447.5 MB, free: 7.164 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.0001425/0.2808, allocations: 99.25 kB / 447.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009749/0.2818, allocations: 362.4 kB / 447.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2818, allocations: 0 / 447.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.2821, allocations: 210.9 kB / 448.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.2825, allocations: 51.92 kB / 448.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.2852, allocations: 0.8701 MB / 449.1 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.2857, allocations: 0.7558 MB / 449.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.011e-05/0.2857, allocations: 17.94 kB / 449.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.2858, allocations: 23.44 kB / 449.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2858, allocations: 0 / 449.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of Templates: time 0.007722/0.2935, allocations: 3.096 MB / 452.9 MB, free: 1.633 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.683035766705871]