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.001331/0.001331, allocations: 99.66 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.001688/0.001688, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.46/1.46, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.001616/0.001616, allocations: 51.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2493, allocations: 53.37 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004147/0.2534, allocations: 2.45 MB / 434.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.2548, allocations: 0.67 MB / 435.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.255, allocations: 4 kB / 435.5 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.2551, allocations: 39.58 kB / 435.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.2554, allocations: 95.25 kB / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.2556, allocations: 79.91 kB / 435.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003571/0.256, allocations: 306.7 kB / 436 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.2561, allocations: 69.91 kB / 436.1 MB, free: 3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.2563, allocations: 111.6 kB / 436.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.2565, allocations: 115.4 kB / 436.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.2565, allocations: 24 kB / 436.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.002e-05/0.2566, allocations: 27.94 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.2566, allocations: 51.84 kB / 436.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.2568, allocations: 111.5 kB / 436.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.2571, allocations: 297.6 kB / 436.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2571, allocations: 7.984 kB / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2571, allocations: 0 / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.2571, allocations: 0 / 436.8 MB, free: 2.273 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.001038/0.2582, allocations: 497.6 kB / 437.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.2582, allocations: 8.031 kB / 437.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.463e-05/0.2583, allocations: 32.75 kB / 437.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.2587, allocations: 202.8 kB / 437.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.2587, allocations: 12.88 kB / 437.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.2587, allocations: 20.38 kB / 437.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/0.2593, allocations: 313.4 kB / 437.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2593, allocations: 3.984 kB / 437.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.2593, allocations: 11.94 kB / 437.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.2593, allocations: 8 kB / 437.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004409/0.2598, allocations: 181.9 kB / 438.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.2612, allocations: 0.765 MB / 438.8 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/0.2619, allocations: 202.8 kB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.2622, allocations: 116.8 kB / 439.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.2623, allocations: 0 / 439.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.2623, allocations: 42.48 kB / 439.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.2623, allocations: 0 / 439.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.00182/0.2641, allocations: 489.9 kB / 439.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.2642, allocations: 55.41 kB / 439.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.2644, allocations: 211.8 kB / 439.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.2644, allocations: 25.7 kB / 440 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.2645, allocations: 172.2 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.2646, allocations: 59.5 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/0.2647, allocations: 49.61 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2648, allocations: 334.8 kB / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.265, allocations: 64.83 kB / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.2652, allocations: 114 kB / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.2656, allocations: 181.9 kB / 440.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2656, allocations: 4 kB / 440.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009085/0.2665, allocations: 340.9 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2665, allocations: 4 kB / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.2665, allocations: 4 kB / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000371/0.2669, allocations: 84.77 kB / 441.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.267, allocations: 39.97 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003211/0.2703, allocations: 1.864 MB / 443.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.2705, allocations: 39.91 kB / 443.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.2705, allocations: 8 kB / 443.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002079/0.2707, allocations: 140.1 kB / 443.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001315/0.2708, allocations: 101.9 kB / 443.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002178/0.271, allocations: 141.9 kB / 443.7 MB, free: 11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.271, allocations: 0 / 443.7 MB, free: 11 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003783/0.2714, allocations: 220.2 kB / 443.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2714, allocations: 19.7 kB / 443.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.2714, allocations: 0 / 443.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.834e-05/0.2715, allocations: 24.84 kB / 443.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.2717, allocations: 47.91 kB / 444 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.2728, allocations: 1.288 MB / 445.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.2729, allocations: 11.89 kB / 445.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.2729, allocations: 12 kB / 445.3 MB, free: 9.27 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.0001599/0.2731, allocations: 195.7 kB / 445.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.2732, allocations: 19.89 kB / 445.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.2732, allocations: 21.47 kB / 445.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2732, allocations: 0 / 445.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2732, allocations: 4 kB / 445.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2732, allocations: 4.062 kB / 445.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.2744, allocations: 0.544 MB / 446.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2744, allocations: 0 / 446.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.2745, allocations: 23.98 kB / 446.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002676/0.2748, allocations: 76.8 kB / 446.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.2748, allocations: 0 / 446.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002422/0.2772, allocations: 1.786 MB / 447.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2772, allocations: 0 / 447.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009406/0.2781, allocations: 436.5 kB / 448.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/0.2782, allocations: 27.86 kB / 448.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.2782, allocations: 0 / 448.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.2784, allocations: 19.98 kB / 448.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.2784, allocations: 7.984 kB / 448.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.2784, allocations: 4 kB / 448.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.2786, allocations: 152.5 kB / 448.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2786, allocations: 4.062 kB / 448.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005818/0.2792, allocations: 123.6 kB / 448.7 MB, free: 5.68 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.0001414/0.2793, allocations: 103.2 kB / 448.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.2805, allocations: 0.5242 MB / 449.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2805, allocations: 4.062 kB / 449.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.2808, allocations: 202.5 kB / 449.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.2811, allocations: 35.89 kB / 449.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.2822, allocations: 0.5291 MB / 450.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.2824, allocations: 130.2 kB / 450.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.2824, allocations: 15.44 kB / 450.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2824, allocations: 0 / 450.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of Templates: time 0.005945/0.2883, allocations: 3.512 MB / 453.7 MB, free: 0.5391 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.106328569352627]