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.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.001864/0.001864, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.002347/0.002347, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.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_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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 51.92 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2284, allocations: 49.16 MB / 396.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002608/0.231, allocations: 1.6 MB / 397.9 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002405/0.2313, allocations: 74.69 kB / 398 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.2313, allocations: 1.188 kB / 398 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.754e-05/0.2314, allocations: 7.219 kB / 398 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.2315, allocations: 20.02 kB / 398 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001115/0.2316, allocations: 15.84 kB / 398.1 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.2317, allocations: 68.94 kB / 398.1 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2318, allocations: 12 kB / 398.1 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.754e-05/0.2318, allocations: 29.78 kB / 398.2 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.679e-05/0.2319, allocations: 25.12 kB / 398.2 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.2319, allocations: 4.875 kB / 398.2 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.482e-05/0.2319, allocations: 4.5 kB / 398.2 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.2319, allocations: 13.59 kB / 398.2 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.232, allocations: 23.48 kB / 398.2 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.2321, allocations: 67.64 kB / 398.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2321, allocations: 0 / 398.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2321, allocations: 1.031 kB / 398.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.2321, allocations: 0 / 398.3 MB, free: 7.598 MB / 318.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.0003665/0.2325, allocations: 293.2 kB / 398.6 MB, free: 7.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2325, allocations: 14.02 kB / 398.6 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.76e-05/0.2325, allocations: 38.42 kB / 398.6 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.2326, allocations: 9.141 kB / 398.6 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.2327, allocations: 131.7 kB / 398.8 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.2327, allocations: 3.844 kB / 398.8 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.2328, allocations: 9.094 kB / 398.8 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.2329, allocations: 66.39 kB / 398.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.2329, allocations: 9.625 kB / 398.9 MB, free: 7.059 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.2329, allocations: 4 kB / 398.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2329, allocations: 6.188 kB / 398.9 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.482e-05/0.233, allocations: 33.39 kB / 398.9 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.2335, allocations: 338.2 kB / 399.2 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.2336, allocations: 54.97 kB / 399.3 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.2337, allocations: 21.09 kB / 399.3 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.2337, allocations: 1.219 kB / 399.3 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.2337, allocations: 32.5 kB / 399.3 MB, free: 6.641 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.2337, allocations: 3.938 kB / 399.3 MB, free: 6.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005679/0.2343, allocations: 375.6 kB / 399.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.742e-05/0.2343, allocations: 52.47 kB / 399.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.525e-05/0.2343, allocations: 120.3 kB / 399.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.2343, allocations: 27.17 kB / 399.9 MB, free: 6.117 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.2344, allocations: 101.3 kB / 400 MB, free: 6.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.2344, allocations: 30.25 kB / 400 MB, free: 5.996 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.2344, allocations: 31.41 kB / 400.1 MB, free: 5.969 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.2345, allocations: 319.8 kB / 400.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.365e-05/0.2345, allocations: 15.81 kB / 400.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.887e-05/0.2346, allocations: 60.39 kB / 400.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.676e-05/0.2346, allocations: 92.58 kB / 400.5 MB, free: 5.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2346, allocations: 0 / 400.5 MB, free: 5.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001518/0.2348, allocations: 111.3 kB / 400.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2348, allocations: 5.625 kB / 400.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2348, allocations: 2.5 kB / 400.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2348, allocations: 3.094 kB / 400.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.156e-05/0.2349, allocations: 21.14 kB / 400.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2349, allocations: 14.94 kB / 400.7 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.999e-05/0.235, allocations: 9.375 kB / 400.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.235, allocations: 4.719 kB / 400.7 MB, free: 5.43 MB / 318.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 5.059e-05/0.235, allocations: 115.6 kB / 400.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.235, allocations: 10.83 kB / 400.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.2351, allocations: 10.62 kB / 400.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2351, allocations: 1.375 kB / 400.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2351, allocations: 3.938 kB / 400.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2351, allocations: 1.859 kB / 400.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.2354, allocations: 379 kB / 401.2 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2354, allocations: 1.031 kB / 401.2 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.464e-05/0.2355, allocations: 22.5 kB / 401.2 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2355, allocations: 3 kB / 401.2 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.2355, allocations: 1.5 kB / 401.2 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.2355, allocations: 3.469 kB / 401.3 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2355, allocations: 5.344 kB / 401.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.2357, allocations: 238 kB / 401.5 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.2357, allocations: 12.02 kB / 401.5 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.2358, allocations: 3.453 kB / 401.5 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.2358, allocations: 6.172 kB / 401.5 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.2358, allocations: 8.109 kB / 401.5 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.2359, allocations: 3.062 kB / 401.5 MB, free: 4.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.43e-05/0.2359, allocations: 90.98 kB / 401.6 MB, free: 4.629 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2359, allocations: 0 / 401.6 MB, free: 4.629 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.2361, allocations: 17.88 kB / 401.6 MB, free: 4.625 MB / 318.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.0002916/0.2364, allocations: 0.7698 MB / 402.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.2366, allocations: 62.5 kB / 402.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2366, allocations: 0 / 402.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.2366, allocations: 25.44 kB / 402.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.2369, allocations: 17.83 kB / 402.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.2382, allocations: 1.668 MB / 404.2 MB, free: 2.301 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.643e-05/0.2382, allocations: 74.73 kB / 404.2 MB, free: 2.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.691e-05/0.2383, allocations: 7.688 kB / 404.3 MB, free: 2.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.2383, allocations: 22.75 kB / 404.3 MB, free: 2.215 MB / 318.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2383, allocations: 0 / 404.3 MB, free: 2.215 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.2676, allocations: 2.448 MB / 406.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.6, allocations: 2.625 kB / 406.7 MB, free: 1.125 MB / 318.1 MB " [Timeout remaining time 648] (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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.967382906936109]