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.001565/0.001565, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.002009/0.002009, allocations: 196 kB / 18 MB, free: 5.051 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.529/1.529, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001007, allocations: 43.92 kB / 351.3 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.4766, allocations: 49.43 MB / 400.8 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004614/0.4813, allocations: 2.613 MB / 403.4 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.4827, allocations: 0.6584 MB / 404 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.483, allocations: 7.938 kB / 404 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.4832, allocations: 43.58 kB / 404.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.4835, allocations: 83.31 kB / 404.2 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.4838, allocations: 83.83 kB / 404.2 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.4843, allocations: 310.6 kB / 404.5 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.4846, allocations: 92.94 kB / 404.6 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.4848, allocations: 111.6 kB / 404.7 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.485, allocations: 123.5 kB / 404.9 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.631e-05/0.485, allocations: 24 kB / 404.9 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.081e-05/0.4851, allocations: 28 kB / 404.9 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.305e-05/0.4852, allocations: 59.75 kB / 405 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.4853, allocations: 135.3 kB / 405.1 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.4857, allocations: 282.8 kB / 405.4 MB, free: 4.191 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4857, allocations: 0 / 405.4 MB, free: 4.191 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4858, allocations: 0 / 405.4 MB, free: 4.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.4858, allocations: 4 kB / 405.4 MB, free: 4.188 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.001169/0.487, allocations: 0.569 MB / 406 MB, free: 3.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.487, allocations: 16.03 kB / 406 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.4872, allocations: 28.75 kB / 406 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006024/0.4878, allocations: 255.9 kB / 406.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.4878, allocations: 20.92 kB / 406.3 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.4879, allocations: 24.38 kB / 406.3 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/0.4885, allocations: 225.2 kB / 406.5 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.4885, allocations: 4 kB / 406.5 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.4885, allocations: 12 kB / 406.5 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.4886, allocations: 4 kB / 406.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005049/0.4891, allocations: 186.2 kB / 406.7 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.4907, allocations: 0.9008 MB / 407.6 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.4914, allocations: 218.3 kB / 407.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/0.4918, allocations: 136.6 kB / 408 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.4918, allocations: 0 / 408 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.4919, allocations: 30.56 kB / 408 MB, free: 1.398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.4919, allocations: 0 / 408 MB, free: 1.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001883/0.4938, allocations: 0.5616 MB / 408.6 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.4938, allocations: 55.41 kB / 408.6 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.4941, allocations: 231 kB / 408.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.4941, allocations: 33.7 kB / 408.9 MB, free: 476 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.4943, allocations: 164.2 kB / 409 MB, free: 308 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.4943, allocations: 59.5 kB / 409.1 MB, free: 248 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.986e-05/0.4944, allocations: 45.67 kB / 409.1 MB, free: 196 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4946, allocations: 330.8 kB / 409.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.4948, allocations: 64.83 kB / 409.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.4951, allocations: 118 kB / 409.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.4955, allocations: 177.8 kB / 409.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4955, allocations: 0 / 409.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008807/0.4964, allocations: 340.9 kB / 410.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.4964, allocations: 12.03 kB / 410.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4964, allocations: 0 / 410.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000426/0.4969, allocations: 80.8 kB / 410.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.497, allocations: 39.91 kB / 410.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00332/0.5004, allocations: 2.025 MB / 412.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.5006, allocations: 27.86 kB / 412.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.5006, allocations: 12 kB / 412.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001816/0.5008, allocations: 136.1 kB / 412.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00013/0.5009, allocations: 102.3 kB / 412.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000194/0.5011, allocations: 149.9 kB / 412.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/0.5011, allocations: 0 / 412.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003551/0.5015, allocations: 224.3 kB / 412.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.5015, allocations: 8 kB / 412.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.5015, allocations: 0 / 412.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001011/0.5016, allocations: 24.84 kB / 413 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.5018, allocations: 47.97 kB / 413 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.503, allocations: 1.411 MB / 414.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.5032, allocations: 19.88 kB / 414.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.5032, allocations: 16.06 kB / 414.5 MB, free: 10.46 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.0002507/0.5034, allocations: 188.2 kB / 414.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.5035, allocations: 19.84 kB / 414.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.499e-05/0.5036, allocations: 21.53 kB / 414.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.5036, allocations: 7.938 kB / 414.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5036, allocations: 3.984 kB / 414.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.5036, allocations: 0 / 414.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.5049, allocations: 0.6321 MB / 415.3 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.5049, allocations: 4 kB / 415.3 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.505, allocations: 27.92 kB / 415.4 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000287/0.5053, allocations: 80.8 kB / 415.4 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.5054, allocations: 3.984 kB / 415.4 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002839/0.5082, allocations: 1.916 MB / 417.4 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5082, allocations: 0 / 417.4 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.5093, allocations: 440 kB / 417.8 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.5094, allocations: 100.9 kB / 417.9 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.5094, allocations: 7.922 kB / 417.9 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.5096, allocations: 19.98 kB / 417.9 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.5097, allocations: 11.98 kB / 417.9 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.5097, allocations: 4.125 kB / 417.9 MB, free: 6.746 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002323/0.51, allocations: 168.6 kB / 418.1 MB, free: 6.582 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.51, allocations: 4 kB / 418.1 MB, free: 6.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000702/0.5107, allocations: 111.8 kB / 418.2 MB, free: 6.469 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.0002994/0.511, allocations: 117.2 kB / 418.3 MB, free: 6.344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.5124, allocations: 0.5365 MB / 418.9 MB, free: 5.781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.5124, allocations: 0 / 418.9 MB, free: 5.781 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.5128, allocations: 194.6 kB / 419 MB, free: 5.578 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.5132, allocations: 40.95 kB / 419.1 MB, free: 5.539 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.5145, allocations: 0.5116 MB / 419.6 MB, free: 5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.515, allocations: 0.744 MB / 420.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.5151, allocations: 21.95 kB / 420.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.5152, allocations: 15.44 kB / 420.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5152, allocations: 0 / 420.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of Templates: time 0.009236/0.5244, allocations: 3.117 MB / 423.5 MB, free: 1.09 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