Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 142.3 kB / 24.97 MB, free: 8.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9017/0.9017, allocations: 173.3 MB / 201.5 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 268 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.741e-05, allocations: 6.25 kB / 268.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001798/0.001815, allocations: 1.671 MB / 269.7 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002011/0.002016, allocations: 71.66 kB / 269.8 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.002072, allocations: 4 kB / 269.8 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.301e-05/0.002155, allocations: 7.922 kB / 269.8 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.202e-05/0.002197, allocations: 19.8 kB / 269.8 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001055/0.002303, allocations: 15.98 kB / 269.8 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.9e-05/0.002402, allocations: 71.64 kB / 269.9 MB, free: 4.875 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.118e-05/0.002493, allocations: 11.98 kB / 269.9 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.961e-05/0.002543, allocations: 39.95 kB / 270 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.744e-05/0.0026, allocations: 19.92 kB / 270 MB, free: 4.805 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.002617, allocations: 4 kB / 270 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.002633, allocations: 7.938 kB / 270 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.868e-05/0.002652, allocations: 19.92 kB / 270 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.002679, allocations: 15.98 kB / 270 MB, free: 4.758 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.002779, allocations: 43.83 kB / 270.1 MB, free: 4.715 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.002781, allocations: 0 / 270.1 MB, free: 4.715 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.002782, allocations: 4 kB / 270.1 MB, free: 4.711 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.267e-06/0.002785, allocations: 0 / 270.1 MB, free: 4.711 MB / 250.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.0003236/0.003109, allocations: 392.5 kB / 270.5 MB, free: 4.289 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.003139, allocations: 8.922 kB / 270.5 MB, free: 4.281 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.003177, allocations: 12.89 kB / 270.5 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.003298, allocations: 124.6 kB / 270.6 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.003306, allocations: 8.312 kB / 270.6 MB, free: 4.113 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.003326, allocations: 8.328 kB / 270.6 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.574e-05/0.003422, allocations: 62.17 kB / 270.7 MB, free: 4.039 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.003432, allocations: 8.188 kB / 270.7 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.003442, allocations: 4.375 kB / 270.7 MB, free: 4.027 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.003449, allocations: 384 / 270.7 MB, free: 4.027 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.71e-05/0.003496, allocations: 31.42 kB / 270.7 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.003918, allocations: 358.8 kB / 271.1 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.882e-05/0.003987, allocations: 50.98 kB / 271.1 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.004013, allocations: 19.69 kB / 271.1 MB, free: 3.52 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-06/0.004019, allocations: 0 / 271.1 MB, free: 3.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.004036, allocations: 37.39 kB / 271.2 MB, free: 3.473 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 6.91e-07/0.004036, allocations: 0 / 271.2 MB, free: 3.473 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004573/0.004494, allocations: 368 kB / 271.5 MB, free: 3.051 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.004522, allocations: 59.41 kB / 271.6 MB, free: 2.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.048e-05/0.004603, allocations: 170 kB / 271.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.004613, allocations: 25.7 kB / 271.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.004659, allocations: 142.8 kB / 271.9 MB, free: 2.621 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.004676, allocations: 35.7 kB / 272 MB, free: 2.586 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.004707, allocations: 31.36 kB / 272 MB, free: 2.547 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.004807, allocations: 0.4922 MB / 272.5 MB, free: 2.043 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.004828, allocations: 15.98 kB / 272.5 MB, free: 2.027 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.42e-05/0.004872, allocations: 70.11 kB / 272.6 MB, free: 1.934 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.827e-05/0.004941, allocations: 86.05 kB / 272.6 MB, free: 1.824 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.004942, allocations: 0 / 272.6 MB, free: 1.824 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001024/0.005044, allocations: 105.5 kB / 272.8 MB, free: 1.715 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.005055, allocations: 8 kB / 272.8 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.005059, allocations: 0 / 272.8 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.005071, allocations: 8.094 kB / 272.8 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.539e-05/0.005127, allocations: 23.98 kB / 272.8 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.005133, allocations: 4 kB / 272.8 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.211e-05/0.005155, allocations: 4 kB / 272.8 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.00516, allocations: 4 kB / 272.8 MB, free: 1.664 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.052e-05/0.005221, allocations: 168.5 kB / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.005237, allocations: 7.953 kB / 273 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.005263, allocations: 20.42 kB / 273 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.005264, allocations: 0 / 273 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.005267, allocations: 0 / 273 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.005269, allocations: 4 kB / 273 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.005568, allocations: 411.5 kB / 273.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.005569, allocations: 0 / 273.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.095e-05/0.00562, allocations: 19.98 kB / 273.4 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.005623, allocations: 4 kB / 273.4 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-06/0.00563, allocations: 0 / 273.4 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.005633, allocations: 5.172 kB / 273.4 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.005635, allocations: 3.938 kB / 273.4 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.00579, allocations: 282.3 kB / 273.7 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-06/0.005796, allocations: 7.938 kB / 273.7 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.005808, allocations: 8 kB / 273.7 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.475e-05/0.005843, allocations: 0 / 273.7 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.00586, allocations: 11.92 kB / 273.7 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.005864, allocations: 8 kB / 273.7 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.392e-05/0.005898, allocations: 131.2 kB / 273.9 MB, free: 488 kB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.005898, allocations: 0 / 273.9 MB, free: 488 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.00606, allocations: 16 kB / 273.9 MB, free: 472 kB / 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.135e-05/0.006122, allocations: 99.28 kB / 274 MB, free: 364 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.64e-05/0.006218, allocations: 63.53 kB / 274 MB, free: 296 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006219, allocations: 0 / 274 MB, free: 296 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.474e-05/0.006244, allocations: 27.62 kB / 274.1 MB, free: 264 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.006459, allocations: 16.16 kB / 274.1 MB, free: 248 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.006828, allocations: 309.4 kB / 274.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.622e-05/0.006865, allocations: 63.34 kB / 274.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.451e-05/0.006889, allocations: 8.484 kB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.006909, allocations: 12.5 kB / 274.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.00691, allocations: 0 / 274.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of Templates: time 0.001912/0.008822, allocations: 0.6461 MB / 275.1 MB, free: 15.15 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.516030079917982]