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.001165/0.001165, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 55.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3603, allocations: 50.55 MB / 409.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004172/0.3646, allocations: 2.615 MB / 411.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.3659, allocations: 0.6934 MB / 412.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.3661, allocations: 4 kB / 412.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.3663, allocations: 43.56 kB / 412.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.3665, allocations: 79.33 kB / 412.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.3667, allocations: 87.81 kB / 412.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.367, allocations: 314.6 kB / 413.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.3672, allocations: 92.94 kB / 413.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.3674, allocations: 107.6 kB / 413.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.3675, allocations: 135.4 kB / 413.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.3676, allocations: 27.98 kB / 413.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.331e-05/0.3676, allocations: 24 kB / 413.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.3677, allocations: 51.83 kB / 413.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.3678, allocations: 131.3 kB / 413.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.3681, allocations: 288.1 kB / 413.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.138e-05/0.3682, allocations: 0 / 413.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3682, allocations: 7.938 kB / 414 MB, free: 12.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.3682, allocations: 0 / 414 MB, free: 12.95 MB / 334.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.001053/0.3693, allocations: 0.5576 MB / 414.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3693, allocations: 8.031 kB / 414.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.3694, allocations: 24.66 kB / 414.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.3698, allocations: 263.8 kB / 414.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.3698, allocations: 20.94 kB / 414.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.3699, allocations: 16.38 kB / 414.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.3704, allocations: 229.2 kB / 415.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3704, allocations: 7.922 kB / 415.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.3704, allocations: 12 kB / 415.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.3704, allocations: 4 kB / 415.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/0.3709, allocations: 194.1 kB / 415.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.3723, allocations: 0.889 MB / 416.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006465/0.373, allocations: 218.6 kB / 416.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.3733, allocations: 124.7 kB / 416.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3734, allocations: 3.938 kB / 416.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.3734, allocations: 42.56 kB / 416.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.3734, allocations: 0 / 416.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.00184/0.3753, allocations: 0.5575 MB / 417.1 MB, free: 9.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.3753, allocations: 55.41 kB / 417.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.3755, allocations: 227 kB / 417.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.3756, allocations: 29.7 kB / 417.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.649e-05/0.3757, allocations: 167.9 kB / 417.6 MB, free: 9.078 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.3757, allocations: 59.19 kB / 417.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.738e-05/0.3758, allocations: 41.7 kB / 417.7 MB, free: 8.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.376, allocations: 326.8 kB / 418 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.3761, allocations: 72.75 kB / 418.1 MB, free: 8.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.3764, allocations: 121.9 kB / 418.2 MB, free: 8.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.3768, allocations: 180.3 kB / 418.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3768, allocations: 0 / 418.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008406/0.3776, allocations: 342.1 kB / 418.7 MB, free: 7.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3776, allocations: 6.812 kB / 418.7 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3777, allocations: 0 / 418.7 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004051/0.3781, allocations: 84.83 kB / 418.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.3782, allocations: 39.92 kB / 418.8 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/0.3812, allocations: 2.013 MB / 420.8 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.3814, allocations: 19.84 kB / 420.8 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.3814, allocations: 12 kB / 420.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001805/0.3816, allocations: 148 kB / 421 MB, free: 5.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001036/0.3817, allocations: 97.98 kB / 421.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002525/0.382, allocations: 148.2 kB / 421.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.422e-06/0.382, allocations: 0 / 421.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003612/0.3824, allocations: 221.9 kB / 421.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.3824, allocations: 8 kB / 421.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.3824, allocations: 0 / 421.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.709e-05/0.3825, allocations: 37.06 kB / 421.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.3827, allocations: 43.92 kB / 421.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.3837, allocations: 1.414 MB / 423 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.3838, allocations: 16 kB / 423 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.3839, allocations: 12 kB / 423 MB, free: 3.246 MB / 334.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.384, allocations: 196.1 kB / 423.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.3841, allocations: 19.75 kB / 423.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.177e-05/0.3841, allocations: 29.52 kB / 423.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3841, allocations: 3.938 kB / 423.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3842, allocations: 4.062 kB / 423.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3842, allocations: 0 / 423.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.3854, allocations: 0.6234 MB / 423.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3854, allocations: 4 kB / 423.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.3855, allocations: 19.98 kB / 423.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00028/0.3858, allocations: 80.8 kB / 424 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.3858, allocations: 0 / 424 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/0.3882, allocations: 1.923 MB / 425.9 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3883, allocations: 128 / 425.9 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009554/0.3892, allocations: 440.5 kB / 426.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.3893, allocations: 96.88 kB / 426.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.3894, allocations: 7.938 kB / 426.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.3896, allocations: 23.92 kB / 426.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.3896, allocations: 16.05 kB / 426.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.3896, allocations: 4 kB / 426.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.3898, allocations: 164.6 kB / 426.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3898, allocations: 0 / 426.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005656/0.3904, allocations: 115.7 kB / 426.7 MB, free: 15.25 MB / 350.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00016/0.3905, allocations: 99.25 kB / 426.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.3918, allocations: 0.5426 MB / 427.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3918, allocations: 0 / 427.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.3921, allocations: 203.2 kB / 427.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.3925, allocations: 39.66 kB / 427.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3936, allocations: 0.4967 MB / 428.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.394, allocations: 0.7518 MB / 428.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.3941, allocations: 25.94 kB / 428.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.3941, allocations: 15.44 kB / 428.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3941, allocations: 0 / 428.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of Templates: time 0.007929/0.4021, allocations: 3.211 MB / 432.1 MB, free: 9.805 MB / 350.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