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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001477, allocations: 111.5 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 47.92 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4131, allocations: 49.43 MB / 400.8 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004/0.4172, allocations: 2.612 MB / 403.4 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.4185, allocations: 0.6544 MB / 404 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.4187, allocations: 4 kB / 404 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.4188, allocations: 47.58 kB / 404.1 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.4192, allocations: 83.31 kB / 404.2 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.4193, allocations: 87.81 kB / 404.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.4197, allocations: 306.7 kB / 404.5 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.4199, allocations: 92.94 kB / 404.6 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.4201, allocations: 115.5 kB / 404.7 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.4203, allocations: 131.4 kB / 404.9 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.668e-05/0.4203, allocations: 28 kB / 404.9 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.976e-05/0.4204, allocations: 24 kB / 404.9 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.4204, allocations: 47.84 kB / 405 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.4206, allocations: 131.4 kB / 405.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.4209, allocations: 292.1 kB / 405.4 MB, free: 4.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4209, allocations: 7.875 kB / 405.4 MB, free: 4.195 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4209, allocations: 0 / 405.4 MB, free: 4.195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.4209, allocations: 4 kB / 405.4 MB, free: 4.191 MB / 318.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.0009361/0.4218, allocations: 0.5537 MB / 405.9 MB, free: 3.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4219, allocations: 12.03 kB / 406 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.422, allocations: 28.66 kB / 406 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.4223, allocations: 267.7 kB / 406.2 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.4224, allocations: 16.94 kB / 406.3 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.4224, allocations: 20.38 kB / 406.3 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.4228, allocations: 229.1 kB / 406.5 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4229, allocations: 0 / 406.5 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.4229, allocations: 16 kB / 406.5 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.4229, allocations: 4 kB / 406.5 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/0.4233, allocations: 190.1 kB / 406.7 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.4248, allocations: 0.8928 MB / 407.6 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006038/0.4254, allocations: 218.7 kB / 407.8 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.4257, allocations: 128.7 kB / 407.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.4257, allocations: 0 / 407.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.4258, allocations: 38.56 kB / 408 MB, free: 1.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.4258, allocations: 0 / 408 MB, free: 1.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001688/0.4275, allocations: 0.5575 MB / 408.5 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.4275, allocations: 59.41 kB / 408.6 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.4278, allocations: 223 kB / 408.8 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.4278, allocations: 29.7 kB / 408.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.4279, allocations: 167.9 kB / 409 MB, free: 332 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.4279, allocations: 51.2 kB / 409.1 MB, free: 280 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.428, allocations: 41.7 kB / 409.1 MB, free: 232 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.4282, allocations: 338.8 kB / 409.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.4284, allocations: 68.81 kB / 409.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.4286, allocations: 117.9 kB / 409.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.4289, allocations: 176.5 kB / 409.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.4289, allocations: 7.984 kB / 409.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008189/0.4298, allocations: 334.1 kB / 410.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.4298, allocations: 10.38 kB / 410.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4298, allocations: 4 kB / 410.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000412/0.4302, allocations: 84.73 kB / 410.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.4304, allocations: 35.98 kB / 410.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/0.4336, allocations: 2.025 MB / 412.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.4338, allocations: 23.84 kB / 412.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.4338, allocations: 8 kB / 412.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001652/0.434, allocations: 144.1 kB / 412.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000115/0.4341, allocations: 106.2 kB / 412.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001878/0.4343, allocations: 149.1 kB / 412.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.4343, allocations: 0 / 412.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003455/0.4347, allocations: 221.9 kB / 412.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.4347, allocations: 11.98 kB / 412.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-06/0.4347, allocations: 0 / 412.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.347e-05/0.4348, allocations: 24.84 kB / 413 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.435, allocations: 43.92 kB / 413 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009913/0.436, allocations: 1.418 MB / 414.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.4361, allocations: 15.88 kB / 414.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.4361, allocations: 12.06 kB / 414.4 MB, free: 10.49 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.0001288/0.4363, allocations: 192.2 kB / 414.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.4363, allocations: 15.81 kB / 414.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.4364, allocations: 21.52 kB / 414.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4364, allocations: 7.938 kB / 414.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.4364, allocations: 0 / 414.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4364, allocations: 0 / 414.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.4375, allocations: 0.6273 MB / 415.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4375, allocations: 0 / 415.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.4376, allocations: 27.98 kB / 415.3 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002589/0.4379, allocations: 72.8 kB / 415.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.4379, allocations: 8 kB / 415.4 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.4405, allocations: 1.915 MB / 417.3 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.4405, allocations: 3.984 kB / 417.3 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009044/0.4414, allocations: 440.3 kB / 417.8 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.819e-05/0.4415, allocations: 96.88 kB / 417.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.4415, allocations: 11.88 kB / 417.9 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.4417, allocations: 15.98 kB / 417.9 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.4418, allocations: 15.98 kB / 417.9 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.4418, allocations: 4 kB / 417.9 MB, free: 6.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.442, allocations: 168.6 kB / 418.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.442, allocations: 4.062 kB / 418.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006374/0.4426, allocations: 115.7 kB / 418.2 MB, free: 6.504 MB / 334.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.0002167/0.4429, allocations: 104 kB / 418.3 MB, free: 6.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.444, allocations: 0.5405 MB / 418.8 MB, free: 5.824 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.444, allocations: 4 kB / 418.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.4443, allocations: 194.6 kB / 419 MB, free: 5.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.4447, allocations: 40.45 kB / 419.1 MB, free: 5.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.4458, allocations: 0.5086 MB / 419.6 MB, free: 5.047 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.4462, allocations: 0.744 MB / 420.3 MB, free: 4.273 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.984e-05/0.4463, allocations: 21.95 kB / 420.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.4464, allocations: 23.36 kB / 420.4 MB, free: 4.23 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4464, allocations: 0 / 420.4 MB, free: 4.23 MB / 334.1 MB Notification: Performance of Templates: time 0.007511/0.4539, allocations: 3.117 MB / 423.5 MB, free: 1.133 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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.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