Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 180.4 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009545/0.0009545, allocations: 96.08 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003098, allocations: 8 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3263, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1158/0.4421, allocations: 77.85 MB / 453.7 MB, free: 2.812 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.4425, allocations: 87.94 kB / 453.8 MB, free: 2.727 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0122/0.4547, allocations: 4.411 MB / 458.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4547, allocations: 3.938 kB / 458.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.375e-05/0.4548, allocations: 4 kB / 458.2 MB, free: 14.3 MB / 346.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.0009409/0.4557, allocations: 0.5422 MB / 458.7 MB, free: 13.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.4558, allocations: 8.031 kB / 458.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.4559, allocations: 31.62 kB / 458.8 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.4563, allocations: 260.5 kB / 459 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.4563, allocations: 20.56 kB / 459 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.4564, allocations: 27.91 kB / 459.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000506/0.4569, allocations: 240.9 kB / 459.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.4569, allocations: 0 / 459.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.457, allocations: 8 kB / 459.3 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.457, allocations: 11.94 kB / 459.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004751/0.4575, allocations: 222.1 kB / 459.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.4591, allocations: 0.9485 MB / 460.5 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/0.4596, allocations: 202.4 kB / 460.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.4597, allocations: 4 kB / 460.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.4597, allocations: 30.56 kB / 460.7 MB, free: 11.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.883e-06/0.4597, allocations: 0 / 460.7 MB, free: 11.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001327/0.461, allocations: 0.5423 MB / 461.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.4611, allocations: 55.41 kB / 461.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.4613, allocations: 200.7 kB / 461.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.4614, allocations: 29.7 kB / 461.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.4615, allocations: 175.9 kB / 461.7 MB, free: 10.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.76e-05/0.4616, allocations: 63.11 kB / 461.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.4616, allocations: 4 kB / 461.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.4617, allocations: 330.8 kB / 462.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.4619, allocations: 72.47 kB / 462.2 MB, free: 10.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.4621, allocations: 121.9 kB / 462.3 MB, free: 9.918 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.4622, allocations: 78.42 kB / 462.4 MB, free: 9.844 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.4623, allocations: 4 kB / 462.4 MB, free: 9.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006816/0.4629, allocations: 338 kB / 462.7 MB, free: 9.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002798/0.4632, allocations: 0.6124 MB / 463.3 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4633, allocations: 4 kB / 463.3 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003512/0.4636, allocations: 76.81 kB / 463.4 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.4638, allocations: 47.91 kB / 463.4 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007516/0.4646, allocations: 0.681 MB / 464.1 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.4648, allocations: 27.78 kB / 464.1 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.4648, allocations: 12.05 kB / 464.1 MB, free: 7.965 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.4648, allocations: 6.188 kB / 464.2 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000351/0.4652, allocations: 216.3 kB / 464.4 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4652, allocations: 7.938 kB / 464.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-05/0.4653, allocations: 32.84 kB / 464.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.4655, allocations: 55.91 kB / 464.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.4669, allocations: 1.534 MB / 466 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.467, allocations: 23.69 kB / 466 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.4671, allocations: 16 kB / 466 MB, free: 5.941 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.4673, allocations: 221 kB / 466.2 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.4673, allocations: 15.81 kB / 466.3 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.279e-05/0.4674, allocations: 29.86 kB / 466.3 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.4674, allocations: 0 / 466.3 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4674, allocations: 384 / 466.3 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4674, allocations: 0 / 466.3 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.4678, allocations: 313.3 kB / 466.6 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4678, allocations: 4 kB / 466.6 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.4679, allocations: 35.92 kB / 466.6 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002166/0.4682, allocations: 72.8 kB / 466.7 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.4682, allocations: 4 kB / 466.7 MB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.4702, allocations: 1.761 MB / 468.5 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4702, allocations: 0 / 468.5 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007574/0.471, allocations: 439.9 kB / 468.9 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.4711, allocations: 109.2 kB / 469 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.4712, allocations: 0 / 469 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.4714, allocations: 28.05 kB / 469 MB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.4714, allocations: 11.98 kB / 469.1 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.4714, allocations: 8 kB / 469.1 MB, free: 2.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001825/0.4716, allocations: 164.5 kB / 469.2 MB, free: 2.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.32e-07/0.4716, allocations: 0 / 469.2 MB, free: 2.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006269/0.4723, allocations: 123.7 kB / 469.3 MB, free: 2.398 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002348/0.4725, allocations: 111.2 kB / 469.4 MB, free: 2.281 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009867/0.4735, allocations: 458.2 kB / 469.9 MB, free: 1.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.4735, allocations: 0 / 469.9 MB, free: 1.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.4738, allocations: 217.8 kB / 470.1 MB, free: 1.598 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.4743, allocations: 35.69 kB / 470.1 MB, free: 1.562 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.4763, allocations: 0.9415 MB / 471.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/0.477, allocations: 0.7563 MB / 471.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.4772, allocations: 21.94 kB / 471.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.4772, allocations: 19.44 kB / 471.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4772, allocations: 7.875 kB / 471.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Templates: time 0.007841/0.4851, allocations: 2.746 MB / 474.6 MB, free: 13.04 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches