Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001318/0.001318, allocations: 174.2 kB / 17.36 MB, free: 4.438 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.6 MB / 223.7 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007394/0.0007394, allocations: 82.39 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002386/0.0002386, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2251, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001729/0.2269, allocations: 1.326 MB / 377.9 MB, free: 44.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002052/0.2271, allocations: 70.77 kB / 378 MB, free: 44.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.992e-05/0.2272, allocations: 0.9375 kB / 378 MB, free: 44.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.837e-05/0.2273, allocations: 12.86 kB / 378 MB, free: 44.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.376e-05/0.2273, allocations: 14.08 kB / 378 MB, free: 44.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.2275, allocations: 19.14 kB / 378 MB, free: 44.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.2276, allocations: 53.86 kB / 378.1 MB, free: 44.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2277, allocations: 19.73 kB / 378.1 MB, free: 44.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.295e-05/0.2278, allocations: 26.39 kB / 378.1 MB, free: 44.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/0.2279, allocations: 28.64 kB / 378.2 MB, free: 44.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.2279, allocations: 2.281 kB / 378.2 MB, free: 44.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.473e-05/0.2279, allocations: 2.219 kB / 378.2 MB, free: 44.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.2279, allocations: 14.36 kB / 378.2 MB, free: 44.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.228, allocations: 47.83 kB / 378.2 MB, free: 44.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.2281, allocations: 69.38 kB / 378.3 MB, free: 44.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2281, allocations: 0 / 378.3 MB, free: 44.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.2281, allocations: 1.062 kB / 378.3 MB, free: 44.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.2281, allocations: 4 kB / 378.3 MB, free: 44.25 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.0003698/0.2285, allocations: 349 kB / 378.6 MB, free: 43.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.2286, allocations: 9.125 kB / 378.6 MB, free: 43.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.2286, allocations: 8.469 kB / 378.7 MB, free: 43.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2288, allocations: 177.7 kB / 378.8 MB, free: 43.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.2288, allocations: 2.906 kB / 378.8 MB, free: 43.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.2288, allocations: 9.188 kB / 378.8 MB, free: 43.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.229, allocations: 73.3 kB / 378.9 MB, free: 43.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.229, allocations: 9.156 kB / 378.9 MB, free: 43.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.229, allocations: 3.938 kB / 378.9 MB, free: 43.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.229, allocations: 2.125 kB / 378.9 MB, free: 43.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.059e-05/0.2291, allocations: 34.38 kB / 379 MB, free: 43.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000531/0.2296, allocations: 377.1 kB / 379.3 MB, free: 43.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.871e-05/0.2297, allocations: 57.91 kB / 379.4 MB, free: 43.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.2298, allocations: 25.48 kB / 379.4 MB, free: 43.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.2298, allocations: 1.125 kB / 379.4 MB, free: 43.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.2298, allocations: 34.56 kB / 379.4 MB, free: 43.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.2298, allocations: 1.25 kB / 379.4 MB, free: 43.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006647/0.2305, allocations: 0.5105 MB / 380 MB, free: 42.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.2305, allocations: 56.31 kB / 380 MB, free: 42.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.748e-05/0.2306, allocations: 123.2 kB / 380.1 MB, free: 42.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.2306, allocations: 26.67 kB / 380.2 MB, free: 42.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.2307, allocations: 94.16 kB / 380.2 MB, free: 42.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.2307, allocations: 35.92 kB / 380.3 MB, free: 42.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.2307, allocations: 4 kB / 380.3 MB, free: 42.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.68e-05/0.2308, allocations: 317 kB / 380.6 MB, free: 41.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/0.2308, allocations: 26.05 kB / 380.6 MB, free: 41.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.913e-05/0.2309, allocations: 54.55 kB / 380.7 MB, free: 41.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.058e-05/0.231, allocations: 84.16 kB / 380.8 MB, free: 41.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.231, allocations: 4.938 kB / 380.8 MB, free: 41.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001545/0.2311, allocations: 111.9 kB / 380.9 MB, free: 41.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2312, allocations: 6.125 kB / 380.9 MB, free: 41.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2312, allocations: 1.703 kB / 380.9 MB, free: 41.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.2312, allocations: 2.125 kB / 380.9 MB, free: 41.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.597e-05/0.2313, allocations: 30.73 kB / 380.9 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.2313, allocations: 6.438 kB / 380.9 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.001e-05/0.2314, allocations: 5.375 kB / 380.9 MB, free: 41.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.2314, allocations: 7.812 kB / 380.9 MB, free: 41.67 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.002e-05/0.2314, allocations: 121.4 kB / 381.1 MB, free: 41.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.2315, allocations: 3.844 kB / 381.1 MB, free: 41.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.2315, allocations: 13.5 kB / 381.1 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2315, allocations: 2.594 kB / 381.1 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2315, allocations: 3.938 kB / 381.1 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2315, allocations: 3.984 kB / 381.1 MB, free: 41.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.2319, allocations: 404.8 kB / 381.5 MB, free: 41.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2319, allocations: 1.406 kB / 381.5 MB, free: 41.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.232, allocations: 24.2 kB / 381.5 MB, free: 41.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.232, allocations: 2.312 kB / 381.5 MB, free: 41.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.2321, allocations: 6.219 kB / 381.5 MB, free: 41.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2321, allocations: 1.125 kB / 381.5 MB, free: 41.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2321, allocations: 10.89 kB / 381.5 MB, free: 41.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.2323, allocations: 229.5 kB / 381.7 MB, free: 40.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.2323, allocations: 92.88 kB / 381.8 MB, free: 40.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.2323, allocations: 2.281 kB / 381.8 MB, free: 40.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.307e-05/0.2324, allocations: 6.25 kB / 381.8 MB, free: 40.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.2324, allocations: 8.219 kB / 381.8 MB, free: 40.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.2324, allocations: 2.906 kB / 381.9 MB, free: 40.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.58e-05/0.2325, allocations: 96.45 kB / 381.9 MB, free: 40.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2325, allocations: 0 / 381.9 MB, free: 40.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002272/0.2327, allocations: 16.97 kB / 382 MB, free: 40.68 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 9.814e-05/0.2328, allocations: 109.9 kB / 382.1 MB, free: 40.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.2329, allocations: 65.62 kB / 382.1 MB, free: 40.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.233, allocations: 0 / 382.1 MB, free: 40.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.233, allocations: 28.22 kB / 382.2 MB, free: 40.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.2334, allocations: 16.33 kB / 382.2 MB, free: 40.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/0.234, allocations: 404.2 kB / 382.6 MB, free: 40.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.2342, allocations: 0.6999 MB / 383.3 MB, free: 39.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.868e-05/0.2342, allocations: 3.656 kB / 383.3 MB, free: 39.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.2342, allocations: 12.91 kB / 383.3 MB, free: 39.45 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2342, allocations: 0 / 383.3 MB, free: 39.45 MB / 298.7 MB Notification: Performance of Templates: time 0.002613/0.2369, allocations: 0.6302 MB / 383.9 MB, free: 39.13 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (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 & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches