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.001247/0.001247, allocations: 100.8 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.00181, allocations: 200.5 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 227.7 MB / 246.4 MB, free: 11.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002401/0.0002403, allocations: 8 kB / 307.1 MB, free: 1.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1262, allocations: 51.52 MB / 358.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002682/0.1289, allocations: 2.205 MB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1301, allocations: 0.6704 MB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1302, allocations: 4 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.1304, allocations: 27.77 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.1306, allocations: 71.45 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.1308, allocations: 67.86 kB / 361.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.1311, allocations: 278.7 kB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.1313, allocations: 73.27 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.1314, allocations: 95.62 kB / 362.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.1316, allocations: 107.5 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.1316, allocations: 12 kB / 362.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.355e-05/0.1316, allocations: 12 kB / 362.3 MB, free: 10 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.096e-05/0.1317, allocations: 43.78 kB / 362.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.566e-05/0.1317, allocations: 69.58 kB / 362.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.1319, allocations: 211.6 kB / 362.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.132, allocations: 4 kB / 362.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.132, allocations: 0 / 362.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.132, allocations: 0 / 362.6 MB, free: 9.672 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.000844/0.1328, allocations: 0.5224 MB / 363.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1329, allocations: 12.03 kB / 363.1 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.1329, allocations: 23.72 kB / 363.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1332, allocations: 254.6 kB / 363.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1333, allocations: 16.56 kB / 363.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.1333, allocations: 27.89 kB / 363.4 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.1337, allocations: 228.9 kB / 363.6 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1338, allocations: 0 / 363.6 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.1338, allocations: 11.94 kB / 363.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1338, allocations: 8 kB / 363.7 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/0.1342, allocations: 190.2 kB / 363.9 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.1356, allocations: 0.9124 MB / 364.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006003/0.1362, allocations: 226.6 kB / 365 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.1365, allocations: 128.8 kB / 365.1 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.1366, allocations: 7.938 kB / 365.1 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.1366, allocations: 38.5 kB / 365.2 MB, free: 6.898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.895e-06/0.1366, allocations: 4 kB / 365.2 MB, free: 6.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001673/0.1383, allocations: 0.5955 MB / 365.8 MB, free: 6.273 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1384, allocations: 55.34 kB / 365.8 MB, free: 6.207 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.1386, allocations: 231 kB / 366 MB, free: 5.969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1386, allocations: 29.7 kB / 366.1 MB, free: 5.934 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.492e-05/0.1387, allocations: 163.9 kB / 366.2 MB, free: 5.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.1388, allocations: 51.2 kB / 366.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.1388, allocations: 12 kB / 366.3 MB, free: 5.707 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1389, allocations: 334.8 kB / 366.6 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.1391, allocations: 59.97 kB / 366.7 MB, free: 5.312 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.1393, allocations: 115.1 kB / 366.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.1394, allocations: 78.56 kB / 366.9 MB, free: 5.105 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1394, allocations: 0 / 366.9 MB, free: 5.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007607/0.1402, allocations: 350.1 kB / 367.2 MB, free: 4.754 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.301e-05/0.1403, allocations: 142.1 kB / 367.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1403, allocations: 0 / 367.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003564/0.1407, allocations: 84.8 kB / 367.4 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1408, allocations: 35.98 kB / 367.5 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.1434, allocations: 1.869 MB / 369.3 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.1436, allocations: 35.84 kB / 369.4 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.1436, allocations: 7.938 kB / 369.4 MB, free: 2.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.161e-06/0.1436, allocations: 4 kB / 369.4 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002755/0.1439, allocations: 170.9 kB / 369.5 MB, free: 2.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.1439, allocations: 0 / 369.5 MB, free: 2.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-05/0.144, allocations: 32.97 kB / 369.6 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1441, allocations: 36.11 kB / 369.6 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008162/0.145, allocations: 1.315 MB / 370.9 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.837e-05/0.1451, allocations: 19.78 kB / 370.9 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1451, allocations: 8 kB / 371 MB, free: 0.6953 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.0001558/0.1453, allocations: 209.7 kB / 371.2 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.1453, allocations: 19.81 kB / 371.2 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.688e-05/0.1454, allocations: 29.45 kB / 371.2 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1454, allocations: 0 / 371.2 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1454, allocations: 0 / 371.2 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.1454, allocations: 64 / 371.2 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2206/0.366, allocations: 0.6391 MB / 371.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3661, allocations: 1.156 kB / 371.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.3662, allocations: 25.58 kB / 371.9 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003155/0.3666, allocations: 80.59 kB / 371.9 MB, free: 18.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.3666, allocations: 8 kB / 372 MB, free: 18.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.3687, allocations: 1.758 MB / 373.7 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3687, allocations: 0.75 kB / 373.7 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009081/0.3697, allocations: 449.5 kB / 374.2 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.927e-05/0.3697, allocations: 99.95 kB / 374.3 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.3698, allocations: 5.969 kB / 374.3 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.3699, allocations: 27.34 kB / 374.3 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.37, allocations: 11.95 kB / 374.3 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.37, allocations: 4.672 kB / 374.3 MB, free: 17.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.3702, allocations: 166.4 kB / 374.5 MB, free: 17.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3702, allocations: 0 / 374.5 MB, free: 17.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000597/0.3708, allocations: 112.7 kB / 374.6 MB, free: 17.21 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.0001566/0.3709, allocations: 101.5 kB / 374.7 MB, free: 17.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.372, allocations: 0.5581 MB / 375.2 MB, free: 16.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.372, allocations: 0 / 375.2 MB, free: 16.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.3723, allocations: 202 kB / 375.4 MB, free: 16.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.3727, allocations: 36.91 kB / 375.5 MB, free: 16.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.3738, allocations: 0.5993 MB / 376.1 MB, free: 16.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.374, allocations: 0.7472 MB / 376.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.3741, allocations: 23.11 kB / 376.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.3742, allocations: 17.06 kB / 376.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3742, allocations: 0 / 376.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of Templates: time 0.007193/0.3814, allocations: 2.777 MB / 379.6 MB, free: 15.59 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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