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.0009222/0.0009222, allocations: 87.67 kB / 21.19 MB, free: 3.367 MB / 18.57 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.0009515/0.0009515, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 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 0.9397/0.9397, allocations: 177 MB / 204.8 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,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 1.403e-06/1.403e-06, allocations: 0 / 273 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.922e-05, allocations: 5.266 kB / 273 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.006238/0.006257, allocations: 2.747 MB / 275.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.007266, allocations: 0.6582 MB / 276.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.00739, allocations: 12 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003161/0.01055, allocations: 51.5 kB / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.01074, allocations: 91.12 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.01093, allocations: 75.89 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005769/0.0115, allocations: 358.1 kB / 277 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.01168, allocations: 82.03 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.01201, allocations: 203.5 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.01216, allocations: 99.69 kB / 277.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.0122, allocations: 28 kB / 277.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.926e-05/0.01224, allocations: 28 kB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/0.01229, allocations: 67.73 kB / 277.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.982e-05/0.01239, allocations: 107.7 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.01264, allocations: 215.2 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.01264, allocations: 0 / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01264, allocations: 0 / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.01265, allocations: 0 / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.003721/0.01637, allocations: 0.6091 MB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.0164, allocations: 11.98 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.785e-05/0.01649, allocations: 52.75 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.01677, allocations: 224.9 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.01679, allocations: 21.03 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.01683, allocations: 24.38 kB / 278.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.01715, allocations: 285.5 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.01716, allocations: 192 / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.01719, allocations: 12.38 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.0172, allocations: 7.938 kB / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.01739, allocations: 111.8 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.01848, allocations: 0.8291 MB / 279.9 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.01874, allocations: 142.8 kB / 280.1 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.01896, allocations: 119.6 kB / 280.2 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.01898, allocations: 4 kB / 280.2 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.01901, allocations: 41.33 kB / 280.2 MB, free: 9.773 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.01901, allocations: 4 kB / 280.2 MB, free: 9.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.006726/0.02574, allocations: 293.3 kB / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.02576, allocations: 51.41 kB / 280.6 MB, free: 9.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.02594, allocations: 269.5 kB / 280.8 MB, free: 9.129 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.02596, allocations: 29.7 kB / 280.9 MB, free: 9.094 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.02605, allocations: 223.3 kB / 281.1 MB, free: 8.871 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/0.0261, allocations: 83.3 kB / 281.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.02616, allocations: 51.36 kB / 281.2 MB, free: 8.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.02629, allocations: 0.504 MB / 281.7 MB, free: 8.215 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/0.02635, allocations: 31.97 kB / 281.8 MB, free: 8.184 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.02646, allocations: 109.8 kB / 281.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.02663, allocations: 157.7 kB / 282 MB, free: 7.863 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.02663, allocations: 0 / 282 MB, free: 7.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003617/0.02699, allocations: 249 kB / 282.3 MB, free: 7.609 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.02701, allocations: 8 kB / 282.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.02701, allocations: 0 / 282.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003141/0.02733, allocations: 83.61 kB / 282.3 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.02747, allocations: 55.94 kB / 282.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00747/0.03494, allocations: 2.218 MB / 284.6 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.03505, allocations: 27.78 kB / 284.6 MB, free: 5.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.03506, allocations: 16.03 kB / 284.7 MB, free: 5.066 MB / 266.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: 2 (opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 9.463e-05/0.03515, allocations: 172.5 kB / 284.8 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.03521, allocations: 31.8 kB / 284.9 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.03524, allocations: 25.81 kB / 284.9 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.03524, allocations: 4 kB / 284.9 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.03524, allocations: 256 / 284.9 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.03524, allocations: 3.984 kB / 284.9 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/0.03583, allocations: 0.5358 MB / 285.4 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.03583, allocations: 0 / 285.4 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.03595, allocations: 35.97 kB / 285.5 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002329/0.03618, allocations: 71.61 kB / 285.5 MB, free: 4.133 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.03619, allocations: 8 kB / 285.5 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007229/0.04342, allocations: 2.213 MB / 287.8 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.04342, allocations: 0 / 287.8 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.04379, allocations: 386.3 kB / 288.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.361e-05/0.04381, allocations: 19.83 kB / 288.2 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.04383, allocations: 8 kB / 288.2 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.04395, allocations: 19.98 kB / 288.2 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.04399, allocations: 15.92 kB / 288.2 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.044, allocations: 8 kB / 288.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.98e-05/0.0441, allocations: 184.5 kB / 288.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0441, allocations: 0 / 288.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003854/0.04449, allocations: 79.92 kB / 288.5 MB, free: 1.059 MB / 266.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: 2 (opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 8.981e-05/0.04458, allocations: 107.2 kB / 288.6 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003661/0.04494, allocations: 324.3 kB / 288.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.04495, allocations: 0 / 288.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.04513, allocations: 257.7 kB / 289.1 MB, free: 344 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.04543, allocations: 39.91 kB / 289.2 MB, free: 304 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1077/0.1531, allocations: 0.5171 MB / 289.7 MB, free: 25.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.894e-05/0.1531, allocations: 87.91 kB / 289.8 MB, free: 25.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.742e-05/0.1532, allocations: 20.73 kB / 289.8 MB, free: 25.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.1533, allocations: 19.94 kB / 289.8 MB, free: 25.31 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1533, allocations: 0.5938 kB / 289.8 MB, free: 25.31 MB / 266.7 MB Notification: Performance of Templates: time 0.005154/0.1584, allocations: 3.091 MB / 292.9 MB, free: 25.13 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7415094999596477]