Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001453/0.001453, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001666/0.001666, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 230.5 MB / 258.1 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.89 kB / 379 MB, free: 2.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2624, allocations: 53.4 MB / 432.4 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.005291/0.2677, allocations: 2.484 MB / 434.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.2694, allocations: 0.6349 MB / 435.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.2696, allocations: 7.938 kB / 435.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.2698, allocations: 47.56 kB / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.2702, allocations: 87.27 kB / 435.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.2704, allocations: 67.91 kB / 435.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004714/0.2709, allocations: 314.6 kB / 436.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002416/0.2711, allocations: 65.69 kB / 436.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.2713, allocations: 115.6 kB / 436.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.2716, allocations: 119.4 kB / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.987e-05/0.2716, allocations: 24 kB / 436.4 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.415e-05/0.2717, allocations: 28 kB / 436.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.2718, allocations: 51.78 kB / 436.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.2719, allocations: 115.5 kB / 436.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.2723, allocations: 305.6 kB / 436.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2723, allocations: 4 kB / 436.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2723, allocations: 0 / 436.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.2723, allocations: 3.938 kB / 436.9 MB, free: 2.012 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0008774/0.2732, allocations: 493.5 kB / 437.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2732, allocations: 11.98 kB / 437.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.2733, allocations: 36.75 kB / 437.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.2737, allocations: 194.9 kB / 437.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.2737, allocations: 20.88 kB / 437.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/0.2738, allocations: 28.33 kB / 437.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.2742, allocations: 323.1 kB / 437.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2742, allocations: 0 / 437.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.2743, allocations: 12 kB / 438 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.2743, allocations: 4 kB / 438 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.2745, allocations: 165.9 kB / 438.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.276, allocations: 0.7768 MB / 438.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.2765, allocations: 182.5 kB / 439.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.2768, allocations: 104.8 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.2768, allocations: 3.984 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.2768, allocations: 42.5 kB / 439.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.2768, allocations: 0 / 439.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006378/0.2775, allocations: 241.3 kB / 439.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.2775, allocations: 55.41 kB / 439.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.2778, allocations: 215.7 kB / 439.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.2778, allocations: 29.7 kB / 439.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.2779, allocations: 176.1 kB / 439.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/0.278, allocations: 71.42 kB / 440 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.033e-05/0.278, allocations: 45.72 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2782, allocations: 334.8 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.2783, allocations: 59.97 kB / 440.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.2785, allocations: 117.9 kB / 440.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.2787, allocations: 180.7 kB / 440.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2787, allocations: 0 / 440.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004192/0.2791, allocations: 246.1 kB / 441 MB, free: 13.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.2792, allocations: 8 kB / 441 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2792, allocations: 0 / 441 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/0.2793, allocations: 28.84 kB / 441 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.2796, allocations: 55.91 kB / 441.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.2807, allocations: 1.288 MB / 442.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.2809, allocations: 27.83 kB / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.2809, allocations: 8 kB / 442.4 MB, free: 12.12 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: 2 (opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.2811, allocations: 137.3 kB / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.2811, allocations: 27.8 kB / 442.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.112e-05/0.2812, allocations: 21.81 kB / 442.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2812, allocations: 0 / 442.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2812, allocations: 7.922 kB / 442.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2812, allocations: 8.062 kB / 442.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008057/0.282, allocations: 491.8 kB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.282, allocations: 0 / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.2822, allocations: 39.92 kB / 443.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.959e-05/0.2823, allocations: 24.84 kB / 443.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.2823, allocations: 0 / 443.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.2833, allocations: 1.292 MB / 444.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2833, allocations: 0 / 444.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004591/0.2838, allocations: 349.5 kB / 444.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.2838, allocations: 23.88 kB / 444.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.2839, allocations: 0 / 444.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.2841, allocations: 19.98 kB / 444.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.2841, allocations: 11.97 kB / 444.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.2842, allocations: 16.12 kB / 444.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.2843, allocations: 149.5 kB / 445 MB, free: 9.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2843, allocations: 0 / 445 MB, free: 9.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003505/0.2846, allocations: 67.89 kB / 445 MB, free: 9.281 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (opAmp.v_int,c.v) * Number of discrete variables: 2 (opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001367/0.2848, allocations: 107.2 kB / 445.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.2853, allocations: 266.7 kB / 445.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2853, allocations: 4.125 kB / 445.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.2855, allocations: 182.6 kB / 445.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.2859, allocations: 44.78 kB / 445.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.2874, allocations: 0.6607 MB / 446.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.2875, allocations: 138.4 kB / 446.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.2876, allocations: 27.42 kB / 446.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2876, allocations: 0 / 446.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of Templates: time 0.006635/0.2942, allocations: 3.713 MB / 450.2 MB, free: 4.07 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.534017622005194]