Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.00126/0.001265, allocations: 107.6 kB / 17.15 MB, free: 6.332 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.001135/0.001135, allocations: 198 kB / 18.07 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 51.92 kB / 280 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.122, allocations: 46.63 MB / 326.6 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003491/0.1255, allocations: 1.682 MB / 328.3 MB, free: 3.203 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002552/0.1258, allocations: 79.72 kB / 328.4 MB, free: 3.125 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.1259, allocations: 0 / 328.4 MB, free: 3.125 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.1261, allocations: 3.938 kB / 328.4 MB, free: 3.121 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.537e-05/0.1261, allocations: 19.84 kB / 328.4 MB, free: 3.102 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.1263, allocations: 11.98 kB / 328.4 MB, free: 3.09 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.1265, allocations: 59.73 kB / 328.4 MB, free: 3.031 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.1267, allocations: 15.98 kB / 328.5 MB, free: 3.016 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.652e-05/0.1267, allocations: 23.92 kB / 328.5 MB, free: 2.992 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1268, allocations: 31.86 kB / 328.5 MB, free: 2.961 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.1269, allocations: 4 kB / 328.5 MB, free: 2.957 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.882e-05/0.1269, allocations: 0 / 328.5 MB, free: 2.957 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.1269, allocations: 11.94 kB / 328.5 MB, free: 2.945 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.71e-05/0.127, allocations: 35.84 kB / 328.6 MB, free: 2.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1271, allocations: 60.02 kB / 328.6 MB, free: 2.852 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.1272, allocations: 0 / 328.6 MB, free: 2.852 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1272, allocations: 0 / 328.6 MB, free: 2.852 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.1272, allocations: 0 / 328.6 MB, free: 2.852 MB / 270.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.000737/0.1279, allocations: 363.4 kB / 329 MB, free: 2.445 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/0.128, allocations: 12.03 kB / 329 MB, free: 2.434 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.128, allocations: 8.844 kB / 329 MB, free: 2.426 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.1283, allocations: 184.2 kB / 329.2 MB, free: 2.207 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1283, allocations: 4.375 kB / 329.2 MB, free: 2.203 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.1284, allocations: 8.375 kB / 329.2 MB, free: 2.195 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.1285, allocations: 62.23 kB / 329.3 MB, free: 2.129 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1286, allocations: 4.188 kB / 329.3 MB, free: 2.125 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.1286, allocations: 7.938 kB / 329.3 MB, free: 2.117 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1286, allocations: 4 kB / 329.3 MB, free: 2.113 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/0.1287, allocations: 35.97 kB / 329.3 MB, free: 2.078 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007886/0.1295, allocations: 391.4 kB / 329.7 MB, free: 1.637 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1296, allocations: 54.56 kB / 329.7 MB, free: 1.574 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.1297, allocations: 16.86 kB / 329.8 MB, free: 1.555 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.1297, allocations: 7.938 kB / 329.8 MB, free: 1.547 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.1297, allocations: 34.56 kB / 329.8 MB, free: 1.504 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1297, allocations: 0 / 329.8 MB, free: 1.504 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008523/0.1306, allocations: 0.513 MB / 330.3 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.1306, allocations: 55.41 kB / 330.4 MB, free: 0.832 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1308, allocations: 121.8 kB / 330.5 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1308, allocations: 25.7 kB / 330.5 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.1309, allocations: 96.03 kB / 330.6 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.1309, allocations: 35.48 kB / 330.6 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.131, allocations: 29.66 kB / 330.7 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1311, allocations: 318.8 kB / 331 MB, free: 188 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.944e-05/0.1311, allocations: 16 kB / 331 MB, free: 172 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.639e-05/0.1312, allocations: 57.14 kB / 331.1 MB, free: 96 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.1314, allocations: 93.12 kB / 331.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1314, allocations: 0 / 331.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001711/0.1316, allocations: 113.5 kB / 331.3 MB, free: 15.86 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1316, allocations: 8 kB / 331.3 MB, free: 15.86 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1316, allocations: 0 / 331.3 MB, free: 15.86 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.1316, allocations: 4 kB / 331.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.287e-05/0.1317, allocations: 19.98 kB / 331.3 MB, free: 15.83 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1317, allocations: 12.34 kB / 331.3 MB, free: 15.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.1318, allocations: 4 kB / 331.3 MB, free: 15.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1318, allocations: 4 kB / 331.3 MB, free: 15.81 MB / 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 0.0001118/0.1319, allocations: 121.9 kB / 331.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.1319, allocations: 7.906 kB / 331.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.132, allocations: 20.31 kB / 331.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.132, allocations: 0 / 331.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.132, allocations: 3.938 kB / 331.5 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.132, allocations: 144 / 331.5 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004592/0.1325, allocations: 418.5 kB / 331.9 MB, free: 15.17 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1325, allocations: 0 / 331.9 MB, free: 15.17 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.645e-05/0.1326, allocations: 19.98 kB / 331.9 MB, free: 15.15 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1326, allocations: 4 kB / 331.9 MB, free: 15.15 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1326, allocations: 4 kB / 331.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1326, allocations: 4 kB / 331.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.1326, allocations: 0 / 331.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.1329, allocations: 235.7 kB / 332.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.1329, allocations: 81.14 kB / 332.2 MB, free: 14.78 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.133, allocations: 8 kB / 332.2 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.133, allocations: 0 / 332.2 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.1331, allocations: 12.05 kB / 332.2 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.1331, allocations: 4 kB / 332.2 MB, free: 14.76 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.473e-05/0.1331, allocations: 95.27 kB / 332.3 MB, free: 14.66 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1332, allocations: 3.828 kB / 332.3 MB, free: 14.66 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.1334, allocations: 16 kB / 332.3 MB, free: 14.65 MB / 286.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.0001173/0.1335, allocations: 99.19 kB / 332.4 MB, free: 14.54 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.1337, allocations: 63.92 kB / 332.5 MB, free: 14.48 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1337, allocations: 0 / 332.5 MB, free: 14.48 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.1337, allocations: 27.92 kB / 332.5 MB, free: 14.45 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.1341, allocations: 16.31 kB / 332.5 MB, free: 14.43 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007052/0.1349, allocations: 373.2 kB / 332.9 MB, free: 14.03 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.1352, allocations: 0.6926 MB / 333.6 MB, free: 13.31 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.117e-05/0.1353, allocations: 8.438 kB / 333.6 MB, free: 13.3 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.1353, allocations: 11.44 kB / 333.6 MB, free: 13.29 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1353, allocations: 0 / 333.6 MB, free: 13.29 MB / 286.1 MB Notification: Performance of Templates: time 0.003429/0.1387, allocations: 0.6262 MB / 334.2 MB, free: 12.66 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches