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.00128/0.00128, allocations: 116.2 kB / 18.5 MB, free: 4.543 MB / 14.72 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.001348/0.001348, allocations: 201 kB / 21.45 MB, free: 1.59 MB / 14.72 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.471/1.471, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 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 0.001837/0.001837, allocations: 72.06 kB / 373.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1033, allocations: 53.31 MB / 427.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002923/0.1062, allocations: 1.653 MB / 428.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002312/0.1065, allocations: 71.72 kB / 428.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.1065, allocations: 0 / 428.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.1066, allocations: 7.938 kB / 428.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/0.1067, allocations: 23.78 kB / 428.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.1068, allocations: 15.98 kB / 428.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.1069, allocations: 71.7 kB / 429 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1071, allocations: 8 kB / 429 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.358e-05/0.1071, allocations: 31.86 kB / 429 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.1072, allocations: 23.92 kB / 429 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1072, allocations: 4 kB / 429 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.572e-05/0.1072, allocations: 8 kB / 429 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.1072, allocations: 15.86 kB / 429.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.1073, allocations: 35.86 kB / 429.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.1074, allocations: 59.73 kB / 429.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1074, allocations: 0 / 429.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1074, allocations: 0 / 429.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1074, allocations: 0 / 429.2 MB, free: 2.457 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.0004876/0.1079, allocations: 367.3 kB / 429.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1079, allocations: 8.031 kB / 429.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.108, allocations: 8.891 kB / 429.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.1082, allocations: 196.2 kB / 429.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1082, allocations: 4.375 kB / 429.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.1082, allocations: 8.375 kB / 429.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.1084, allocations: 68.2 kB / 429.8 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1084, allocations: 192 / 429.8 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.1084, allocations: 11.94 kB / 429.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1084, allocations: 4 kB / 429.8 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.036e-05/0.1085, allocations: 31.98 kB / 429.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006512/0.1092, allocations: 383.6 kB / 430.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.1093, allocations: 46.56 kB / 430.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.1093, allocations: 20.86 kB / 430.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.1093, allocations: 0 / 430.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.1094, allocations: 38.5 kB / 430.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1094, allocations: 0 / 430.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007717/0.1101, allocations: 0.5099 MB / 430.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.1102, allocations: 55.41 kB / 430.9 MB, free: 460 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.1103, allocations: 129.7 kB / 431 MB, free: 320 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1103, allocations: 25.7 kB / 431 MB, free: 288 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.1104, allocations: 92.09 kB / 431.1 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.1104, allocations: 43.67 kB / 431.2 MB, free: 148 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.1104, allocations: 25.72 kB / 431.2 MB, free: 116 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1106, allocations: 318.8 kB / 431.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.584e-05/0.1106, allocations: 20 kB / 431.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.1107, allocations: 53.14 kB / 431.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.1108, allocations: 97 kB / 431.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1108, allocations: 0 / 431.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000171/0.111, allocations: 109.5 kB / 431.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.111, allocations: 10.03 kB / 431.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.111, allocations: 3.984 kB / 431.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.111, allocations: 4 kB / 431.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.527e-05/0.1111, allocations: 20.09 kB / 431.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1111, allocations: 8.172 kB / 431.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.059e-05/0.1112, allocations: 3.984 kB / 431.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.1112, allocations: 8 kB / 431.8 MB, free: 15.42 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.435e-05/0.1113, allocations: 121.7 kB / 432 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.1113, allocations: 7.953 kB / 432 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.1113, allocations: 12.38 kB / 432 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1113, allocations: 0 / 432 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1113, allocations: 3.938 kB / 432 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1113, allocations: 4 kB / 432 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005127/0.1119, allocations: 410.6 kB / 432.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1119, allocations: 0 / 432.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.381e-05/0.112, allocations: 19.98 kB / 432.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.112, allocations: 4.156 kB / 432.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.112, allocations: 4 kB / 432.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.112, allocations: 7.984 kB / 432.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.112, allocations: 0 / 432.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.1122, allocations: 243.6 kB / 432.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.1123, allocations: 85.09 kB / 432.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.1123, allocations: 11.92 kB / 432.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.1124, allocations: 4.188 kB / 432.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.1124, allocations: 8.469 kB / 432.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1124, allocations: 7.984 kB / 432.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.173e-05/0.1125, allocations: 95.2 kB / 432.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1125, allocations: 0 / 432.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1127, allocations: 20.06 kB / 432.9 MB, free: 14.24 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.0001072/0.1128, allocations: 99.19 kB / 433 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.113, allocations: 63.84 kB / 433 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.113, allocations: 0 / 433 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.418e-05/0.113, allocations: 31.88 kB / 433.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.1133, allocations: 15.23 kB / 433.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005757/0.1139, allocations: 338.7 kB / 433.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1142, allocations: 0.7002 MB / 434.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.268e-05/0.1142, allocations: 4.438 kB / 434.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.1142, allocations: 11.44 kB / 434.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1143, allocations: 0 / 434.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of Templates: time 0.002993/0.1172, allocations: 0.6796 MB / 434.8 MB, free: 12.23 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] 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.430086315609515]