Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007903/0.0007903, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8823/0.8823, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.521e-05, allocations: 6.219 kB / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002409/0.002434, allocations: 1.633 MB / 326.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002516/0.002686, allocations: 67.78 kB / 326.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.00275, allocations: 0 / 326.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.002856, allocations: 11.86 kB / 326.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.97e-05/0.002905, allocations: 19.86 kB / 326.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.003049, allocations: 19.91 kB / 326.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.003187, allocations: 67.67 kB / 326.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.003311, allocations: 23.97 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.003365, allocations: 35.91 kB / 326.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.88e-05/0.003424, allocations: 27.91 kB / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.003447, allocations: 4 kB / 326.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.003457, allocations: 4 kB / 326.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.003475, allocations: 8 kB / 326.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.003502, allocations: 19.92 kB / 326.5 MB, free: 14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.003624, allocations: 71.77 kB / 326.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.624e-06/0.003626, allocations: 0 / 326.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.003628, allocations: 0 / 326.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.003632, allocations: 0 / 326.6 MB, free: 13.93 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.0004835/0.004116, allocations: 286.2 kB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.004163, allocations: 12.03 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.03e-05/0.004203, allocations: 38.73 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.004232, allocations: 8.891 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.004416, allocations: 129.6 kB / 327 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.004432, allocations: 8.375 kB / 327 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.004455, allocations: 8.375 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.00458, allocations: 68.77 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.00459, allocations: 192 / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.004601, allocations: 4.375 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.004608, allocations: 8.109 kB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.181e-05/0.00467, allocations: 31.98 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.005182, allocations: 338.9 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.502e-05/0.005267, allocations: 58.55 kB / 327.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.005294, allocations: 16.86 kB / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.005304, allocations: 4 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.005321, allocations: 34.5 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.005322, allocations: 0 / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005347/0.005857, allocations: 375 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.005887, allocations: 55.41 kB / 328 MB, free: 12.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.006243, allocations: 117.8 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.006254, allocations: 25.7 kB / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.006302, allocations: 100.2 kB / 328.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.006322, allocations: 35.67 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.006354, allocations: 33.7 kB / 328.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.875e-05/0.006433, allocations: 326.8 kB / 328.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.006457, allocations: 12 kB / 328.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.838e-05/0.006506, allocations: 61.14 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.941e-05/0.006585, allocations: 89.02 kB / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006587, allocations: 0 / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001139/0.0067, allocations: 105.5 kB / 328.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.006714, allocations: 12.09 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.00672, allocations: 0 / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.006733, allocations: 4 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.006795, allocations: 23.98 kB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.006802, allocations: 7.938 kB / 328.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.472e-05/0.006826, allocations: 0 / 328.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.006833, allocations: 7.938 kB / 328.9 MB, free: 11.25 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 6.929e-05/0.006903, allocations: 121.8 kB / 329.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.006918, allocations: 7.953 kB / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.006945, allocations: 16.42 kB / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.006947, allocations: 4.609 kB / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.006953, allocations: 3.984 kB / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.006956, allocations: 0 / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/0.007307, allocations: 369.7 kB / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.00731, allocations: 4 kB / 329.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.989e-05/0.00736, allocations: 23.92 kB / 329.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.007367, allocations: 7.938 kB / 329.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.007375, allocations: 4 kB / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.007378, allocations: 8.156 kB / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.007379, allocations: 0 / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.007553, allocations: 227.7 kB / 329.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.007565, allocations: 7.984 kB / 329.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.007583, allocations: 15.92 kB / 329.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.917e-05/0.007622, allocations: 0 / 329.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.007638, allocations: 4 kB / 329.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.007644, allocations: 11.98 kB / 329.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.548e-05/0.00768, allocations: 87.28 kB / 329.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00768, allocations: 0 / 329.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.007875, allocations: 20.06 kB / 329.9 MB, free: 10.22 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.0003319/0.008207, allocations: 0.7634 MB / 330.6 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.008321, allocations: 51.92 kB / 330.7 MB, free: 9.359 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.008323, allocations: 0 / 330.7 MB, free: 9.359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.753e-05/0.008351, allocations: 31.86 kB / 330.7 MB, free: 9.328 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.008604, allocations: 13.03 kB / 330.7 MB, free: 9.316 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.009739, allocations: 1.633 MB / 332.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.301e-05/0.009792, allocations: 79.33 kB / 332.4 MB, free: 7.441 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.638e-05/0.009828, allocations: 8.5 kB / 332.5 MB, free: 7.434 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.009873, allocations: 24.48 kB / 332.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009874, allocations: 4 kB / 332.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.02833, allocations: 2.565 MB / 335 MB, free: 4.969 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.887/6.915, allocations: 8.047 kB / 335.1 MB, free: 4.961 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.641469313763082]