Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001828/0.001828, allocations: 99.55 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001966/0.001966, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 177 MB / 204.4 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.658e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003073/0.003099, allocations: 1.667 MB / 273.8 MB, free: 132 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002534/0.003353, allocations: 63.78 kB / 273.9 MB, free: 68 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.003414, allocations: 3.938 kB / 273.9 MB, free: 64 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.843e-05/0.003513, allocations: 7.922 kB / 273.9 MB, free: 56 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.38e-05/0.003567, allocations: 19.81 kB / 273.9 MB, free: 36 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/0.003681, allocations: 19.97 kB / 274 MB, free: 16 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.003839, allocations: 67.73 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.003949, allocations: 19.84 kB / 274 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.745e-05/0.004026, allocations: 35.91 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.166e-05/0.004108, allocations: 23.95 kB / 274.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.00413, allocations: 4 kB / 274.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.595e-05/0.004146, allocations: 4 kB / 274.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.004171, allocations: 11.94 kB / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.004212, allocations: 23.92 kB / 274.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.004378, allocations: 63.84 kB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.004381, allocations: 0 / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.004382, allocations: 0 / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.004386, allocations: 0 / 274.2 MB, free: 15.77 MB / 266.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.000514/0.0049, allocations: 392.1 kB / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.004938, allocations: 15.98 kB / 274.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.00498, allocations: 8.891 kB / 274.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.005161, allocations: 132.5 kB / 274.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.005177, allocations: 12.38 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.0052, allocations: 4.375 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.005354, allocations: 69.05 kB / 274.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.005365, allocations: 8.062 kB / 274.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.005377, allocations: 4.375 kB / 274.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.005385, allocations: 8.375 kB / 274.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.901e-05/0.005474, allocations: 35.91 kB / 274.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006598/0.006134, allocations: 366.8 kB / 275.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.006274, allocations: 70.92 kB / 275.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.059e-05/0.006314, allocations: 19.69 kB / 275.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.006323, allocations: 4 kB / 275.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.006357, allocations: 41.38 kB / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.006358, allocations: 0 / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007372/0.007095, allocations: 396.2 kB / 275.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.007139, allocations: 51.41 kB / 275.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.007286, allocations: 174.8 kB / 276 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.007306, allocations: 25.7 kB / 276 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.395e-05/0.0074, allocations: 146.8 kB / 276.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.007433, allocations: 31.7 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.007494, allocations: 39.36 kB / 276.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002573/0.007751, allocations: 0.4922 MB / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.886e-05/0.0078, allocations: 27.92 kB / 276.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.0079, allocations: 81.86 kB / 276.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.008044, allocations: 106 kB / 276.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.008045, allocations: 0 / 276.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001979/0.008243, allocations: 117.6 kB / 277 MB, free: 12.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.008256, allocations: 4 kB / 277 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.008266, allocations: 4 kB / 277 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.008278, allocations: 0 / 277 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.008369, allocations: 27.92 kB / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.008374, allocations: 320 / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.035e-05/0.008414, allocations: 8 kB / 277.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.008423, allocations: 4 kB / 277.1 MB, free: 12.57 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 0.0001243/0.008547, allocations: 168.5 kB / 277.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.008584, allocations: 11.95 kB / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.008617, allocations: 16.45 kB / 277.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.008618, allocations: 4 kB / 277.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.008621, allocations: 0 / 277.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.008624, allocations: 3.938 kB / 277.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.00921, allocations: 427.6 kB / 277.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.009212, allocations: 0 / 277.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.751e-05/0.009309, allocations: 23.92 kB / 277.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002269/0.009536, allocations: 4 kB / 277.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.009545, allocations: 352 / 277.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.009549, allocations: 8 kB / 277.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.009553, allocations: 3.938 kB / 277.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.009872, allocations: 298.2 kB / 278 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.009884, allocations: 4 kB / 278 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.009905, allocations: 12 kB / 278 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.398e-05/0.009969, allocations: 0 / 278 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.01001, allocations: 15.86 kB / 278.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.01002, allocations: 8 kB / 278.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.812e-05/0.01011, allocations: 135.2 kB / 278.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01011, allocations: 4.031 kB / 278.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.01035, allocations: 16 kB / 278.2 MB, free: 11.32 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 0.0001202/0.01047, allocations: 103.2 kB / 278.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.01063, allocations: 75.53 kB / 278.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01063, allocations: 0 / 278.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.515e-05/0.01069, allocations: 35.62 kB / 278.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.011, allocations: 16.48 kB / 278.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006057/0.0116, allocations: 312.8 kB / 278.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.591e-05/0.01169, allocations: 79.27 kB / 278.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.124e-05/0.01172, allocations: 4.5 kB / 278.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.01175, allocations: 16.48 kB / 278.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01175, allocations: 0 / 278.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of Templates: time 0.003309/0.01506, allocations: 0.6361 MB / 279.5 MB, free: 9.977 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.260594605002552]