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.001106/0.001106, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.412/1.412, allocations: 221.3 MB / 235.5 MB, free: 2.895 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008254/0.0008254, allocations: 99.97 kB / 286.5 MB, free: 156 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.704e-05/3.707e-05, allocations: 4 kB / 343.8 MB, free: 4.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07964/0.07969, allocations: 50.42 MB / 394.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2797/0.3594, allocations: 78.87 MB / 473.1 MB, free: 8.648 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.3597, allocations: 83.78 kB / 473.2 MB, free: 8.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01288/0.3726, allocations: 4.281 MB / 477.5 MB, free: 4.281 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3726, allocations: 0 / 477.5 MB, free: 4.281 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.3727, allocations: 4 kB / 477.5 MB, free: 4.277 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.0008237/0.3735, allocations: 0.495 MB / 478 MB, free: 3.738 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3736, allocations: 12.03 kB / 478 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.142e-05/0.3736, allocations: 31.62 kB / 478 MB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.374, allocations: 243.2 kB / 478.3 MB, free: 3.418 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.374, allocations: 16.56 kB / 478.3 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.3741, allocations: 24 kB / 478.3 MB, free: 3.379 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.3744, allocations: 196.9 kB / 478.5 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.3744, allocations: 4 kB / 478.5 MB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.3745, allocations: 8.344 kB / 478.5 MB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3745, allocations: 11.95 kB / 478.5 MB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.3748, allocations: 162.1 kB / 478.7 MB, free: 2.996 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.3763, allocations: 0.9621 MB / 479.6 MB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.3767, allocations: 166.7 kB / 479.8 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.3769, allocations: 109.9 kB / 479.9 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3769, allocations: 8 kB / 479.9 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.377, allocations: 34.56 kB / 480 MB, free: 1.621 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.377, allocations: 0 / 480 MB, free: 1.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006135/0.3776, allocations: 234.4 kB / 480.2 MB, free: 1.383 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.3776, allocations: 55.41 kB / 480.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.3778, allocations: 194.1 kB / 480.4 MB, free: 1.121 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.3779, allocations: 29.7 kB / 480.5 MB, free: 1.086 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.378, allocations: 167.8 kB / 480.6 MB, free: 0.918 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.378, allocations: 59.19 kB / 480.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.378, allocations: 11.94 kB / 480.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.3781, allocations: 326.8 kB / 481 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.575e-05/0.3782, allocations: 47.98 kB / 481.1 MB, free: 484 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.3783, allocations: 93.95 kB / 481.1 MB, free: 368 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.99e-05/0.3784, allocations: 64.44 kB / 481.2 MB, free: 304 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3785, allocations: 0 / 481.2 MB, free: 304 kB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005876/0.379, allocations: 292.7 kB / 481.5 MB, free: 4 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.3793, allocations: 0.6161 MB / 482.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3793, allocations: 7.938 kB / 482.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/0.3795, allocations: 52.83 kB / 482.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.3797, allocations: 31.98 kB / 482.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007601/0.3804, allocations: 0.6656 MB / 482.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.3806, allocations: 31.73 kB / 482.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.3806, allocations: 7.953 kB / 482.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.83e-06/0.3806, allocations: 4 kB / 482.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002682/0.3809, allocations: 168.8 kB / 483.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/0.3809, allocations: 8 kB / 483.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.68e-05/0.381, allocations: 24.84 kB / 483.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.3812, allocations: 43.92 kB / 483.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009034/0.3821, allocations: 1.304 MB / 484.5 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.3822, allocations: 23.78 kB / 484.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.3822, allocations: 7.938 kB / 484.5 MB, free: 12.8 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 () * 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 7.662e-05/0.3823, allocations: 116.9 kB / 484.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.3824, allocations: 23.77 kB / 484.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.089e-05/0.3824, allocations: 25.64 kB / 484.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3825, allocations: 4.062 kB / 484.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.3825, allocations: 3.938 kB / 484.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3825, allocations: 0 / 484.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008936/0.3834, allocations: 0.5934 MB / 485.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3834, allocations: 0 / 485.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.3835, allocations: 20 kB / 485.3 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/0.3836, allocations: 52.83 kB / 485.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.3837, allocations: 7.953 kB / 485.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002371/0.386, allocations: 1.76 MB / 487.1 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3861, allocations: 4.031 kB / 487.1 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.3872, allocations: 383.2 kB / 487.5 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3873, allocations: 100.9 kB / 487.6 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.3873, allocations: 4 kB / 487.6 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.3877, allocations: 31.94 kB / 487.6 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.3878, allocations: 11.98 kB / 487.6 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.3878, allocations: 4 kB / 487.6 MB, free: 9.426 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002196/0.388, allocations: 160.6 kB / 487.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3881, allocations: 0 / 487.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008221/0.3889, allocations: 119.7 kB / 487.9 MB, free: 9.152 MB / 362.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 () * 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.0001925/0.3891, allocations: 103.2 kB / 488 MB, free: 9.039 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.3904, allocations: 418 kB / 488.4 MB, free: 8.621 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3904, allocations: 0 / 488.4 MB, free: 8.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007696/0.3912, allocations: 267.1 kB / 488.7 MB, free: 8.348 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.3916, allocations: 36.64 kB / 488.7 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.3947, allocations: 0.6833 MB / 489.4 MB, free: 7.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.3951, allocations: 0.7448 MB / 490.1 MB, free: 6.828 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002161/0.3953, allocations: 34.05 kB / 490.2 MB, free: 6.793 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.3954, allocations: 15.44 kB / 490.2 MB, free: 6.781 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3954, allocations: 0 / 490.2 MB, free: 6.781 MB / 362.7 MB Notification: Performance of Templates: time 0.008528/0.4039, allocations: 2.83 MB / 493 MB, free: 3.973 MB / 362.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/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.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