Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 180.7 kB / 17.02 MB, free: 5.117 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.001/2.001, allocations: 205.4 MB / 223.1 MB, free: 9.043 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.001046/0.001046, allocations: 88.17 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003234, allocations: 8 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4248, allocations: 47.57 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.5522, allocations: 77.73 MB / 453.6 MB, free: 2.945 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/0.5526, allocations: 79.95 kB / 453.6 MB, free: 2.867 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01217/0.5648, allocations: 4.127 MB / 457.8 MB, free: 14.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.5649, allocations: 0 / 457.8 MB, free: 14.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.5649, allocations: 4 kB / 457.8 MB, free: 14.73 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008284/0.5657, allocations: 0.5145 MB / 458.3 MB, free: 14.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.5658, allocations: 12.03 kB / 458.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.5659, allocations: 23.72 kB / 458.3 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.5662, allocations: 255.7 kB / 458.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.5663, allocations: 16.91 kB / 458.6 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.5663, allocations: 27.95 kB / 458.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.5668, allocations: 216.9 kB / 458.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.5668, allocations: 4 kB / 458.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.5669, allocations: 4 kB / 458.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.5669, allocations: 8 kB / 458.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004312/0.5673, allocations: 198.1 kB / 459 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.569, allocations: 0.9786 MB / 460 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/0.5697, allocations: 222.7 kB / 460.2 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.5697, allocations: 0 / 460.2 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.5697, allocations: 46.45 kB / 460.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.5698, allocations: 3.938 kB / 460.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001804/0.5716, allocations: 0.5891 MB / 460.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.5716, allocations: 51.41 kB / 460.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.5719, allocations: 206.2 kB / 461.1 MB, free: 11.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.5719, allocations: 25.7 kB / 461.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.5721, allocations: 167.8 kB / 461.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.5721, allocations: 55.25 kB / 461.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.5722, allocations: 4 kB / 461.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5723, allocations: 334.8 kB / 461.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.5725, allocations: 67.97 kB / 461.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.5727, allocations: 116.4 kB / 461.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.5729, allocations: 76.44 kB / 461.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.5729, allocations: 0 / 461.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007783/0.5737, allocations: 346 kB / 462.3 MB, free: 9.926 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002862/0.574, allocations: 0.62 MB / 462.9 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.574, allocations: 0 / 462.9 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003936/0.5744, allocations: 84.8 kB / 463 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.5746, allocations: 39.92 kB / 463 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000988/0.5756, allocations: 0.7006 MB / 463.7 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.5758, allocations: 35.75 kB / 463.8 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.5758, allocations: 8 kB / 463.8 MB, free: 8.363 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.5758, allocations: 4 kB / 463.8 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003144/0.5761, allocations: 168.6 kB / 463.9 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.5761, allocations: 4.25 kB / 463.9 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.126e-05/0.5762, allocations: 24.84 kB / 464 MB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.5764, allocations: 51.91 kB / 464 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.5775, allocations: 1.311 MB / 465.3 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.5776, allocations: 15.88 kB / 465.3 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.5776, allocations: 12 kB / 465.3 MB, free: 6.633 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 (21): * Single equations (assignments): 20 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002265/0.5779, allocations: 213 kB / 465.6 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.5779, allocations: 15.81 kB / 465.6 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.578, allocations: 25.52 kB / 465.6 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.578, allocations: 4 kB / 465.6 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.578, allocations: 4.062 kB / 465.6 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.578, allocations: 8 kB / 465.6 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.5784, allocations: 293.3 kB / 465.9 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5784, allocations: 3.938 kB / 465.9 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.5785, allocations: 19.98 kB / 465.9 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002747/0.5788, allocations: 80.8 kB / 466 MB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.5788, allocations: 4 kB / 466 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002371/0.5812, allocations: 1.781 MB / 467.8 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5812, allocations: 0 / 467.8 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009005/0.5821, allocations: 463.7 kB / 468.2 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-05/0.5822, allocations: 100.9 kB / 468.3 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.5822, allocations: 7.953 kB / 468.3 MB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.5824, allocations: 28.17 kB / 468.4 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.5825, allocations: 15.92 kB / 468.4 MB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.5825, allocations: 8 kB / 468.4 MB, free: 3.359 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.5827, allocations: 156.6 kB / 468.5 MB, free: 3.207 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5827, allocations: 0 / 468.5 MB, free: 3.207 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005146/0.5832, allocations: 115.7 kB / 468.7 MB, free: 3.094 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 10 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001914/0.5834, allocations: 103.2 kB / 468.8 MB, free: 2.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.5845, allocations: 450.9 kB / 469.2 MB, free: 2.527 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5845, allocations: 128 / 469.2 MB, free: 2.527 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.5849, allocations: 214.4 kB / 469.4 MB, free: 2.305 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.5853, allocations: 29.17 kB / 469.4 MB, free: 2.273 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.5864, allocations: 0.582 MB / 470 MB, free: 1.664 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.5868, allocations: 0.7523 MB / 470.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.5869, allocations: 21.89 kB / 470.8 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.5869, allocations: 19.44 kB / 470.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of SimCode: time 4.6e-07/0.587, allocations: 0 / 470.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of Templates: time 0.007258/0.5942, allocations: 2.584 MB / 473.4 MB, free: 14.28 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,c.v,opAmp.out.v,opAmp.out.i Variables in the result:C,R,R1,R2,Vns,Vps,c.C,c.v,f,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.homotopyType,opAmp.out.i,opAmp.out.v,opAmp.simplifiedExpr,opAmp.strict,opAmp.useSupply,opAmp.vns,opAmp.vps,r.R,r.T,r.T_heatPort,r.T_ref,r.alpha,r1.R,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r2.R,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,time,vOut.v