Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.00204/0.00204, 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.00249/0.00249, allocations: 205.1 kB / 24.47 MB, free: 3.699 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.48/1.48, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 51.91 kB / 378.9 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2542, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003101/0.2573, allocations: 1.621 MB / 433.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00028/0.2576, allocations: 75.72 kB / 434 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.473e-05/0.2577, allocations: 0 / 434 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.2578, allocations: 11.92 kB / 434 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.661e-05/0.2578, allocations: 15.8 kB / 434 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.258, allocations: 15.98 kB / 434.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.2581, allocations: 75.59 kB / 434.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.2582, allocations: 15.97 kB / 434.1 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.423e-05/0.2583, allocations: 19.94 kB / 434.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/0.2584, allocations: 27.86 kB / 434.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.2584, allocations: 4 kB / 434.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.2584, allocations: 12 kB / 434.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.2584, allocations: 7.984 kB / 434.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.2585, allocations: 31.86 kB / 434.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.2586, allocations: 62.41 kB / 434.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2586, allocations: 0 / 434.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2586, allocations: 4 kB / 434.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.2586, allocations: 0 / 434.3 MB, free: 4.711 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004829/0.2591, allocations: 282.2 kB / 434.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2592, allocations: 16.02 kB / 434.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.2592, allocations: 16.89 kB / 434.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.2594, allocations: 122.4 kB / 434.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.2594, allocations: 8.375 kB / 434.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.2595, allocations: 8.375 kB / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.2596, allocations: 70.17 kB / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.2597, allocations: 192 / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.2597, allocations: 11.92 kB / 434.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2597, allocations: 4 kB / 434.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.94e-05/0.2598, allocations: 27.98 kB / 434.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000622/0.2604, allocations: 303.3 kB / 435.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.2605, allocations: 58.56 kB / 435.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.2605, allocations: 20.84 kB / 435.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.2605, allocations: 0 / 435.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.2606, allocations: 46.5 kB / 435.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.2606, allocations: 0 / 435.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007145/0.2613, allocations: 371.7 kB / 435.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.2613, allocations: 51.41 kB / 435.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/0.2614, allocations: 105.8 kB / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.2614, allocations: 29.7 kB / 435.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.2615, allocations: 104 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.2615, allocations: 47.59 kB / 436 MB, free: 2.836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.2616, allocations: 21.72 kB / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2617, allocations: 326.8 kB / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.218e-05/0.2618, allocations: 12 kB / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.878e-05/0.2618, allocations: 61.14 kB / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.2619, allocations: 89.02 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.2619, allocations: 0 / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001594/0.2621, allocations: 113.5 kB / 436.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2621, allocations: 8 kB / 436.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2621, allocations: 0 / 436.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2621, allocations: 4 kB / 436.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-05/0.2622, allocations: 19.98 kB / 436.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2622, allocations: 4 kB / 436.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.857e-05/0.2623, allocations: 0 / 436.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.2623, allocations: 7.938 kB / 436.6 MB, free: 2.125 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.539e-05/0.2624, allocations: 129.9 kB / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.2624, allocations: 7.953 kB / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.2624, allocations: 12.52 kB / 436.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2624, allocations: 3.984 kB / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2625, allocations: 0 / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.2625, allocations: 0 / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.2629, allocations: 350.2 kB / 437.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2629, allocations: 4 kB / 437.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.409e-05/0.263, allocations: 20.14 kB / 437.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.263, allocations: 4 kB / 437.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.263, allocations: 7.938 kB / 437.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.263, allocations: 0 / 437.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.263, allocations: 4 kB / 437.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.2633, allocations: 227.7 kB / 437.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.2633, allocations: 7.969 kB / 437.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.2633, allocations: 7.938 kB / 437.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.2634, allocations: 3.984 kB / 437.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.2634, allocations: 8 kB / 437.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.2634, allocations: 4 kB / 437.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.564e-05/0.2635, allocations: 99.27 kB / 437.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2635, allocations: 0 / 437.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.2637, allocations: 12.09 kB / 437.5 MB, free: 1.129 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001009/0.2638, allocations: 103.2 kB / 437.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.264, allocations: 59.84 kB / 437.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.264, allocations: 0 / 437.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.08e-05/0.264, allocations: 24.44 kB / 437.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.2644, allocations: 27.92 kB / 437.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/0.265, allocations: 369.3 kB / 438.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.062e-05/0.2651, allocations: 76.08 kB / 438.2 MB, free: 420 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.2651, allocations: 11.44 kB / 438.2 MB, free: 408 kB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2651, allocations: 4 kB / 438.2 MB, free: 404 kB / 334.1 MB Notification: Performance of Templates: time 0.002918/0.268, allocations: 0.9964 MB / 439.2 MB, free: 15.4 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.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: 6.755667784978868]