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.0007614/0.0007614, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0007655/0.0007655, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8911/0.8911, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.466e-05, allocations: 2.281 kB / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001812/0.001826, allocations: 1.638 MB / 326.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002077/0.002034, allocations: 67.72 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.002096, allocations: 0 / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.604e-05/0.002182, allocations: 7.922 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.455e-05/0.002227, allocations: 19.8 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.002337, allocations: 19.97 kB / 326.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.002448, allocations: 71.66 kB / 326.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.002561, allocations: 15.98 kB / 326.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.891e-05/0.002609, allocations: 39.95 kB / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.002661, allocations: 19.92 kB / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.00268, allocations: 4 kB / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.729e-06/0.002689, allocations: 4 kB / 326.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.002707, allocations: 11.98 kB / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.00273, allocations: 19.92 kB / 326.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.002838, allocations: 75.66 kB / 326.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00284, allocations: 0 / 326.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.002841, allocations: 0 / 326.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.002845, allocations: 0 / 326.5 MB, free: 13.91 MB / 298.7 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.0003391/0.003184, allocations: 286.2 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.003221, allocations: 11.98 kB / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.949e-05/0.003251, allocations: 38.75 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.249e-05/0.003273, allocations: 8.891 kB / 326.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.003413, allocations: 121.7 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.003423, allocations: 8.375 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.003447, allocations: 4.375 kB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.003559, allocations: 75.02 kB / 327 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.00357, allocations: 4.172 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.003578, allocations: 384 / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.003585, allocations: 12.12 kB / 327.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.971e-05/0.003645, allocations: 31.98 kB / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.004098, allocations: 334.9 kB / 327.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.874e-05/0.004177, allocations: 58.5 kB / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.004203, allocations: 20.84 kB / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-06/0.004211, allocations: 0 / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.004225, allocations: 30.56 kB / 327.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.004226, allocations: 0 / 327.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004815/0.004707, allocations: 383.7 kB / 327.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.004734, allocations: 51.41 kB / 328 MB, free: 12.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.648e-05/0.0048, allocations: 117.8 kB / 328.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.004812, allocations: 33.7 kB / 328.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.004853, allocations: 96.03 kB / 328.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.004871, allocations: 31.69 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.004902, allocations: 33.64 kB / 328.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.588e-05/0.004987, allocations: 322.7 kB / 328.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.652e-05/0.005014, allocations: 19.98 kB / 328.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.367e-05/0.005058, allocations: 61.14 kB / 328.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.259e-05/0.00513, allocations: 93.06 kB / 328.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.005131, allocations: 0 / 328.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.978e-05/0.005231, allocations: 109.5 kB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.005243, allocations: 8 kB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.005248, allocations: 0 / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.005259, allocations: 4 kB / 328.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.172e-05/0.005311, allocations: 23.92 kB / 328.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.005317, allocations: 8.094 kB / 328.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.00534, allocations: 4 kB / 328.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.005346, allocations: 7.938 kB / 328.9 MB, free: 11.22 MB / 298.7 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 5.47e-05/0.005401, allocations: 117.8 kB / 329 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.005415, allocations: 7.953 kB / 329 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.005436, allocations: 8.438 kB / 329 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.005438, allocations: 3.984 kB / 329 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.005443, allocations: 4.406 kB / 329 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005445, allocations: 0 / 329 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.005742, allocations: 377.7 kB / 329.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.005744, allocations: 4 kB / 329.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.005789, allocations: 19.98 kB / 329.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.005792, allocations: 11.81 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.005799, allocations: 4 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.005801, allocations: 0 / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.005802, allocations: 4 kB / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.005974, allocations: 223.7 kB / 329.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.005984, allocations: 12.2 kB / 329.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.005999, allocations: 8.125 kB / 329.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.668e-05/0.006035, allocations: 3.984 kB / 329.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.00605, allocations: 11.98 kB / 329.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.006053, allocations: 4 kB / 329.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.388e-05/0.006087, allocations: 95.2 kB / 329.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006087, allocations: 3.938 kB / 329.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001564/0.006244, allocations: 20 kB / 329.8 MB, free: 10.19 MB / 298.7 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.0002907/0.006534, allocations: 0.7518 MB / 330.6 MB, free: 9.391 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.539e-05/0.00663, allocations: 63.84 kB / 330.6 MB, free: 9.328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.006631, allocations: 0 / 330.6 MB, free: 9.328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.566e-05/0.006657, allocations: 31.92 kB / 330.7 MB, free: 9.297 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.006872, allocations: 12.47 kB / 330.7 MB, free: 9.285 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.007896, allocations: 1.611 MB / 332.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.249e-05/0.007949, allocations: 87.27 kB / 332.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.499e-05/0.007974, allocations: 4.5 kB / 332.4 MB, free: 7.418 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.008017, allocations: 32.42 kB / 332.4 MB, free: 7.387 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008018, allocations: 0 / 332.4 MB, free: 7.387 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.02216, allocations: 2.564 MB / 335 MB, free: 4.93 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.66/6.682, allocations: 8.062 kB / 335 MB, free: 4.922 MB / 298.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.csv","/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: 8.412491275928915]