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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 95.02 kB / 16.3 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 182.1 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.2 MB / 241.1 MB, free: 5.371 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002646/0.0002647, allocations: 7.312 kB / 300.7 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1241, allocations: 50.42 MB / 351.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002987/0.1271, allocations: 2.089 MB / 353.2 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.1284, allocations: 0.6394 MB / 353.9 MB, free: 8.941 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.1286, allocations: 7.938 kB / 353.9 MB, free: 8.934 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.88e-05/0.1287, allocations: 27.83 kB / 353.9 MB, free: 8.906 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.129, allocations: 107.6 kB / 354 MB, free: 8.801 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.1292, allocations: 59.86 kB / 354.1 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.1295, allocations: 207.6 kB / 354.3 MB, free: 8.539 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.1297, allocations: 77.27 kB / 354.3 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.1299, allocations: 95.62 kB / 354.4 MB, free: 8.367 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.1301, allocations: 111.5 kB / 354.5 MB, free: 8.258 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.1301, allocations: 16 kB / 354.6 MB, free: 8.242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.517e-05/0.1301, allocations: 12 kB / 354.6 MB, free: 8.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.449e-05/0.1302, allocations: 39.84 kB / 354.6 MB, free: 8.191 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.1303, allocations: 69.58 kB / 354.7 MB, free: 8.117 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.1305, allocations: 203.4 kB / 354.9 MB, free: 7.918 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1305, allocations: 0 / 354.9 MB, free: 7.918 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1305, allocations: 0 / 354.9 MB, free: 7.918 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1305, allocations: 0 / 354.9 MB, free: 7.918 MB / 286.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.0009913/0.1315, allocations: 0.534 MB / 355.4 MB, free: 7.336 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.1316, allocations: 8.031 kB / 355.4 MB, free: 7.328 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.1316, allocations: 27.72 kB / 355.5 MB, free: 7.301 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.132, allocations: 246.5 kB / 355.7 MB, free: 7.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.132, allocations: 20.56 kB / 355.7 MB, free: 7 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.132, allocations: 24 kB / 355.7 MB, free: 6.977 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.1325, allocations: 220.9 kB / 356 MB, free: 6.758 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1325, allocations: 0 / 356 MB, free: 6.758 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.1326, allocations: 11.95 kB / 356 MB, free: 6.746 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1326, allocations: 8 kB / 356 MB, free: 6.738 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.133, allocations: 198.1 kB / 356.2 MB, free: 6.543 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.1347, allocations: 0.9085 MB / 357.1 MB, free: 5.562 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007138/0.1354, allocations: 229.7 kB / 357.3 MB, free: 5.332 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.1354, allocations: 0 / 357.3 MB, free: 5.332 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.1355, allocations: 38.56 kB / 357.3 MB, free: 5.285 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.1355, allocations: 0 / 357.3 MB, free: 5.285 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002046/0.1375, allocations: 0.6108 MB / 357.9 MB, free: 4.648 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.1376, allocations: 59.41 kB / 358 MB, free: 4.578 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.1379, allocations: 223.1 kB / 358.2 MB, free: 4.348 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.1379, allocations: 29.7 kB / 358.3 MB, free: 4.312 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.138, allocations: 171.8 kB / 358.4 MB, free: 4.141 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/0.1381, allocations: 47.25 kB / 358.5 MB, free: 4.094 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.1381, allocations: 8 kB / 358.5 MB, free: 4.086 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1383, allocations: 330.8 kB / 358.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.1385, allocations: 67.97 kB / 358.9 MB, free: 3.688 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.1387, allocations: 110 kB / 359 MB, free: 3.559 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.1389, allocations: 83.86 kB / 359.1 MB, free: 3.477 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1389, allocations: 4 kB / 359.1 MB, free: 3.473 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008284/0.1397, allocations: 352.9 kB / 359.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002687/0.14, allocations: 0.6161 MB / 360 MB, free: 2.457 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.14, allocations: 0 / 360 MB, free: 2.457 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/0.1404, allocations: 84.8 kB / 360.1 MB, free: 2.371 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.1406, allocations: 43.91 kB / 360.1 MB, free: 2.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/0.1435, allocations: 1.897 MB / 362 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.1437, allocations: 31.69 kB / 362.1 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.1438, allocations: 7.984 kB / 362.1 MB, free: 260 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1438, allocations: 6.188 kB / 362.1 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003342/0.1441, allocations: 172.7 kB / 362.3 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.1442, allocations: 7.938 kB / 362.3 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.666e-05/0.1442, allocations: 28.8 kB / 362.3 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.1444, allocations: 43.91 kB / 362.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.1455, allocations: 1.316 MB / 363.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.1457, allocations: 19.88 kB / 363.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1457, allocations: 4 kB / 363.7 MB, free: 14.52 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.0002169/0.1459, allocations: 209.1 kB / 363.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.146, allocations: 23.77 kB / 363.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.146, allocations: 25.58 kB / 363.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.146, allocations: 4 kB / 363.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.146, allocations: 0 / 363.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.146, allocations: 0 / 363.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.1464, allocations: 289.4 kB / 364.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1464, allocations: 0 / 364.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.1465, allocations: 23.98 kB / 364.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002817/0.1468, allocations: 84.8 kB / 364.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.1468, allocations: 7.953 kB / 364.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002257/0.1491, allocations: 1.783 MB / 366.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1491, allocations: 0 / 366.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008952/0.15, allocations: 448 kB / 366.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.1501, allocations: 100.8 kB / 366.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1501, allocations: 8 kB / 366.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.1503, allocations: 24.05 kB / 366.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.1504, allocations: 15.92 kB / 366.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.1504, allocations: 7.953 kB / 366.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.1505, allocations: 160.6 kB / 366.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1506, allocations: 0 / 366.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005853/0.1511, allocations: 119.7 kB / 367 MB, free: 10.99 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.0001928/0.1513, allocations: 99.78 kB / 367.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.1526, allocations: 0.5498 MB / 367.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.1526, allocations: 3.938 kB / 367.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.1529, allocations: 212.9 kB / 367.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.1534, allocations: 41.02 kB / 367.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1546, allocations: 0.5745 MB / 368.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.155, allocations: 0.7484 MB / 369.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.1551, allocations: 29.88 kB / 369.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.1551, allocations: 15.44 kB / 369.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of SimCode: time 1.974e-06/0.1552, allocations: 3.938 kB / 369.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of Templates: time 0.006566/0.1617, allocations: 2.732 MB / 372 MB, free: 5.902 MB / 302.1 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/jenkins/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.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