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.001131/0.001131, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 207.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.89 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3411, allocations: 50.55 MB / 409.3 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003914/0.3451, allocations: 2.609 MB / 411.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3463, allocations: 0.6972 MB / 412.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.3465, allocations: 4 kB / 412.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.3467, allocations: 39.58 kB / 412.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.3469, allocations: 91.25 kB / 412.7 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.3472, allocations: 87.83 kB / 412.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.3475, allocations: 314.6 kB / 413.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.3477, allocations: 92.94 kB / 413.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.3479, allocations: 115.6 kB / 413.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.3481, allocations: 119.5 kB / 413.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.3481, allocations: 24 kB / 413.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.222e-05/0.3481, allocations: 24 kB / 413.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.3482, allocations: 55.83 kB / 413.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.3483, allocations: 135.3 kB / 413.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.3487, allocations: 288.2 kB / 414 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3487, allocations: 4 kB / 414 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3487, allocations: 0 / 414 MB, free: 13.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3487, allocations: 4 kB / 414 MB, free: 13.01 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.0009565/0.3497, allocations: 0.5576 MB / 414.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3497, allocations: 12.03 kB / 414.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.608e-05/0.3498, allocations: 28.66 kB / 414.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.3502, allocations: 263.7 kB / 414.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.3502, allocations: 12.94 kB / 414.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.3503, allocations: 20.38 kB / 414.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/0.3507, allocations: 229.2 kB / 415.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3507, allocations: 7.984 kB / 415.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.3508, allocations: 12 kB / 415.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.3508, allocations: 4 kB / 415.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.3512, allocations: 186.2 kB / 415.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.3527, allocations: 0.8967 MB / 416.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.3533, allocations: 210.7 kB / 416.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.3536, allocations: 128.7 kB / 416.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.3536, allocations: 3.938 kB / 416.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.3537, allocations: 38.5 kB / 416.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.3537, allocations: 3.938 kB / 416.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.001726/0.3554, allocations: 0.5575 MB / 417.1 MB, free: 9.648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.3555, allocations: 55.41 kB / 417.2 MB, free: 9.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.3557, allocations: 235 kB / 417.4 MB, free: 9.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.3558, allocations: 25.7 kB / 417.4 MB, free: 9.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3559, allocations: 167.8 kB / 417.6 MB, free: 9.141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.3559, allocations: 55.2 kB / 417.6 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.046e-05/0.356, allocations: 41.7 kB / 417.7 MB, free: 9.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3561, allocations: 326.8 kB / 418 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.3563, allocations: 68.83 kB / 418.1 MB, free: 8.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.3565, allocations: 117.9 kB / 418.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.3569, allocations: 188.1 kB / 418.4 MB, free: 8.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3569, allocations: 0 / 418.4 MB, free: 8.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000818/0.3577, allocations: 338.1 kB / 418.7 MB, free: 7.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3577, allocations: 12.02 kB / 418.7 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3578, allocations: 4 kB / 418.7 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/0.3581, allocations: 68.81 kB / 418.8 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.3583, allocations: 51.91 kB / 418.8 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/0.3611, allocations: 2.013 MB / 420.8 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.3613, allocations: 23.83 kB / 420.9 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.3613, allocations: 8 kB / 420.9 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001603/0.3615, allocations: 148.1 kB / 421 MB, free: 5.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001006/0.3616, allocations: 85.98 kB / 421.1 MB, free: 5.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001926/0.3618, allocations: 156.2 kB / 421.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.3618, allocations: 0 / 421.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003291/0.3621, allocations: 218 kB / 421.5 MB, free: 4.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.3621, allocations: 8 kB / 421.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.3621, allocations: 0 / 421.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.487e-05/0.3622, allocations: 40.8 kB / 421.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.3624, allocations: 35.98 kB / 421.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.3634, allocations: 1.422 MB / 423 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.3636, allocations: 12 kB / 423 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3636, allocations: 12 kB / 423 MB, free: 3.316 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.0001358/0.3637, allocations: 200.1 kB / 423.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.3638, allocations: 19.81 kB / 423.2 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.3638, allocations: 21.52 kB / 423.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3638, allocations: 7.875 kB / 423.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.3638, allocations: 0 / 423.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3638, allocations: 0 / 423.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.3649, allocations: 0.6312 MB / 423.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3649, allocations: 3.938 kB / 423.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.3651, allocations: 23.92 kB / 423.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002627/0.3653, allocations: 80.8 kB / 424 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.3654, allocations: 4 kB / 424 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/0.3676, allocations: 1.924 MB / 425.9 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3676, allocations: 0 / 425.9 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008605/0.3685, allocations: 440.4 kB / 426.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.3686, allocations: 96.88 kB / 426.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.3687, allocations: 3.938 kB / 426.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.3688, allocations: 23.98 kB / 426.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.3689, allocations: 7.984 kB / 426.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.3689, allocations: 8 kB / 426.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.3691, allocations: 164.7 kB / 426.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3691, allocations: 0 / 426.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005562/0.3696, allocations: 111.7 kB / 426.7 MB, free: 15.32 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.0001565/0.3698, allocations: 107.2 kB / 426.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.3709, allocations: 0.5394 MB / 427.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3709, allocations: 7.984 kB / 427.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.3712, allocations: 198.6 kB / 427.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.3716, allocations: 27.97 kB / 427.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009701/0.3725, allocations: 0.5153 MB / 428.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.3729, allocations: 0.744 MB / 428.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.75e-05/0.373, allocations: 21.95 kB / 428.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.3731, allocations: 15.44 kB / 428.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3731, allocations: 0 / 428.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of Templates: time 0.007706/0.3808, allocations: 3.118 MB / 432 MB, free: 9.965 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