Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001199/0.001199, allocations: 95.11 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001703/0.001703, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002563/0.0002565, allocations: 8 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1252, allocations: 51.5 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003562/0.1288, allocations: 2.092 MB / 360.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1306, allocations: 0.6823 MB / 360.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.1307, allocations: 4 kB / 360.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.077e-05/0.1308, allocations: 27.77 kB / 360.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.1312, allocations: 99.7 kB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.1313, allocations: 67.88 kB / 361.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.1317, allocations: 211.5 kB / 361.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.1319, allocations: 73.25 kB / 361.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.132, allocations: 95.69 kB / 361.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.1322, allocations: 107.5 kB / 361.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.1323, allocations: 16 kB / 361.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.944e-05/0.1323, allocations: 12 kB / 361.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.1323, allocations: 39.83 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.1324, allocations: 69.58 kB / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.1327, allocations: 211.6 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1327, allocations: 0 / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1327, allocations: 3.938 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1327, allocations: 0 / 361.9 MB, free: 10.1 MB / 302.1 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.0009877/0.1337, allocations: 0.5263 MB / 362.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1337, allocations: 8.031 kB / 362.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.442e-05/0.1338, allocations: 23.72 kB / 362.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.1342, allocations: 250.6 kB / 362.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.1342, allocations: 20.52 kB / 362.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.1342, allocations: 27.98 kB / 362.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.1347, allocations: 220.9 kB / 362.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1347, allocations: 3.938 kB / 362.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.1348, allocations: 11.98 kB / 363 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.1348, allocations: 4 kB / 363 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.1352, allocations: 194.2 kB / 363.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.1367, allocations: 0.9124 MB / 364.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/0.1373, allocations: 218.7 kB / 364.3 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.1374, allocations: 7.953 kB / 364.3 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.1374, allocations: 34.56 kB / 364.3 MB, free: 7.473 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.1374, allocations: 0 / 364.3 MB, free: 7.473 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001955/0.1394, allocations: 0.6109 MB / 364.9 MB, free: 6.836 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.1395, allocations: 55.34 kB / 365 MB, free: 6.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.1397, allocations: 231 kB / 365.2 MB, free: 6.527 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.1398, allocations: 33.7 kB / 365.2 MB, free: 6.488 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1399, allocations: 159.9 kB / 365.4 MB, free: 6.328 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.14, allocations: 63.17 kB / 365.5 MB, free: 6.266 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/0.14, allocations: 0 / 365.5 MB, free: 6.266 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1401, allocations: 330.8 kB / 365.8 MB, free: 5.934 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.1403, allocations: 63.97 kB / 365.8 MB, free: 5.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.1405, allocations: 122.9 kB / 366 MB, free: 5.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.1407, allocations: 79.97 kB / 366 MB, free: 5.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1407, allocations: 0 / 366 MB, free: 5.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008999/0.1416, allocations: 350.1 kB / 366.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000253/0.1419, allocations: 0.6122 MB / 367 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.1419, allocations: 4 kB / 367 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/0.1423, allocations: 84.8 kB / 367.1 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.1425, allocations: 39.92 kB / 367.1 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/0.1454, allocations: 1.9 MB / 369 MB, free: 2.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.1456, allocations: 27.78 kB / 369 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.1456, allocations: 8.188 kB / 369.1 MB, free: 2.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.1456, allocations: 4 kB / 369.1 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002891/0.1459, allocations: 175.1 kB / 369.2 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.1459, allocations: 256 / 369.2 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.38e-05/0.146, allocations: 32.83 kB / 369.3 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.1462, allocations: 47.92 kB / 369.3 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009011/0.1471, allocations: 1.308 MB / 370.6 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.1472, allocations: 15.84 kB / 370.6 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1472, allocations: 8 kB / 370.6 MB, free: 0.7109 MB / 302.1 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.0001926/0.1474, allocations: 217 kB / 370.9 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.1475, allocations: 19.81 kB / 370.9 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.1475, allocations: 21.52 kB / 370.9 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1475, allocations: 64 / 370.9 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1475, allocations: 4 kB / 370.9 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1476, allocations: 8.062 kB / 370.9 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.1479, allocations: 285.4 kB / 371.2 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1479, allocations: 0 / 371.2 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.148, allocations: 27.98 kB / 371.2 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2492/0.3972, allocations: 82.19 kB / 371.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/0.3973, allocations: 2 kB / 371.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002691/0.4, allocations: 1.784 MB / 373.1 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4, allocations: 1.719 kB / 373.1 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.401, allocations: 457.1 kB / 373.5 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.4011, allocations: 100.6 kB / 373.6 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.4012, allocations: 5.469 kB / 373.6 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.4014, allocations: 23.5 kB / 373.7 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.4014, allocations: 12.84 kB / 373.7 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.4014, allocations: 4.281 kB / 373.7 MB, free: 17.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001872/0.4016, allocations: 163.7 kB / 373.8 MB, free: 17.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4016, allocations: 0 / 373.8 MB, free: 17.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006734/0.4023, allocations: 115.5 kB / 373.9 MB, free: 17.68 MB / 302.1 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.0001643/0.4025, allocations: 103.8 kB / 374 MB, free: 17.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.4037, allocations: 0.5569 MB / 374.6 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4037, allocations: 0.9688 kB / 374.6 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.4041, allocations: 199.6 kB / 374.8 MB, free: 17.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.4045, allocations: 42.06 kB / 374.8 MB, free: 17.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.4057, allocations: 0.5837 MB / 375.4 MB, free: 16.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.406, allocations: 0.7513 MB / 376.2 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.4062, allocations: 23.88 kB / 376.2 MB, free: 16.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.4062, allocations: 17.31 kB / 376.2 MB, free: 16.25 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4062, allocations: 0 / 376.2 MB, free: 16.25 MB / 302.1 MB Notification: Performance of Templates: time 0.007256/0.4135, allocations: 2.733 MB / 378.9 MB, free: 16.09 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","../files/Modelica_trunk_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.v_out,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