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.001576/0.001576, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001111/0.001111, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9392/0.9392, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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 1.502e-06/1.502e-06, allocations: 0 / 274.2 MB, free: 4.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.339e-05, allocations: 2.312 kB / 274.2 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.005616/0.00564, allocations: 1.687 MB / 275.9 MB, free: 2.777 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002336/0.005873, allocations: 64.28 kB / 275.9 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.005937, allocations: 8.875 kB / 275.9 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.458e-05/0.006031, allocations: 7.875 kB / 275.9 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.133e-05/0.006083, allocations: 16.53 kB / 275.9 MB, free: 2.684 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.006195, allocations: 21.8 kB / 276 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.006307, allocations: 71.66 kB / 276 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.563e-05/0.006403, allocations: 11.98 kB / 276 MB, free: 2.582 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.877e-05/0.006462, allocations: 35.91 kB / 276.1 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.405e-05/0.006526, allocations: 23.91 kB / 276.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.006543, allocations: 8.719 kB / 276.1 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.006554, allocations: 4 kB / 276.1 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.006574, allocations: 9.734 kB / 276.1 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.006599, allocations: 19.94 kB / 276.1 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.006712, allocations: 47.81 kB / 276.2 MB, free: 2.438 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.006714, allocations: 0 / 276.2 MB, free: 2.438 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006715, allocations: 4 kB / 276.2 MB, free: 2.434 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.006719, allocations: 0 / 276.2 MB, free: 2.434 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.0003564/0.007075, allocations: 392.4 kB / 276.6 MB, free: 2.012 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.003047/0.01012, allocations: 8.031 kB / 276.6 MB, free: 2.004 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.01016, allocations: 16.89 kB / 276.6 MB, free: 1.988 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.01031, allocations: 128.5 kB / 276.7 MB, free: 1.836 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.01032, allocations: 4.375 kB / 276.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.01034, allocations: 8.375 kB / 276.7 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.397e-05/0.01043, allocations: 58.17 kB / 276.8 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.01044, allocations: 192 / 276.8 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.01045, allocations: 4.375 kB / 276.8 MB, free: 1.758 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.01046, allocations: 4.375 kB / 276.8 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.371e-05/0.0105, allocations: 27.91 kB / 276.8 MB, free: 1.727 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.01094, allocations: 331.4 kB / 277.2 MB, free: 1.367 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.361e-05/0.01101, allocations: 47.05 kB / 277.2 MB, free: 1.309 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.01103, allocations: 19.62 kB / 277.2 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.01104, allocations: 0 / 277.2 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.01107, allocations: 45.31 kB / 277.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.01107, allocations: 0 / 277.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004563/0.01152, allocations: 348.7 kB / 277.6 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.01155, allocations: 55.41 kB / 277.7 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.619e-05/0.01163, allocations: 165.9 kB / 277.8 MB, free: 0.582 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.01164, allocations: 25.7 kB / 277.9 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.0117, allocations: 154.6 kB / 278 MB, free: 404 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.01172, allocations: 35.67 kB / 278 MB, free: 368 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.01176, allocations: 35.36 kB / 278.1 MB, free: 324 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.01189, allocations: 496.1 kB / 278.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.01191, allocations: 8 kB / 278.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.905e-05/0.01196, allocations: 74.09 kB / 278.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.074e-05/0.01204, allocations: 89.97 kB / 278.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01204, allocations: 3.938 kB / 278.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001179/0.01216, allocations: 93.5 kB / 278.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.01217, allocations: 7.938 kB / 278.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.01217, allocations: 0 / 278.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.01218, allocations: 4 kB / 278.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.971e-05/0.01225, allocations: 28.08 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.01226, allocations: 3.938 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/0.01229, allocations: 8 kB / 278.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.0123, allocations: 0 / 278.9 MB, free: 15.45 MB / 266.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 7.266e-05/0.01237, allocations: 164.5 kB / 279 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.0124, allocations: 4 kB / 279 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.01243, allocations: 16.42 kB / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.01243, allocations: 0 / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.01243, allocations: 4.141 kB / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01243, allocations: 3.984 kB / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.01279, allocations: 388.1 kB / 279.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01279, allocations: 4 kB / 279.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.01285, allocations: 19.98 kB / 279.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01285, allocations: 0 / 279.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.01286, allocations: 4 kB / 279.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01286, allocations: 0 / 279.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.01287, allocations: 7.938 kB / 279.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00321/0.01608, allocations: 278.3 kB / 279.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.01609, allocations: 15.92 kB / 279.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.01611, allocations: 4 kB / 279.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.011e-05/0.01617, allocations: 0 / 279.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.01619, allocations: 15.92 kB / 279.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.01619, allocations: 4 kB / 279.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002722/0.01646, allocations: 123.2 kB / 279.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01646, allocations: 0 / 279.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.01671, allocations: 20 kB / 279.9 MB, free: 14.29 MB / 266.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 9.302e-05/0.0168, allocations: 95.22 kB / 280 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.0169, allocations: 59.59 kB / 280.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.0169, allocations: 0 / 280.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.1e-05/0.01694, allocations: 35.55 kB / 280.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.01722, allocations: 15.8 kB / 280.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.01762, allocations: 313.4 kB / 280.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.271e-05/0.01767, allocations: 71.2 kB / 280.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.042e-05/0.0177, allocations: 8.484 kB / 280.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.01775, allocations: 74.2 kB / 280.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of SimCode: time 3.5e-07/0.01775, allocations: 0 / 280.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Templates: time 0.005412/0.02316, allocations: 0.698 MB / 281.3 MB, free: 12.86 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6882491298019886]