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.001429/0.001429, allocations: 110.2 kB / 17.06 MB, free: 6.137 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.001647/0.001647, allocations: 191 kB / 18 MB, free: 5.219 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.561/1.561, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002259/0.00226, allocations: 43.94 kB / 351.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.4, allocations: 49.43 MB / 400.8 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004143/0.4042, allocations: 2.611 MB / 403.4 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.4057, allocations: 0.6544 MB / 404 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.4059, allocations: 8 kB / 404 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.406, allocations: 39.58 kB / 404.1 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.4064, allocations: 87.25 kB / 404.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.4066, allocations: 91.81 kB / 404.2 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.407, allocations: 306.7 kB / 404.5 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.4072, allocations: 88.94 kB / 404.6 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.4074, allocations: 111.5 kB / 404.7 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.4076, allocations: 127.5 kB / 404.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.471e-05/0.4076, allocations: 28 kB / 404.9 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.4077, allocations: 28 kB / 404.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.249e-05/0.4077, allocations: 51.83 kB / 405 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.4079, allocations: 135.3 kB / 405.1 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.4082, allocations: 288.1 kB / 405.4 MB, free: 4.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4082, allocations: 3.938 kB / 405.4 MB, free: 4.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4082, allocations: 0 / 405.4 MB, free: 4.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.4082, allocations: 4 kB / 405.4 MB, free: 4.203 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.001023/0.4093, allocations: 0.5615 MB / 406 MB, free: 3.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.4093, allocations: 8.031 kB / 406 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.062e-05/0.4094, allocations: 24.66 kB / 406 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.4098, allocations: 263.7 kB / 406.2 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.4099, allocations: 24.94 kB / 406.3 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.4099, allocations: 20.38 kB / 406.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.4104, allocations: 221.2 kB / 406.5 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4105, allocations: 0 / 406.5 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.4105, allocations: 15.98 kB / 406.5 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.4105, allocations: 4 kB / 406.5 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.411, allocations: 194.1 kB / 406.7 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.4127, allocations: 0.9006 MB / 407.6 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.4133, allocations: 210.7 kB / 407.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.4137, allocations: 132.7 kB / 408 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.4137, allocations: 0 / 408 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.4138, allocations: 38.5 kB / 408 MB, free: 1.422 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.4138, allocations: 0 / 408 MB, free: 1.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001888/0.4157, allocations: 0.5575 MB / 408.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.4157, allocations: 59.41 kB / 408.6 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.416, allocations: 223 kB / 408.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.416, allocations: 33.7 kB / 408.9 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.4161, allocations: 163.9 kB / 409 MB, free: 340 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.4162, allocations: 59.19 kB / 409.1 MB, free: 280 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-05/0.4163, allocations: 37.7 kB / 409.1 MB, free: 236 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.4164, allocations: 326.8 kB / 409.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.4166, allocations: 76.81 kB / 409.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.4168, allocations: 113.9 kB / 409.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.4172, allocations: 173.9 kB / 409.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4172, allocations: 8 kB / 409.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008453/0.418, allocations: 344.6 kB / 410.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4181, allocations: 4 kB / 410.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4181, allocations: 0 / 410.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004303/0.4185, allocations: 88.83 kB / 410.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.4187, allocations: 43.92 kB / 410.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/0.4219, allocations: 2.009 MB / 412.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.4221, allocations: 19.83 kB / 412.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.4222, allocations: 12 kB / 412.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001954/0.4224, allocations: 140.2 kB / 412.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001128/0.4225, allocations: 106.3 kB / 412.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001997/0.4227, allocations: 149.9 kB / 412.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.4227, allocations: 0 / 412.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.00037/0.4231, allocations: 220.4 kB / 412.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4231, allocations: 12.17 kB / 412.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.4231, allocations: 4 kB / 412.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001087/0.4232, allocations: 28.81 kB / 412.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.4234, allocations: 43.98 kB / 413 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.4249, allocations: 1.418 MB / 414.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.425, allocations: 11.88 kB / 414.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.4251, allocations: 12 kB / 414.4 MB, free: 10.5 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.0001745/0.4252, allocations: 189.9 kB / 414.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.4253, allocations: 19.88 kB / 414.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/0.4254, allocations: 29.45 kB / 414.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4254, allocations: 7.938 kB / 414.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.4254, allocations: 0 / 414.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.4254, allocations: 0 / 414.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.4267, allocations: 0.6235 MB / 415.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.4267, allocations: 0 / 415.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.4269, allocations: 27.92 kB / 415.3 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002795/0.4271, allocations: 80.8 kB / 415.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.4272, allocations: 0 / 415.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/0.4299, allocations: 1.927 MB / 417.3 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.4299, allocations: 0 / 417.3 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000991/0.4309, allocations: 436.3 kB / 417.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.281e-05/0.431, allocations: 100.9 kB / 417.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.431, allocations: 3.938 kB / 417.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.4312, allocations: 28.05 kB / 417.9 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.4313, allocations: 7.984 kB / 417.9 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.4313, allocations: 4 kB / 417.9 MB, free: 6.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002019/0.4315, allocations: 172.6 kB / 418.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4315, allocations: 0 / 418.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005899/0.4321, allocations: 111.7 kB / 418.2 MB, free: 6.512 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.0001763/0.4323, allocations: 112 kB / 418.3 MB, free: 6.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.4336, allocations: 0.5361 MB / 418.8 MB, free: 5.828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.4336, allocations: 4 kB / 418.8 MB, free: 5.824 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.4339, allocations: 199.3 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.0004077/0.4343, allocations: 30.66 kB / 419.1 MB, free: 5.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.4355, allocations: 0.5084 MB / 419.6 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.4359, allocations: 0.744 MB / 420.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.436, allocations: 21.95 kB / 420.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.4361, allocations: 23.36 kB / 420.3 MB, free: 4.238 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4361, allocations: 0 / 420.3 MB, free: 4.238 MB / 334.1 MB Notification: Performance of Templates: time 0.007734/0.4438, allocations: 3.121 MB / 423.5 MB, free: 1.141 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