Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 175.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.3 MB / 241.4 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009133/0.0009134, allocations: 96.31 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003423, allocations: 15.94 kB / 352.4 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.283, allocations: 50.4 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.4028, allocations: 78.99 MB / 481.7 MB, free: 1.352 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.4032, allocations: 79.95 kB / 481.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0114/0.4146, allocations: 4.284 MB / 486.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4147, allocations: 0 / 486.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.243e-05/0.4147, allocations: 7.984 kB / 486.1 MB, free: 12.97 MB / 362.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.0008199/0.4155, allocations: 0.5147 MB / 486.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.4156, allocations: 8.031 kB / 486.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.35e-05/0.4157, allocations: 28.66 kB / 486.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.416, allocations: 252.3 kB / 486.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.4161, allocations: 28.86 kB / 486.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.4161, allocations: 20.38 kB / 487 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.4166, allocations: 225.5 kB / 487.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.4166, allocations: 192 / 487.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.4166, allocations: 11.94 kB / 487.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.4166, allocations: 4 kB / 487.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.4171, allocations: 198.1 kB / 487.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.4187, allocations: 0.9622 MB / 488.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/0.4193, allocations: 230.6 kB / 488.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.4196, allocations: 120.8 kB / 488.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.4196, allocations: 4 kB / 488.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.4197, allocations: 46.48 kB / 488.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.4197, allocations: 0 / 488.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001783/0.4215, allocations: 0.62 MB / 489.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.4215, allocations: 59.34 kB / 489.4 MB, free: 9.426 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.4218, allocations: 219.1 kB / 489.6 MB, free: 9.203 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.4218, allocations: 33.7 kB / 489.7 MB, free: 9.164 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.996e-05/0.4219, allocations: 167.8 kB / 489.8 MB, free: 8.996 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.422, allocations: 51.2 kB / 489.9 MB, free: 8.945 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.422, allocations: 8 kB / 489.9 MB, free: 8.938 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.4221, allocations: 330.8 kB / 490.2 MB, free: 8.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.4223, allocations: 63.97 kB / 490.3 MB, free: 8.543 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.4224, allocations: 121.9 kB / 490.4 MB, free: 8.402 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.4228, allocations: 185.7 kB / 490.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4228, allocations: 0 / 490.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008414/0.4236, allocations: 358.4 kB / 490.9 MB, free: 7.844 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.835e-05/0.4237, allocations: 138.1 kB / 491.1 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4238, allocations: 0 / 491.1 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003739/0.4241, allocations: 100.8 kB / 491.2 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.4243, allocations: 31.98 kB / 491.2 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003032/0.4273, allocations: 1.955 MB / 493.1 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.4276, allocations: 27.8 kB / 493.2 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.4276, allocations: 12 kB / 493.2 MB, free: 5.426 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.4276, allocations: 4 kB / 493.2 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003275/0.4279, allocations: 171.3 kB / 493.4 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.428, allocations: 4.25 kB / 493.4 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.167e-05/0.428, allocations: 28.78 kB / 493.4 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.4282, allocations: 39.98 kB / 493.4 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.4293, allocations: 1.308 MB / 494.7 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.4295, allocations: 19.88 kB / 494.8 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.4295, allocations: 4 kB / 494.8 MB, free: 3.711 MB / 362.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 (20): * Single equations (assignments): 19 * 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.0002651/0.4298, allocations: 220.9 kB / 495 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.4298, allocations: 19.72 kB / 495 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.4299, allocations: 25.52 kB / 495 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4299, allocations: 8 kB / 495 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/0.4299, allocations: 4.141 kB / 495 MB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4299, allocations: 3.984 kB / 495 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.4311, allocations: 0.6405 MB / 495.7 MB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.4311, allocations: 7.984 kB / 495.7 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.4312, allocations: 23.94 kB / 495.7 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002819/0.4315, allocations: 88.78 kB / 495.8 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.4315, allocations: 4 kB / 495.8 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002711/0.4342, allocations: 1.939 MB / 497.7 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4343, allocations: 0 / 497.7 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008781/0.4351, allocations: 459.4 kB / 498.2 MB, free: 68 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.4353, allocations: 100.8 kB / 498.3 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.4353, allocations: 7.984 kB / 498.3 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.4355, allocations: 24.05 kB / 498.3 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.4355, allocations: 11.98 kB / 498.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.4355, allocations: 7.938 kB / 498.3 MB, free: 15.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001699/0.4357, allocations: 156.6 kB / 498.5 MB, free: 15.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4357, allocations: 4 kB / 498.5 MB, free: 15.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006279/0.4364, allocations: 123.7 kB / 498.6 MB, free: 15.62 MB / 378.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 (10): * Single equations (assignments): 9 * 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.0001932/0.4366, allocations: 111.2 kB / 498.7 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.4378, allocations: 0.5636 MB / 499.3 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4378, allocations: 0 / 499.3 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.4383, allocations: 282.9 kB / 499.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.4388, allocations: 39.84 kB / 499.6 MB, free: 14.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.4411, allocations: 0.9332 MB / 0.4888 GB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.4414, allocations: 0.7446 MB / 0.4895 GB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001486/0.4416, allocations: 25.94 kB / 0.4896 GB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.4416, allocations: 15.44 kB / 0.4896 GB, free: 12.8 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4417, allocations: 0 / 0.4896 GB, free: 12.8 MB / 378.7 MB Notification: Performance of Templates: time 0.00679/0.4484, allocations: 2.853 MB / 0.4924 GB, free: 9.973 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","../files/Modelica_4.0.0_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