Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 206.8 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 43.94 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.257, allocations: 53.37 MB / 432.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004146/0.2612, allocations: 2.45 MB / 434.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.2626, allocations: 0.6583 MB / 435.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.2628, allocations: 7.938 kB / 435.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.2629, allocations: 47.52 kB / 435.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.2632, allocations: 83.31 kB / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.2634, allocations: 87.83 kB / 435.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.2638, allocations: 310.7 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.264, allocations: 69.97 kB / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.2641, allocations: 115.6 kB / 436.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.2643, allocations: 127.5 kB / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.636e-05/0.2644, allocations: 28 kB / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.316e-05/0.2644, allocations: 31.94 kB / 436.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.2645, allocations: 55.77 kB / 436.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.2646, allocations: 111.5 kB / 436.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.265, allocations: 289.7 kB / 436.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.265, allocations: 0 / 436.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.265, allocations: 0 / 436.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.265, allocations: 0 / 436.8 MB, free: 2.25 MB / 334.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.001039/0.266, allocations: 0.4927 MB / 437.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.2661, allocations: 12.03 kB / 437.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.774e-05/0.2661, allocations: 28.75 kB / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.2666, allocations: 202.8 kB / 437.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.2666, allocations: 12.88 kB / 437.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.2666, allocations: 28.38 kB / 437.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.2672, allocations: 309.5 kB / 437.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.2672, allocations: 0 / 437.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.2672, allocations: 12 kB / 437.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.2672, allocations: 4 kB / 437.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004374/0.2677, allocations: 193.8 kB / 438.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.2691, allocations: 0.765 MB / 438.9 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/0.2698, allocations: 194.7 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.2701, allocations: 116.8 kB / 439.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.2701, allocations: 4 kB / 439.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2701, allocations: 38.5 kB / 439.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.2701, allocations: 4 kB / 439.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001823/0.272, allocations: 497.2 kB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.272, allocations: 51.41 kB / 439.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.2722, allocations: 215.7 kB / 440 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.2723, allocations: 25.7 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.2724, allocations: 176.1 kB / 440.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.2724, allocations: 55.53 kB / 440.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/0.2725, allocations: 41.66 kB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2727, allocations: 334.8 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.2729, allocations: 64.83 kB / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.2731, allocations: 121.9 kB / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003654/0.2735, allocations: 181.9 kB / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2735, allocations: 0 / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008782/0.2743, allocations: 338.1 kB / 441.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2744, allocations: 8 kB / 441.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2744, allocations: 0 / 441.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003821/0.2747, allocations: 80.83 kB / 441.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.2749, allocations: 39.92 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00303/0.2779, allocations: 1.875 MB / 443.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.2781, allocations: 27.81 kB / 443.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.2781, allocations: 12.05 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001691/0.2783, allocations: 140.2 kB / 443.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001225/0.2784, allocations: 97.92 kB / 443.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002021/0.2786, allocations: 156.7 kB / 443.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.2786, allocations: 0 / 443.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003549/0.279, allocations: 218.1 kB / 443.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.279, allocations: 11.88 kB / 443.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.279, allocations: 4 kB / 443.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.003e-05/0.2791, allocations: 28.83 kB / 443.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.2793, allocations: 48.11 kB / 444 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.2803, allocations: 1.284 MB / 445.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.2804, allocations: 11.89 kB / 445.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.2804, allocations: 8 kB / 445.3 MB, free: 9.238 MB / 350.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.0001613/0.2806, allocations: 188.2 kB / 445.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.2806, allocations: 15.91 kB / 445.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.2807, allocations: 25.47 kB / 445.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2807, allocations: 4.062 kB / 445.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2807, allocations: 0 / 445.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2807, allocations: 3.984 kB / 445.5 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.2818, allocations: 0.5378 MB / 446.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.2818, allocations: 0 / 446.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.2819, allocations: 23.98 kB / 446.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002793/0.2822, allocations: 80.94 kB / 446.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.2822, allocations: 4 kB / 446.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002517/0.2847, allocations: 1.785 MB / 448 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2847, allocations: 8 kB / 448 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009306/0.2857, allocations: 435.5 kB / 448.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.2857, allocations: 19.92 kB / 448.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.2857, allocations: 4 kB / 448.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.2859, allocations: 19.98 kB / 448.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.286, allocations: 11.97 kB / 448.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.286, allocations: 8.062 kB / 448.5 MB, free: 5.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.2861, allocations: 148.5 kB / 448.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2861, allocations: 0 / 448.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005946/0.2867, allocations: 131.5 kB / 448.7 MB, free: 5.641 MB / 350.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.0001383/0.2869, allocations: 99.25 kB / 448.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.2881, allocations: 0.5306 MB / 449.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2881, allocations: 0 / 449.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.2884, allocations: 190.6 kB / 449.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.2888, allocations: 31.77 kB / 449.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.2899, allocations: 0.5341 MB / 450.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.29, allocations: 130.2 kB / 450.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.2901, allocations: 23.44 kB / 450.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.2901, allocations: 0 / 450.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of Templates: time 0.005974/0.2961, allocations: 3.512 MB / 453.8 MB, free: 0.5 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.262791325018043]