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.001694/0.001694, allocations: 80.67 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002205/0.002205, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.458/1.458, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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.923e-06/1.923e-06, allocations: 0 / 318.9 MB, free: 3.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.44e-05, allocations: 6.281 kB / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002453/0.002478, allocations: 1.613 MB / 320.5 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002488/0.002726, allocations: 66.64 kB / 320.6 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.002797, allocations: 4.938 kB / 320.6 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.002902, allocations: 11.86 kB / 320.6 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.322e-05/0.002955, allocations: 11.89 kB / 320.6 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.003075, allocations: 23.59 kB / 320.6 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.003197, allocations: 68.69 kB / 320.7 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.003298, allocations: 19.23 kB / 320.7 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.003362, allocations: 36.3 kB / 320.8 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.819e-05/0.00343, allocations: 20.17 kB / 320.8 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.003449, allocations: 5.062 kB / 320.8 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.003464, allocations: 9.469 kB / 320.8 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.003481, allocations: 11.03 kB / 320.8 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.00352, allocations: 21.75 kB / 320.8 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.003637, allocations: 59.66 kB / 320.9 MB, free: 2.293 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003639, allocations: 1.094 kB / 320.9 MB, free: 2.293 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00364, allocations: 3.938 kB / 320.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.003644, allocations: 0 / 320.9 MB, free: 2.289 MB / 286.1 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.0003557/0.004, allocations: 291.4 kB / 321.2 MB, free: 2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.004034, allocations: 10.11 kB / 321.2 MB, free: 2 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.004071, allocations: 8.953 kB / 321.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.004217, allocations: 131.2 kB / 321.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.00423, allocations: 3.406 kB / 321.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.004258, allocations: 13.72 kB / 321.3 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.004396, allocations: 69.62 kB / 321.4 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.004411, allocations: 5.406 kB / 321.4 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.004421, allocations: 384 / 321.4 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.004428, allocations: 3.266 kB / 321.4 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.877e-05/0.004506, allocations: 36.66 kB / 321.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.005029, allocations: 307.2 kB / 321.7 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.005138, allocations: 61.27 kB / 321.8 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.005171, allocations: 18.16 kB / 321.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.005184, allocations: 1.25 kB / 321.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.208e-05/0.005196, allocations: 31.81 kB / 321.9 MB, free: 1.414 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.005197, allocations: 0 / 321.9 MB, free: 1.414 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005975/0.005794, allocations: 366.9 kB / 322.2 MB, free: 1.105 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.005819, allocations: 61.72 kB / 322.3 MB, free: 1.035 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.78e-05/0.005876, allocations: 110.8 kB / 322.4 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.345e-06/0.005885, allocations: 25.7 kB / 322.4 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.005919, allocations: 101.8 kB / 322.5 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.005939, allocations: 38.25 kB / 322.5 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.005975, allocations: 31.83 kB / 322.6 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.062e-05/0.006016, allocations: 318.1 kB / 322.9 MB, free: 436 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.591e-05/0.006052, allocations: 19.77 kB / 322.9 MB, free: 428 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.129e-05/0.006103, allocations: 57.98 kB / 323 MB, free: 372 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.006215, allocations: 88.14 kB / 323 MB, free: 296 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.006216, allocations: 0 / 323 MB, free: 296 kB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001486/0.006365, allocations: 113.9 kB / 323.2 MB, free: 228 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.006379, allocations: 6.516 kB / 323.2 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.006384, allocations: 5.062 kB / 323.2 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.006403, allocations: 6.406 kB / 323.2 MB, free: 220 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/0.006493, allocations: 22 kB / 323.2 MB, free: 220 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.006501, allocations: 2.438 kB / 323.2 MB, free: 220 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.006543, allocations: 7.047 kB / 323.2 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.006551, allocations: 4.219 kB / 323.2 MB, free: 216 kB / 286.1 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 5.542e-05/0.006606, allocations: 126.6 kB / 323.3 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.006634, allocations: 7.5 kB / 323.3 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.006664, allocations: 14.67 kB / 323.4 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.006666, allocations: 1.438 kB / 323.4 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.006671, allocations: 0.7969 kB / 323.4 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.006674, allocations: 0 / 323.4 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.007161, allocations: 345.7 kB / 323.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.007163, allocations: 0 / 323.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.082e-05/0.007253, allocations: 22.41 kB / 323.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.007257, allocations: 7.75 kB / 323.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.007269, allocations: 8.234 kB / 323.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.00727, allocations: 0 / 323.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.007275, allocations: 8.266 kB / 323.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.007524, allocations: 218.2 kB / 324 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.007538, allocations: 8.328 kB / 324 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.007558, allocations: 7 kB / 324 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.00763, allocations: 6.031 kB / 324 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.007657, allocations: 16.09 kB / 324 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.007662, allocations: 2.438 kB / 324 MB, free: 15.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.725e-05/0.00772, allocations: 91.84 kB / 324.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.00772, allocations: 0 / 324.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.007981, allocations: 18.22 kB / 324.1 MB, free: 15.43 MB / 302.1 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.0001039/0.008085, allocations: 95.09 kB / 324.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.00823, allocations: 62.27 kB / 324.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.008232, allocations: 0 / 324.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.008273, allocations: 28.19 kB / 324.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.008583, allocations: 18.95 kB / 324.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.009126, allocations: 291 kB / 324.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.713e-05/0.009203, allocations: 76.31 kB / 324.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.485e-05/0.009238, allocations: 6.562 kB / 324.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.009266, allocations: 12.5 kB / 324.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.009266, allocations: 0 / 324.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of Templates: time 0.003412/0.01268, allocations: 0.6362 MB / 325.3 MB, free: 14.85 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.2257221303880215]