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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 58.41 kB / 307 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1433, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003678/0.1471, allocations: 1.649 MB / 359.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003086/0.1474, allocations: 71.72 kB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.963e-05/0.1475, allocations: 0 / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.1477, allocations: 7.922 kB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.306e-05/0.1477, allocations: 19.8 kB / 359.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.1479, allocations: 23.97 kB / 359.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.1481, allocations: 63.72 kB / 359.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.1482, allocations: 19.98 kB / 359.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/0.1483, allocations: 31.86 kB / 359.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.1483, allocations: 23.86 kB / 359.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1484, allocations: 4 kB / 359.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.1484, allocations: 4 kB / 359.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/0.1484, allocations: 15.98 kB / 359.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.1485, allocations: 31.86 kB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.1486, allocations: 72 kB / 359.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1486, allocations: 0 / 359.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1486, allocations: 0 / 359.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1487, allocations: 0 / 359.6 MB, free: 11.98 MB / 302.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.0005409/0.1492, allocations: 355.4 kB / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.1493, allocations: 12.03 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.1493, allocations: 34.75 kB / 360 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.1493, allocations: 8.844 kB / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.1496, allocations: 188.2 kB / 360.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-06/0.1496, allocations: 8.375 kB / 360.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.1496, allocations: 4.375 kB / 360.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1498, allocations: 70.23 kB / 360.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1498, allocations: 11.78 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1498, allocations: 0 / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1498, allocations: 4 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.1e-05/0.1499, allocations: 42.59 kB / 360.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006853/0.1506, allocations: 379.6 kB / 360.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1508, allocations: 58.55 kB / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.1508, allocations: 16.86 kB / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.996e-06/0.1508, allocations: 0 / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1508, allocations: 34.56 kB / 360.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 2.525e-06/0.1509, allocations: 4 kB / 360.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008007/0.1517, allocations: 0.5089 MB / 361.3 MB, free: 9.992 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.1517, allocations: 51.41 kB / 361.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.1518, allocations: 125.8 kB / 361.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1519, allocations: 25.7 kB / 361.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.1519, allocations: 96.2 kB / 361.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.152, allocations: 39.44 kB / 361.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.152, allocations: 21.72 kB / 361.7 MB, free: 9.602 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1521, allocations: 322.8 kB / 362 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.805e-05/0.1522, allocations: 15.98 kB / 362 MB, free: 9.262 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.129e-05/0.1523, allocations: 61.14 kB / 362.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.1524, allocations: 89.03 kB / 362.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1524, allocations: 0 / 362.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001626/0.1525, allocations: 109.5 kB / 362.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1526, allocations: 7.984 kB / 362.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1526, allocations: 8.094 kB / 362.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1526, allocations: 0 / 362.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.374e-05/0.1527, allocations: 20.47 kB / 362.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.1527, allocations: 11.92 kB / 362.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.131e-05/0.1528, allocations: 4 kB / 362.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1528, allocations: 4 kB / 362.3 MB, free: 8.91 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 9.256e-05/0.1529, allocations: 130.8 kB / 362.4 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.1529, allocations: 7.938 kB / 362.4 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.153, allocations: 8.375 kB / 362.5 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.153, allocations: 8 kB / 362.5 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.153, allocations: 3.938 kB / 362.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.153, allocations: 4.078 kB / 362.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.1535, allocations: 410.5 kB / 362.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1535, allocations: 8.156 kB / 362.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.133e-05/0.1536, allocations: 19.98 kB / 362.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1536, allocations: 0 / 362.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.1536, allocations: 4 kB / 362.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1536, allocations: 0 / 362.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1536, allocations: 4 kB / 362.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.1539, allocations: 239.6 kB / 363.1 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.154, allocations: 84.95 kB / 363.2 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.154, allocations: 7.984 kB / 363.2 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.1541, allocations: 4 kB / 363.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.1541, allocations: 8 kB / 363.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1541, allocations: 0 / 363.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.918e-05/0.1542, allocations: 99.33 kB / 363.3 MB, free: 7.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1542, allocations: 0 / 363.3 MB, free: 7.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1545, allocations: 16 kB / 363.4 MB, free: 7.734 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 0.0005727/0.1551, allocations: 0.7637 MB / 364.1 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.1552, allocations: 59.94 kB / 364.2 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1552, allocations: 7.938 kB / 364.2 MB, free: 6.859 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.641e-05/0.1553, allocations: 24.5 kB / 364.2 MB, free: 6.836 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.1557, allocations: 18.95 kB / 364.2 MB, free: 6.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.1576, allocations: 1.663 MB / 365.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.158, allocations: 0.704 MB / 366.6 MB, free: 4.285 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.421e-05/0.158, allocations: 4.438 kB / 366.6 MB, free: 4.281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.1581, allocations: 27.42 kB / 366.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1581, allocations: 0 / 366.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.1837, allocations: 1.852 MB / 368.5 MB, free: 2.473 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.194, allocations: 2.969 kB / 368.5 MB, free: 2.473 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches