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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009986/0.0009987, allocations: 90.95 kB / 16.65 MB, free: 6.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 180.7 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.3 MB / 241.6 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000257/0.000257, allocations: 4 kB / 301.4 MB, free: 6.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1069, allocations: 50.42 MB / 351.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002002/0.109, allocations: 1.35 MB / 353.2 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002872/0.1093, allocations: 71.78 kB / 353.2 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.847e-05/0.1094, allocations: 0 / 353.2 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.935e-05/0.1095, allocations: 11.92 kB / 353.3 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.519e-05/0.1096, allocations: 15.84 kB / 353.3 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.1098, allocations: 16 kB / 353.3 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.1099, allocations: 59.67 kB / 353.3 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.11, allocations: 19.98 kB / 353.4 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.434e-05/0.1101, allocations: 23.92 kB / 353.4 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/0.1101, allocations: 19.92 kB / 353.4 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1102, allocations: 4 kB / 353.4 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.49e-05/0.1102, allocations: 0 / 353.4 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.1102, allocations: 15.92 kB / 353.4 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.225e-05/0.1103, allocations: 49.58 kB / 353.5 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.1104, allocations: 59.98 kB / 353.5 MB, free: 2.016 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1104, allocations: 4 kB / 353.5 MB, free: 2.012 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1104, allocations: 0 / 353.5 MB, free: 2.012 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1104, allocations: 0 / 353.5 MB, free: 2.012 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.0004498/0.1109, allocations: 351.4 kB / 353.9 MB, free: 1.617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1109, allocations: 8.031 kB / 353.9 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.111, allocations: 8.844 kB / 353.9 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.1112, allocations: 188.2 kB / 354.1 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1112, allocations: 4.375 kB / 354.1 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.1112, allocations: 8.375 kB / 354.1 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.1114, allocations: 66.23 kB / 354.2 MB, free: 1.297 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.1115, allocations: 8.172 kB / 354.2 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1115, allocations: 7.938 kB / 354.2 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1115, allocations: 3.984 kB / 354.2 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.598e-05/0.1116, allocations: 35.98 kB / 354.2 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008156/0.1124, allocations: 379.5 kB / 354.6 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.1126, allocations: 54.56 kB / 354.6 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.035e-05/0.1127, allocations: 20.86 kB / 354.7 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1127, allocations: 7.875 kB / 354.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.1127, allocations: 38.56 kB / 354.7 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.1128, allocations: 0 / 354.7 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008258/0.1136, allocations: 0.5134 MB / 355.2 MB, free: 72 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.1136, allocations: 59.41 kB / 355.3 MB, free: 0 / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1138, allocations: 117.8 kB / 355.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.1138, allocations: 25.7 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.1138, allocations: 96.03 kB / 355.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.1139, allocations: 31.55 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.1139, allocations: 17.72 kB / 355.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.114, allocations: 318.8 kB / 355.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.034e-05/0.1141, allocations: 20 kB / 355.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.1142, allocations: 57.14 kB / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.1143, allocations: 89.02 kB / 356 MB, free: 15.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1143, allocations: 4 kB / 356 MB, free: 15.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001573/0.1145, allocations: 109.5 kB / 356.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1145, allocations: 8 kB / 356.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1145, allocations: 0 / 356.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1145, allocations: 0 / 356.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/0.1146, allocations: 23.98 kB / 356.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.1146, allocations: 11.88 kB / 356.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.921e-05/0.1147, allocations: 0 / 356.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1147, allocations: 4.141 kB / 356.2 MB, free: 15.01 MB / 302.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 7.621e-05/0.1148, allocations: 125.9 kB / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.1148, allocations: 15.88 kB / 356.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.1148, allocations: 8.375 kB / 356.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1149, allocations: 4 kB / 356.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1149, allocations: 3.938 kB / 356.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1149, allocations: 0 / 356.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.1154, allocations: 418.5 kB / 356.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1154, allocations: 4 kB / 356.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.572e-05/0.1155, allocations: 20.45 kB / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1155, allocations: 0 / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1155, allocations: 4 kB / 356.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.1155, allocations: 4 kB / 356.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1155, allocations: 3.938 kB / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.1157, allocations: 247.6 kB / 357 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.1158, allocations: 81.11 kB / 357.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.1158, allocations: 0 / 357.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.1159, allocations: 8.062 kB / 357.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.1159, allocations: 11.98 kB / 357.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1159, allocations: 4 kB / 357.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.555e-05/0.116, allocations: 91.27 kB / 357.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.116, allocations: 0 / 357.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1162, allocations: 16 kB / 357.2 MB, free: 13.82 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 9.029e-05/0.1163, allocations: 103.1 kB / 357.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.1165, allocations: 63.86 kB / 357.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1165, allocations: 0 / 357.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.037e-05/0.1165, allocations: 31.92 kB / 357.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1169, allocations: 15.94 kB / 357.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/0.1174, allocations: 398 kB / 357.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.1176, allocations: 0.6965 MB / 358.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.557e-05/0.1177, allocations: 8.422 kB / 358.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.1177, allocations: 11.44 kB / 358.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1177, allocations: 0 / 358.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of Templates: time 0.002567/0.1203, allocations: 0.6142 MB / 359.2 MB, free: 11.82 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (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) 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) Reference file matches