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.001745/0.001745, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 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.002142/0.002142, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.495/1.495, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001625/0.001625, allocations: 47.92 kB / 374.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1075, allocations: 53.31 MB / 427.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003321/0.1109, allocations: 1.665 MB / 429.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002897/0.1112, allocations: 71.72 kB / 429.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.616e-05/0.1112, allocations: 0 / 429.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.1113, allocations: 11.86 kB / 429.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/0.1114, allocations: 19.84 kB / 429.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.1115, allocations: 15.98 kB / 429.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1117, allocations: 63.73 kB / 429.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1118, allocations: 15.98 kB / 429.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.457e-05/0.1118, allocations: 27.91 kB / 429.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.671e-05/0.1119, allocations: 27.86 kB / 429.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.1119, allocations: 4 kB / 429.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.1119, allocations: 4 kB / 429.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.112, allocations: 11.94 kB / 429.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.199e-05/0.112, allocations: 31.86 kB / 429.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.1121, allocations: 67.72 kB / 429.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1121, allocations: 4 kB / 429.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1121, allocations: 0 / 429.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1122, allocations: 0 / 429.5 MB, free: 2.258 MB / 350.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.0005282/0.1127, allocations: 359.3 kB / 429.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1127, allocations: 12.03 kB / 429.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.1128, allocations: 8.891 kB / 429.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.113, allocations: 184.2 kB / 430 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.113, allocations: 8.375 kB / 430.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.1131, allocations: 8.375 kB / 430.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1132, allocations: 70.23 kB / 430.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1132, allocations: 192 / 430.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1132, allocations: 3.938 kB / 430.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1133, allocations: 4 kB / 430.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.555e-05/0.1133, allocations: 39.84 kB / 430.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006834/0.114, allocations: 379.6 kB / 430.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1141, allocations: 62.5 kB / 430.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/0.1142, allocations: 16.86 kB / 430.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.148e-06/0.1142, allocations: 0 / 430.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1142, allocations: 30.56 kB / 430.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1142, allocations: 0 / 430.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008475/0.1151, allocations: 0.5214 MB / 431.2 MB, free: 320 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.1151, allocations: 51.41 kB / 431.2 MB, free: 256 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1152, allocations: 125.7 kB / 431.3 MB, free: 120 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.1153, allocations: 25.7 kB / 431.4 MB, free: 88 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.74e-05/0.1153, allocations: 96.16 kB / 431.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.1154, allocations: 35.69 kB / 431.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.1154, allocations: 21.72 kB / 431.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1156, allocations: 326.8 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.1156, allocations: 16 kB / 431.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.313e-05/0.1157, allocations: 57.08 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1158, allocations: 93.06 kB / 432 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1158, allocations: 0 / 432 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001816/0.116, allocations: 113.5 kB / 432.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.116, allocations: 4 kB / 432.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1161, allocations: 4 kB / 432.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1161, allocations: 0 / 432.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.339e-05/0.1162, allocations: 24.45 kB / 432.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1162, allocations: 11.88 kB / 432.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.267e-05/0.1162, allocations: 8.094 kB / 432.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1162, allocations: 4 kB / 432.2 MB, free: 15.22 MB / 366.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 9.442e-05/0.1163, allocations: 117.8 kB / 432.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.1164, allocations: 15.89 kB / 432.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.1164, allocations: 12.36 kB / 432.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1164, allocations: 4 kB / 432.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1164, allocations: 3.938 kB / 432.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1164, allocations: 0 / 432.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.117, allocations: 414.5 kB / 432.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.117, allocations: 0 / 432.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1171, allocations: 16 kB / 432.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1171, allocations: 3.984 kB / 432.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.1171, allocations: 8 kB / 432.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1171, allocations: 0 / 432.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.1171, allocations: 12.09 kB / 432.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.1174, allocations: 235.6 kB / 433 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.1174, allocations: 81.12 kB / 433.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1174, allocations: 12 kB / 433.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.1175, allocations: 7.938 kB / 433.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.1176, allocations: 7.984 kB / 433.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1176, allocations: 0 / 433.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.212e-05/0.1176, allocations: 99.27 kB / 433.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1176, allocations: 0 / 433.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.1179, allocations: 12 kB / 433.2 MB, free: 14.05 MB / 366.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.0001179/0.118, allocations: 107.7 kB / 433.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.1182, allocations: 60.17 kB / 433.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1182, allocations: 0 / 433.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.174e-05/0.1182, allocations: 28.02 kB / 433.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1186, allocations: 21.34 kB / 433.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006808/0.1192, allocations: 364.5 kB / 433.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.1196, allocations: 0.6924 MB / 434.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.1196, allocations: 15.44 kB / 434.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1196, allocations: 0 / 434.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of Templates: time 0.002724/0.1223, allocations: 0.9961 MB / 435.5 MB, free: 11.7 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.002865831978852]