Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001144/0.001144, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 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.0008864/0.0008864, allocations: 169.5 kB / 25.33 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.884/0.884, allocations: 158.6 MB / 187.2 MB, free: 2.504 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 251 MB, free: 3.621 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.754e-05, allocations: 6.312 kB / 251 MB, free: 3.613 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001963/0.001981, allocations: 1.671 MB / 252.7 MB, free: 1.926 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002262/0.002207, allocations: 67.72 kB / 252.8 MB, free: 1.859 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.002268, allocations: 4 kB / 252.8 MB, free: 1.855 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.383e-05/0.002362, allocations: 3.938 kB / 252.8 MB, free: 1.852 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.75e-05/0.002409, allocations: 27.78 kB / 252.8 MB, free: 1.824 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.002534, allocations: 11.98 kB / 252.8 MB, free: 1.812 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.002645, allocations: 67.66 kB / 252.9 MB, free: 1.746 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.002763, allocations: 15.98 kB / 252.9 MB, free: 1.73 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.595e-05/0.002819, allocations: 39.91 kB / 252.9 MB, free: 1.691 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.794e-05/0.002897, allocations: 19.91 kB / 252.9 MB, free: 1.672 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.002916, allocations: 4 kB / 253 MB, free: 1.668 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.002929, allocations: 8 kB / 253 MB, free: 1.66 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.00295, allocations: 11.98 kB / 253 MB, free: 1.648 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.002983, allocations: 19.94 kB / 253 MB, free: 1.629 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.003115, allocations: 47.81 kB / 253 MB, free: 1.582 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003117, allocations: 0 / 253 MB, free: 1.582 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003117, allocations: 0 / 253 MB, free: 1.582 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.003121, allocations: 0 / 253 MB, free: 1.582 MB / 234.7 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.0003788/0.0035, allocations: 396.4 kB / 253.4 MB, free: 1.156 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.003545, allocations: 11.98 kB / 253.4 MB, free: 1.145 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.003594, allocations: 16.89 kB / 253.5 MB, free: 1.129 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.003739, allocations: 132.5 kB / 253.6 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.003748, allocations: 4.375 kB / 253.6 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.003777, allocations: 8.375 kB / 253.6 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.003895, allocations: 66.16 kB / 253.7 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.003904, allocations: 192 / 253.7 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.003914, allocations: 384 / 253.7 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.003921, allocations: 384 / 253.7 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.105e-05/0.003972, allocations: 31.91 kB / 253.7 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.004465, allocations: 350.8 kB / 254 MB, free: 484 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.317e-05/0.004548, allocations: 66.92 kB / 254.1 MB, free: 404 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.004573, allocations: 15.67 kB / 254.1 MB, free: 384 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.004581, allocations: 160 / 254.1 MB, free: 384 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.004602, allocations: 41.39 kB / 254.2 MB, free: 332 kB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 7.52e-07/0.004602, allocations: 0 / 254.2 MB, free: 332 kB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005378/0.00514, allocations: 356.1 kB / 254.5 MB, free: 15.91 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.005168, allocations: 55.41 kB / 254.6 MB, free: 15.85 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.587e-05/0.005244, allocations: 165.9 kB / 254.7 MB, free: 15.67 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.005259, allocations: 33.64 kB / 254.8 MB, free: 15.63 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.005313, allocations: 142.8 kB / 254.9 MB, free: 15.48 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.005335, allocations: 39.66 kB / 254.9 MB, free: 15.45 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.005369, allocations: 31.38 kB / 255 MB, free: 15.41 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.005481, allocations: 0.4922 MB / 255.5 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.005502, allocations: 11.98 kB / 255.5 MB, free: 14.89 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.358e-05/0.005556, allocations: 69.98 kB / 255.5 MB, free: 14.8 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.589e-05/0.005632, allocations: 86.06 kB / 255.6 MB, free: 14.69 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.005633, allocations: 0 / 255.6 MB, free: 14.69 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001035/0.005737, allocations: 109.5 kB / 255.7 MB, free: 14.58 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.005748, allocations: 4 kB / 255.7 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.005758, allocations: 0 / 255.7 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.005771, allocations: 4 kB / 255.7 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.76e-05/0.005829, allocations: 27.92 kB / 255.8 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.005834, allocations: 0 / 255.8 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.005857, allocations: 8.141 kB / 255.8 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.005864, allocations: 7.938 kB / 255.8 MB, free: 14.53 MB / 250.7 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 6.557e-05/0.005929, allocations: 164.5 kB / 255.9 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.005948, allocations: 20.03 kB / 256 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.005974, allocations: 8.438 kB / 256 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.005975, allocations: 0 / 256 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.005979, allocations: 0 / 256 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.005982, allocations: 3.984 kB / 256 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.006289, allocations: 399.7 kB / 256.4 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.006291, allocations: 4 kB / 256.4 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.006339, allocations: 19.94 kB / 256.4 MB, free: 13.85 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.006341, allocations: 4.156 kB / 256.4 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.006351, allocations: 8 kB / 256.4 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.006352, allocations: 1.172 kB / 256.4 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.006356, allocations: 7.938 kB / 256.4 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.006526, allocations: 278.3 kB / 256.7 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.006534, allocations: 7.984 kB / 256.7 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.006544, allocations: 0 / 256.7 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.624e-05/0.00658, allocations: 8 kB / 256.7 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.0066, allocations: 15.86 kB / 256.7 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.006606, allocations: 8 kB / 256.7 MB, free: 13.48 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.774e-05/0.006643, allocations: 131.2 kB / 256.8 MB, free: 13.35 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006643, allocations: 0 / 256.8 MB, free: 13.35 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001628/0.006806, allocations: 12 kB / 256.9 MB, free: 13.34 MB / 250.7 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 6.878e-05/0.006875, allocations: 99.25 kB / 256.9 MB, free: 13.23 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.362e-05/0.006969, allocations: 55.53 kB / 257 MB, free: 13.17 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.00697, allocations: 0 / 257 MB, free: 13.17 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.804e-05/0.006998, allocations: 32.05 kB / 257 MB, free: 13.14 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.007214, allocations: 22.94 kB / 257.1 MB, free: 13.12 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.007629, allocations: 312.8 kB / 257.4 MB, free: 12.76 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.838e-05/0.007677, allocations: 59.36 kB / 257.4 MB, free: 12.68 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.435e-05/0.007701, allocations: 8.484 kB / 257.4 MB, free: 12.68 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.00773, allocations: 12.5 kB / 257.4 MB, free: 12.66 MB / 250.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007731, allocations: 4 kB / 257.4 MB, free: 12.66 MB / 250.7 MB Notification: Performance of Templates: time 0.002113/0.009844, allocations: 0.6347 MB / 258.1 MB, free: 12.03 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.632010984234512]