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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001749/0.001749, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001161/0.001161, allocations: 89.89 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.767e-05/3.778e-05, allocations: 7.984 kB / 350.6 MB, free: 2.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 51.48 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3154/0.4205, allocations: 79.69 MB / 481.7 MB, free: 9.777 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.4208, allocations: 83.38 kB / 481.8 MB, free: 9.734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01058/0.4314, allocations: 4.327 MB / 486.1 MB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4314, allocations: 0 / 486.1 MB, free: 6.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.4315, allocations: 8 kB / 486.1 MB, free: 6.078 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.0006207/0.4321, allocations: 0.4903 MB / 486.6 MB, free: 5.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4321, allocations: 12.03 kB / 486.6 MB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/0.4322, allocations: 27.62 kB / 486.7 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.4325, allocations: 247.1 kB / 486.9 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.4326, allocations: 23.75 kB / 486.9 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.4326, allocations: 22.61 kB / 487 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.4329, allocations: 206.5 kB / 487.2 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4329, allocations: 0 / 487.2 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.433, allocations: 7.125 kB / 487.2 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.433, allocations: 8 kB / 487.2 MB, free: 5.078 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.4332, allocations: 151.6 kB / 487.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.4347, allocations: 0.9648 MB / 488.3 MB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.435, allocations: 173.7 kB / 488.5 MB, free: 3.969 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.4353, allocations: 106.6 kB / 488.6 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.4353, allocations: 8.219 kB / 488.6 MB, free: 3.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.4353, allocations: 35.12 kB / 488.6 MB, free: 3.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.635e-06/0.4353, allocations: 4 kB / 488.6 MB, free: 3.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005782/0.4359, allocations: 229.9 kB / 488.8 MB, free: 3.645 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.4359, allocations: 59.34 kB / 488.9 MB, free: 3.574 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.4361, allocations: 202.7 kB / 489.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.4361, allocations: 25.7 kB / 489.1 MB, free: 3.371 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.4362, allocations: 168.6 kB / 489.3 MB, free: 3.227 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.4362, allocations: 53.84 kB / 489.3 MB, free: 3.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.4363, allocations: 3.375 kB / 489.3 MB, free: 3.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.575e-05/0.4363, allocations: 329.7 kB / 489.7 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.538e-05/0.4364, allocations: 51 kB / 489.7 MB, free: 2.824 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.935e-05/0.4365, allocations: 95.77 kB / 489.8 MB, free: 2.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.25e-05/0.4366, allocations: 60.05 kB / 489.9 MB, free: 2.695 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4366, allocations: 0 / 489.9 MB, free: 2.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005272/0.4372, allocations: 295 kB / 490.1 MB, free: 2.445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.4373, allocations: 0.6184 MB / 490.8 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4373, allocations: 4 kB / 490.8 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/0.4376, allocations: 52.95 kB / 490.8 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.4377, allocations: 39.48 kB / 490.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006223/0.4383, allocations: 0.6584 MB / 491.5 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.4385, allocations: 31.34 kB / 491.5 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.4385, allocations: 11.81 kB / 491.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.4386, allocations: 4 kB / 491.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002474/0.4388, allocations: 165.5 kB / 491.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.4388, allocations: 1.688 kB / 491.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.747e-05/0.4389, allocations: 31.66 kB / 491.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.439, allocations: 47.91 kB / 491.8 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007646/0.4398, allocations: 1.306 MB / 493.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.4399, allocations: 18.62 kB / 493.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.44, allocations: 10.94 kB / 493.1 MB, free: 15.41 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 8.903e-05/0.4401, allocations: 111.6 kB / 493.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.4401, allocations: 27.69 kB / 493.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.4402, allocations: 23.45 kB / 493.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.4402, allocations: 4 kB / 493.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.4402, allocations: 0 / 493.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4402, allocations: 0 / 493.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008632/0.4411, allocations: 0.5956 MB / 493.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4411, allocations: 0 / 493.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.4412, allocations: 23.98 kB / 493.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001328/0.4413, allocations: 52.52 kB / 494 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.4413, allocations: 4 kB / 494 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/0.4434, allocations: 1.76 MB / 495.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4434, allocations: 4.266 kB / 495.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006316/0.444, allocations: 397.1 kB / 496.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.559e-05/0.4441, allocations: 92.94 kB / 496.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.4441, allocations: 4 kB / 496.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.4443, allocations: 21.61 kB / 496.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.4444, allocations: 16.05 kB / 496.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.4444, allocations: 4 kB / 496.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001389/0.4445, allocations: 163.5 kB / 496.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4445, allocations: 0 / 496.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000469/0.445, allocations: 115.7 kB / 496.5 MB, free: 12.05 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.0001521/0.4452, allocations: 107.2 kB / 496.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008936/0.4461, allocations: 419.8 kB / 497.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4461, allocations: 4 kB / 497.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005162/0.4466, allocations: 263.1 kB / 497.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.4469, allocations: 41.81 kB / 497.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.4489, allocations: 0.6727 MB / 498 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.4492, allocations: 0.7487 MB / 498.8 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001315/0.4493, allocations: 26.06 kB / 498.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.4494, allocations: 15.44 kB / 498.8 MB, free: 9.684 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4494, allocations: 8.844 kB / 498.8 MB, free: 9.676 MB / 362.7 MB Notification: Performance of Templates: time 0.005751/0.4551, allocations: 2.831 MB / 0.4899 GB, free: 6.914 MB / 362.7 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.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