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.001209/0.001209, allocations: 114.9 kB / 17.74 MB, free: 5.336 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.001259/0.001259, allocations: 188.5 kB / 18.67 MB, free: 4.41 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.192/1.192, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 47.94 kB / 352 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.26, allocations: 49.43 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003414/0.2635, allocations: 2.609 MB / 404 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.2645, allocations: 0.6662 MB / 404.7 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.2647, allocations: 4 kB / 404.7 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.2648, allocations: 39.58 kB / 404.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.2651, allocations: 87.25 kB / 404.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.2652, allocations: 79.88 kB / 404.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.2655, allocations: 310.6 kB / 405.2 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.2657, allocations: 96.94 kB / 405.3 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.2659, allocations: 111.6 kB / 405.4 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.266, allocations: 127.4 kB / 405.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.2661, allocations: 24 kB / 405.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.925e-05/0.2661, allocations: 24 kB / 405.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.2662, allocations: 55.83 kB / 405.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.2663, allocations: 131.4 kB / 405.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.2665, allocations: 300 kB / 406.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2666, allocations: 0 / 406.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2666, allocations: 0 / 406.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.2666, allocations: 0 / 406.1 MB, free: 4.184 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.000839/0.2674, allocations: 0.5615 MB / 406.6 MB, free: 3.574 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2675, allocations: 8.031 kB / 406.6 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.2675, allocations: 28.66 kB / 406.7 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.2678, allocations: 259.8 kB / 406.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.2678, allocations: 16.94 kB / 406.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.2679, allocations: 16.38 kB / 407 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.2683, allocations: 241.1 kB / 407.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2683, allocations: 0 / 407.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.2683, allocations: 11.98 kB / 407.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.2683, allocations: 8 kB / 407.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.2687, allocations: 186.2 kB / 407.4 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.27, allocations: 0.8967 MB / 408.3 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/0.2706, allocations: 218.6 kB / 408.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.2709, allocations: 124.7 kB / 408.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.271, allocations: 0 / 408.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.271, allocations: 42.56 kB / 408.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 9.62e-07/0.271, allocations: 0 / 408.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.00166/0.2727, allocations: 0.5575 MB / 409.2 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.2727, allocations: 51.41 kB / 409.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.2729, allocations: 231 kB / 409.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.2729, allocations: 25.7 kB / 409.5 MB, free: 496 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.149e-05/0.273, allocations: 167.8 kB / 409.7 MB, free: 324 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.2731, allocations: 63.17 kB / 409.8 MB, free: 260 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-05/0.2732, allocations: 41.7 kB / 409.8 MB, free: 212 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2733, allocations: 334.8 kB / 410.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.2734, allocations: 64.83 kB / 410.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.2736, allocations: 114 kB / 410.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.274, allocations: 177.9 kB / 410.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.274, allocations: 0 / 410.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007897/0.2748, allocations: 344.8 kB / 410.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2748, allocations: 7.984 kB / 410.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2748, allocations: 4 kB / 410.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003381/0.2752, allocations: 80.78 kB / 410.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.2753, allocations: 39.97 kB / 410.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/0.278, allocations: 2.013 MB / 412.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.2782, allocations: 27.83 kB / 413 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.2783, allocations: 4 kB / 413 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001457/0.2784, allocations: 148.1 kB / 413.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001143/0.2785, allocations: 102.4 kB / 413.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001757/0.2787, allocations: 145.9 kB / 413.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.2787, allocations: 0 / 413.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003363/0.2791, allocations: 224.2 kB / 413.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.2791, allocations: 4 kB / 413.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2791, allocations: 4 kB / 413.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.078e-05/0.2792, allocations: 33.06 kB / 413.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.2793, allocations: 43.91 kB / 413.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009153/0.2803, allocations: 1.418 MB / 415.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.2804, allocations: 15.84 kB / 415.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.2804, allocations: 4 kB / 415.1 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.0001139/0.2805, allocations: 192.2 kB / 415.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.2806, allocations: 23.75 kB / 415.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.361e-05/0.2806, allocations: 25.52 kB / 415.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2806, allocations: 3.938 kB / 415.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.2806, allocations: 4.062 kB / 415.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2807, allocations: 64 / 415.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.2817, allocations: 0.6318 MB / 416 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2817, allocations: 0 / 416 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.2818, allocations: 23.98 kB / 416 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002403/0.2821, allocations: 72.8 kB / 416.1 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.2821, allocations: 4 kB / 416.1 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/0.2843, allocations: 1.919 MB / 418 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2843, allocations: 3.938 kB / 418 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008165/0.2851, allocations: 440.4 kB / 418.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.2852, allocations: 96.88 kB / 418.5 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.2852, allocations: 11.94 kB / 418.5 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.2854, allocations: 16.11 kB / 418.6 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.2855, allocations: 16.05 kB / 418.6 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.2855, allocations: 8 kB / 418.6 MB, free: 6.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001484/0.2856, allocations: 164.6 kB / 418.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2856, allocations: 0 / 418.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00053/0.2862, allocations: 119.7 kB / 418.9 MB, free: 6.492 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.0001233/0.2863, allocations: 104 kB / 419 MB, free: 6.379 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.2874, allocations: 0.5401 MB / 419.5 MB, free: 5.812 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2874, allocations: 0 / 419.5 MB, free: 5.812 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.2877, allocations: 203.3 kB / 419.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.288, allocations: 38.16 kB / 419.7 MB, free: 5.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.2891, allocations: 0.5296 MB / 420.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.2894, allocations: 0.7479 MB / 421 MB, free: 4.227 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.2894, allocations: 19.44 kB / 421 MB, free: 4.207 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2894, allocations: 0 / 421 MB, free: 4.207 MB / 334.1 MB Notification: Performance of Templates: time 0.004982/0.2944, allocations: 3.545 MB / 424.6 MB, free: 0.668 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches