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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.001481, allocations: 96.86 kB / 17.58 MB, free: 5.418 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.001847/0.001847, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.76/2.76, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.002292/0.002293, allocations: 56.3 kB / 280.8 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1237, allocations: 46.62 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003335/0.1271, allocations: 1.632 MB / 329 MB, free: 2.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002752/0.1274, allocations: 67.78 kB / 329.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/0.1275, allocations: 4 kB / 329.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.1277, allocations: 7.875 kB / 329.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.11e-05/0.1277, allocations: 27.78 kB / 329.1 MB, free: 2.625 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.1279, allocations: 11.98 kB / 329.1 MB, free: 2.613 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.128, allocations: 67.72 kB / 329.2 MB, free: 2.547 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1281, allocations: 16.27 kB / 329.2 MB, free: 2.531 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.1282, allocations: 19.94 kB / 329.2 MB, free: 2.512 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.013e-05/0.1283, allocations: 31.84 kB / 329.3 MB, free: 2.48 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.1283, allocations: 8 kB / 329.3 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.011e-05/0.1283, allocations: 4 kB / 329.3 MB, free: 2.469 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.1284, allocations: 15.92 kB / 329.3 MB, free: 2.453 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.1284, allocations: 35.86 kB / 329.3 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.1285, allocations: 55.75 kB / 329.4 MB, free: 2.363 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1286, allocations: 0 / 329.4 MB, free: 2.363 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1286, allocations: 0 / 329.4 MB, free: 2.363 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1286, allocations: 0 / 329.4 MB, free: 2.363 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.0004812/0.1291, allocations: 367.4 kB / 329.7 MB, free: 1.953 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1291, allocations: 8.031 kB / 329.7 MB, free: 1.945 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.892e-05/0.1292, allocations: 46.69 kB / 329.8 MB, free: 1.891 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.1292, allocations: 8.844 kB / 329.8 MB, free: 1.883 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.1294, allocations: 180.2 kB / 330 MB, free: 1.668 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.1294, allocations: 8.375 kB / 330 MB, free: 1.66 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.1295, allocations: 4.375 kB / 330 MB, free: 1.656 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.1296, allocations: 70.23 kB / 330.1 MB, free: 1.582 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1297, allocations: 3.938 kB / 330.1 MB, free: 1.578 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1297, allocations: 0 / 330.1 MB, free: 1.578 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1297, allocations: 0 / 330.1 MB, free: 1.578 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.89e-05/0.1298, allocations: 43.84 kB / 330.1 MB, free: 1.535 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008904/0.1307, allocations: 375.6 kB / 330.5 MB, free: 1.109 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.1309, allocations: 58.5 kB / 330.5 MB, free: 1.043 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.221e-05/0.1309, allocations: 16.86 kB / 330.5 MB, free: 1.023 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.131, allocations: 7.984 kB / 330.5 MB, free: 1.016 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.131, allocations: 38.72 kB / 330.6 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.993e-06/0.131, allocations: 0 / 330.6 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.001081/0.1321, allocations: 0.509 MB / 331.1 MB, free: 376 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.1322, allocations: 51.5 kB / 331.1 MB, free: 312 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1324, allocations: 121.7 kB / 331.3 MB, free: 180 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1324, allocations: 33.64 kB / 331.3 MB, free: 140 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.1325, allocations: 99.97 kB / 331.4 MB, free: 36 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.1325, allocations: 35.53 kB / 331.4 MB, free: 0 / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.038e-05/0.1326, allocations: 25.8 kB / 331.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1328, allocations: 322.8 kB / 331.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.237e-05/0.1329, allocations: 12 kB / 331.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.133, allocations: 69.08 kB / 331.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.1331, allocations: 81.08 kB / 331.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1332, allocations: 4 kB / 331.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002434/0.1334, allocations: 105.5 kB / 332 MB, free: 15.33 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.1335, allocations: 8.094 kB / 332 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1335, allocations: 0 / 332 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.1335, allocations: 4 kB / 332 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1337, allocations: 31.92 kB / 332.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.1337, allocations: 3.938 kB / 332.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.1338, allocations: 4 kB / 332.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1338, allocations: 4 kB / 332.1 MB, free: 15.28 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.0001404/0.1339, allocations: 117.8 kB / 332.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.134, allocations: 11.89 kB / 332.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/0.1341, allocations: 12.38 kB / 332.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1341, allocations: 0 / 332.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.1341, allocations: 3.938 kB / 332.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1341, allocations: 0 / 332.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007943/0.1349, allocations: 414.6 kB / 332.6 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.1349, allocations: 0 / 332.6 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.1351, allocations: 24.17 kB / 332.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.1351, allocations: 4 kB / 332.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.1351, allocations: 0 / 332.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.1352, allocations: 7.938 kB / 332.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1352, allocations: 3.984 kB / 332.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.1355, allocations: 236 kB / 332.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.1356, allocations: 85.14 kB / 333 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.1357, allocations: 4 kB / 333 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.1358, allocations: 0 / 333 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.1358, allocations: 11.98 kB / 333 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1359, allocations: 12 kB / 333 MB, free: 14.22 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.769e-05/0.136, allocations: 91.27 kB / 333.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.136, allocations: 0 / 333.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004575/0.1364, allocations: 20 kB / 333.1 MB, free: 14.11 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.0007483/0.1372, allocations: 0.7594 MB / 333.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.1374, allocations: 67.84 kB / 334 MB, free: 13.24 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1374, allocations: 0 / 334 MB, free: 13.24 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.005e-05/0.1375, allocations: 28.31 kB / 334 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006553/0.1382, allocations: 15.98 kB / 334 MB, free: 13.2 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.1407, allocations: 1.655 MB / 335.7 MB, free: 11.41 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.1411, allocations: 0.7002 MB / 336.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.381e-05/0.1412, allocations: 8.422 kB / 336.4 MB, free: 10.67 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.1412, allocations: 19.44 kB / 336.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1413, allocations: 0 / 336.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03666/0.1779, allocations: 1.86 MB / 338.2 MB, free: 8.742 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/12.96, allocations: 16.23 kB / 338.3 MB, free: 8.727 MB / 286.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches