Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001119/0.001119, allocations: 103.9 kB / 18.39 MB, free: 4.641 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.0009998/0.0009998, allocations: 190.5 kB / 19.33 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 51.92 kB / 329.2 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08037/0.08163, allocations: 46.6 MB / 375.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003721/0.08539, allocations: 2.586 MB / 378.4 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.08669, allocations: 0.7056 MB / 379.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.08691, allocations: 4 kB / 379.1 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.08711, allocations: 51.56 kB / 379.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.0874, allocations: 79.33 kB / 379.3 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.0876, allocations: 87.81 kB / 379.4 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000373/0.08798, allocations: 306.5 kB / 379.7 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.0882, allocations: 96.92 kB / 379.7 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.08836, allocations: 111.6 kB / 379.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.08855, allocations: 131.4 kB / 380 MB, free: 384 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.816e-05/0.0886, allocations: 24 kB / 380 MB, free: 360 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.818e-05/0.08866, allocations: 24 kB / 380 MB, free: 336 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.08873, allocations: 63.7 kB / 380.1 MB, free: 272 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.08887, allocations: 131.4 kB / 380.2 MB, free: 140 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1733/0.2622, allocations: 280.4 kB / 380.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.2622, allocations: 0.5156 kB / 380.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2622, allocations: 0.8438 kB / 380.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.2623, allocations: 1.312 kB / 380.5 MB, free: 10.41 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.0009042/0.2632, allocations: 0.5602 MB / 381.1 MB, free: 10 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2632, allocations: 9.625 kB / 381.1 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.2633, allocations: 31.81 kB / 381.1 MB, free: 9.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.2636, allocations: 253.7 kB / 381.3 MB, free: 9.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.2636, allocations: 17.25 kB / 381.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.2637, allocations: 25.12 kB / 381.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.2641, allocations: 223 kB / 381.6 MB, free: 9.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2641, allocations: 3.938 kB / 381.6 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.2642, allocations: 14.31 kB / 381.6 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2642, allocations: 5.5 kB / 381.6 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.2646, allocations: 191.6 kB / 381.8 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.2659, allocations: 0.8967 MB / 382.7 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.2665, allocations: 212.9 kB / 382.9 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.2669, allocations: 123 kB / 383 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.2669, allocations: 6.703 kB / 383 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.2669, allocations: 36.31 kB / 383.1 MB, free: 9.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.267, allocations: 0.5 kB / 383.1 MB, free: 9.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.00195/0.2689, allocations: 0.5533 MB / 383.6 MB, free: 9.055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.269, allocations: 58.55 kB / 383.7 MB, free: 8.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.2692, allocations: 234.3 kB / 383.9 MB, free: 8.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.2692, allocations: 31.45 kB / 384 MB, free: 8.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.575e-05/0.2693, allocations: 172.3 kB / 384.1 MB, free: 8.723 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.2693, allocations: 48.92 kB / 384.2 MB, free: 8.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.2694, allocations: 44.56 kB / 384.2 MB, free: 8.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.346e-05/0.2695, allocations: 331.2 kB / 384.5 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.2696, allocations: 75.56 kB / 384.6 MB, free: 8.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.2698, allocations: 112 kB / 384.7 MB, free: 8.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.2702, allocations: 185.1 kB / 384.9 MB, free: 8.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2702, allocations: 4 kB / 384.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008111/0.271, allocations: 343.6 kB / 385.2 MB, free: 8.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.271, allocations: 5.375 kB / 385.2 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2711, allocations: 1.969 kB / 385.2 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/0.2714, allocations: 77.98 kB / 385.3 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.2716, allocations: 41.97 kB / 385.4 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.274, allocations: 2.018 MB / 387.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.2742, allocations: 29.05 kB / 387.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.2743, allocations: 10.55 kB / 387.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001331/0.2744, allocations: 138.8 kB / 387.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.089e-05/0.2745, allocations: 91.72 kB / 387.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001522/0.2746, allocations: 152.2 kB / 387.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.2747, allocations: 0.875 kB / 387.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003184/0.275, allocations: 218.4 kB / 388 MB, free: 6.359 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.275, allocations: 9.812 kB / 388 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.275, allocations: 2.219 kB / 388 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.323e-05/0.2751, allocations: 26.47 kB / 388 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.2752, allocations: 47.09 kB / 388.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006338/0.2759, allocations: 1.417 MB / 389.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.276, allocations: 20.23 kB / 389.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.2761, allocations: 11.17 kB / 389.5 MB, free: 4.918 MB / 318.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 8.225e-05/0.2761, allocations: 198.8 kB / 389.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.2762, allocations: 21.94 kB / 389.8 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.2762, allocations: 24.5 kB / 389.8 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2762, allocations: 6.438 kB / 389.8 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2763, allocations: 0 / 389.8 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2763, allocations: 1.266 kB / 389.8 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.2773, allocations: 0.6229 MB / 390.4 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2773, allocations: 1.719 kB / 390.4 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.2774, allocations: 26.05 kB / 390.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002511/0.2777, allocations: 74.7 kB / 390.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.2777, allocations: 5.891 kB / 390.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/0.2796, allocations: 1.915 MB / 392.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2796, allocations: 0.75 kB / 392.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008575/0.2805, allocations: 433.5 kB / 392.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/0.2806, allocations: 104.2 kB / 393 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.2806, allocations: 5.062 kB / 393 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.2808, allocations: 28.23 kB / 393 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.2808, allocations: 8 kB / 393 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.2808, allocations: 8.234 kB / 393 MB, free: 2.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.281, allocations: 162 kB / 393.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.281, allocations: 1.125 kB / 393.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005644/0.2816, allocations: 113.5 kB / 393.3 MB, free: 2.145 MB / 318.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.0001332/0.2817, allocations: 112.5 kB / 393.4 MB, free: 2.047 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.2828, allocations: 0.5375 MB / 393.9 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2828, allocations: 0.6875 kB / 393.9 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.2831, allocations: 206.6 kB / 394.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.2835, allocations: 34.06 kB / 394.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009435/0.2844, allocations: 0.5264 MB / 394.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.2846, allocations: 0.7395 MB / 395.4 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.2847, allocations: 19.2 kB / 395.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.2847, allocations: 0 / 395.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of Templates: time 0.006234/0.2909, allocations: 3.528 MB / 399 MB, free: 312 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches