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.0009912/0.0009912, allocations: 83.73 kB / 21.97 MB, free: 2.598 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.001008/0.001008, allocations: 162.7 kB / 25.33 MB, free: 9.207 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.9728/0.9728, allocations: 158.6 MB / 187.2 MB, free: 2.918 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 2.144e-06/2.144e-06, allocations: 0 / 251 MB, free: 7.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.952e-05, allocations: 2.312 kB / 251 MB, free: 7.406 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002446/0.002476, allocations: 1.677 MB / 252.7 MB, free: 5.715 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002673/0.002743, allocations: 63.78 kB / 252.8 MB, free: 5.652 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.98e-05/0.002803, allocations: 0 / 252.8 MB, free: 5.652 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.002909, allocations: 11.86 kB / 252.8 MB, free: 5.641 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.929e-05/0.002959, allocations: 19.86 kB / 252.8 MB, free: 5.621 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.003075, allocations: 23.91 kB / 252.8 MB, free: 5.598 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.00318, allocations: 67.66 kB / 252.9 MB, free: 5.531 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.003282, allocations: 19.97 kB / 252.9 MB, free: 5.512 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.17e-05/0.003334, allocations: 35.91 kB / 252.9 MB, free: 5.477 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.003393, allocations: 15.98 kB / 253 MB, free: 5.461 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.003412, allocations: 7.938 kB / 253 MB, free: 5.453 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.003423, allocations: 4 kB / 253 MB, free: 5.449 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.003442, allocations: 11.98 kB / 253 MB, free: 5.438 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.00347, allocations: 23.92 kB / 253 MB, free: 5.414 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.003609, allocations: 43.89 kB / 253 MB, free: 5.371 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.003612, allocations: 0 / 253 MB, free: 5.371 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.003614, allocations: 4 kB / 253 MB, free: 5.367 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.003619, allocations: 0 / 253 MB, free: 5.367 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.0003475/0.003966, allocations: 384.5 kB / 253.4 MB, free: 4.953 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.004004, allocations: 19.92 kB / 253.4 MB, free: 4.934 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.004042, allocations: 12.89 kB / 253.5 MB, free: 4.922 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.004174, allocations: 132.4 kB / 253.6 MB, free: 4.766 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.004184, allocations: 8.359 kB / 253.6 MB, free: 4.758 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.004208, allocations: 8.375 kB / 253.6 MB, free: 4.75 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.004308, allocations: 62.23 kB / 253.7 MB, free: 4.684 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.004317, allocations: 192 / 253.7 MB, free: 4.684 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.004326, allocations: 384 / 253.7 MB, free: 4.684 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.004333, allocations: 4.375 kB / 253.7 MB, free: 4.68 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.81e-05/0.004381, allocations: 27.91 kB / 253.7 MB, free: 4.652 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.004855, allocations: 358.7 kB / 254 MB, free: 4.258 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.691e-05/0.004932, allocations: 58.98 kB / 254.1 MB, free: 4.188 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.004957, allocations: 11.69 kB / 254.1 MB, free: 4.172 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-06/0.004964, allocations: 4 kB / 254.1 MB, free: 4.168 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.004984, allocations: 45.33 kB / 254.2 MB, free: 4.113 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.004985, allocations: 0 / 254.2 MB, free: 4.113 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004888/0.005474, allocations: 360.2 kB / 254.5 MB, free: 3.699 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.0055, allocations: 51.41 kB / 254.6 MB, free: 3.637 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.699e-05/0.005567, allocations: 165.9 kB / 254.7 MB, free: 3.457 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.005578, allocations: 25.7 kB / 254.7 MB, free: 3.426 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.005624, allocations: 146.8 kB / 254.9 MB, free: 3.277 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.005644, allocations: 31.69 kB / 254.9 MB, free: 3.246 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.005676, allocations: 35.36 kB / 255 MB, free: 3.203 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.005773, allocations: 0.4922 MB / 255.4 MB, free: 2.699 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.005792, allocations: 11.98 kB / 255.5 MB, free: 2.688 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.41e-05/0.005836, allocations: 70.11 kB / 255.5 MB, free: 2.594 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.035e-05/0.005906, allocations: 93.98 kB / 255.6 MB, free: 2.477 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.005907, allocations: 0 / 255.6 MB, free: 2.477 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.705e-05/0.006004, allocations: 101.6 kB / 255.7 MB, free: 2.371 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.006015, allocations: 4 kB / 255.7 MB, free: 2.367 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.00602, allocations: 8.078 kB / 255.7 MB, free: 2.359 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.00603, allocations: 4 kB / 255.7 MB, free: 2.355 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/0.006084, allocations: 23.98 kB / 255.8 MB, free: 2.332 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.00609, allocations: 3.938 kB / 255.8 MB, free: 2.328 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.294e-05/0.006113, allocations: 8 kB / 255.8 MB, free: 2.32 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.00612, allocations: 4 kB / 255.8 MB, free: 2.316 MB / 234.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.101e-05/0.006181, allocations: 164.5 kB / 255.9 MB, free: 2.145 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.006197, allocations: 11.95 kB / 255.9 MB, free: 2.133 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.006224, allocations: 12.42 kB / 256 MB, free: 2.121 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.006225, allocations: 0 / 256 MB, free: 2.121 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.006228, allocations: 4 kB / 256 MB, free: 2.117 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.006232, allocations: 4 kB / 256 MB, free: 2.113 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.006527, allocations: 407.6 kB / 256.4 MB, free: 1.652 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.006529, allocations: 0 / 256.4 MB, free: 1.652 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-05/0.006576, allocations: 16 kB / 256.4 MB, free: 1.637 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.006578, allocations: 0 / 256.4 MB, free: 1.637 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.006588, allocations: 11.98 kB / 256.4 MB, free: 1.621 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.00659, allocations: 1.172 kB / 256.4 MB, free: 1.621 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.006593, allocations: 16.03 kB / 256.4 MB, free: 1.605 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.006743, allocations: 274.3 kB / 256.7 MB, free: 1.297 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.006751, allocations: 7.953 kB / 256.7 MB, free: 1.289 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-06/0.006761, allocations: 0 / 256.7 MB, free: 1.289 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.947e-05/0.0068, allocations: 8 kB / 256.7 MB, free: 1.281 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.006818, allocations: 11.92 kB / 256.7 MB, free: 1.27 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.006822, allocations: 4 kB / 256.7 MB, free: 1.266 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.016e-05/0.006852, allocations: 127.2 kB / 256.8 MB, free: 1.141 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006852, allocations: 0 / 256.8 MB, free: 1.141 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001594/0.007011, allocations: 12 kB / 256.8 MB, free: 1.129 MB / 234.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.568e-05/0.007077, allocations: 111.2 kB / 257 MB, free: 1.012 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.246e-05/0.007169, allocations: 51.64 kB / 257 MB, free: 0.957 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.007171, allocations: 0 / 257 MB, free: 0.957 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.637e-05/0.007197, allocations: 39.55 kB / 257 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.007411, allocations: 12.22 kB / 257.1 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.007776, allocations: 309.5 kB / 257.4 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.671e-05/0.007813, allocations: 63.34 kB / 257.4 MB, free: 480 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.256e-05/0.007836, allocations: 4.5 kB / 257.4 MB, free: 476 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.007858, allocations: 12.5 kB / 257.4 MB, free: 464 kB / 234.7 MB Notification: Performance of SimCode: time 6.71e-07/0.007858, allocations: 0 / 257.4 MB, free: 464 kB / 234.7 MB Notification: Performance of Templates: time 0.001999/0.009858, allocations: 0.6673 MB / 258.1 MB, free: 15.79 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.6786510832607746]