Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 111 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001423, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 47.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.261, allocations: 49.43 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003925/0.2649, allocations: 1.646 MB / 401.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003209/0.2653, allocations: 62.75 kB / 401.9 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2654, allocations: 5 kB / 401.9 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.2655, allocations: 5.188 kB / 401.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.781e-05/0.2656, allocations: 26.41 kB / 402 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.2658, allocations: 10.52 kB / 402 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.2659, allocations: 69.91 kB / 402 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.266, allocations: 23.98 kB / 402.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.309e-05/0.2661, allocations: 23.92 kB / 402.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.2662, allocations: 23.92 kB / 402.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.2662, allocations: 4 kB / 402.1 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.2662, allocations: 11.94 kB / 402.1 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.2662, allocations: 11.94 kB / 402.1 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.2663, allocations: 31.84 kB / 402.2 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.2664, allocations: 73.36 kB / 402.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2664, allocations: 0 / 402.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2664, allocations: 0 / 402.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.2664, allocations: 0 / 402.2 MB, free: 6.777 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.0004394/0.2669, allocations: 359.4 kB / 402.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2669, allocations: 12.03 kB / 402.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.267, allocations: 38.75 kB / 402.6 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.267, allocations: 8.844 kB / 402.6 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.2673, allocations: 192.2 kB / 402.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.2673, allocations: 384 / 402.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.2673, allocations: 12.38 kB / 402.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.2674, allocations: 66.17 kB / 402.9 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.2675, allocations: 7.938 kB / 402.9 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2675, allocations: 4 kB / 402.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2675, allocations: 0 / 402.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.894e-05/0.2676, allocations: 35.92 kB / 403 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006155/0.2682, allocations: 379.6 kB / 403.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.305e-05/0.2683, allocations: 54.56 kB / 403.4 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.2683, allocations: 16.86 kB / 403.4 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.2684, allocations: 0 / 403.4 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.2684, allocations: 38.55 kB / 403.4 MB, free: 5.398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.2684, allocations: 4 kB / 403.4 MB, free: 5.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007525/0.2692, allocations: 0.5052 MB / 403.9 MB, free: 4.797 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.2692, allocations: 55.39 kB / 404 MB, free: 4.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.2693, allocations: 129.8 kB / 404.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.2693, allocations: 25.7 kB / 404.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.2694, allocations: 99.95 kB / 404.2 MB, free: 4.461 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.2694, allocations: 31.55 kB / 404.3 MB, free: 4.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.2695, allocations: 25.72 kB / 404.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.2696, allocations: 318.8 kB / 404.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.786e-05/0.2696, allocations: 19.98 kB / 404.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.647e-05/0.2697, allocations: 55.89 kB / 404.7 MB, free: 3.988 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.867e-05/0.2698, allocations: 89.08 kB / 404.8 MB, free: 3.883 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2698, allocations: 0 / 404.8 MB, free: 3.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001524/0.2699, allocations: 113.4 kB / 404.9 MB, free: 3.766 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.27, allocations: 8.094 kB / 404.9 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.27, allocations: 4 kB / 404.9 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.27, allocations: 4 kB / 404.9 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.506e-05/0.2701, allocations: 23.92 kB / 404.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.2701, allocations: 11.94 kB / 404.9 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.2701, allocations: 4 kB / 404.9 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.2702, allocations: 4 kB / 404.9 MB, free: 3.707 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 7.492e-05/0.2702, allocations: 117.8 kB / 405.1 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.2703, allocations: 11.91 kB / 405.1 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.2703, allocations: 16.38 kB / 405.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2703, allocations: 0 / 405.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.2703, allocations: 3.938 kB / 405.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2703, allocations: 0 / 405.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.2708, allocations: 410.5 kB / 405.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2708, allocations: 4.156 kB / 405.5 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.028e-05/0.2709, allocations: 27.86 kB / 405.5 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.2709, allocations: 0 / 405.5 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.2709, allocations: 8 kB / 405.5 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.2709, allocations: 4 kB / 405.5 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2709, allocations: 0 / 405.5 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.2711, allocations: 231.6 kB / 405.8 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.2712, allocations: 81.33 kB / 405.8 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.2712, allocations: 8.453 kB / 405.9 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/0.2713, allocations: 4 kB / 405.9 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.2713, allocations: 11.92 kB / 405.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.2713, allocations: 4 kB / 405.9 MB, free: 2.648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.769e-05/0.2714, allocations: 103.3 kB / 406 MB, free: 2.547 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2714, allocations: 0 / 406 MB, free: 2.547 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.2717, allocations: 12 kB / 406 MB, free: 2.535 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.0004266/0.2721, allocations: 0.7633 MB / 406.7 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.2722, allocations: 67.84 kB / 406.8 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2722, allocations: 0 / 406.8 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.2723, allocations: 28.3 kB / 406.8 MB, free: 1.637 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.2726, allocations: 16.19 kB / 406.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.2741, allocations: 1.659 MB / 408.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.2743, allocations: 0.6967 MB / 409.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.01e-05/0.2744, allocations: 16.41 kB / 409.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.2744, allocations: 19.44 kB / 409.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2745, allocations: 0 / 409.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.2985, allocations: 1.924 MB / 411.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.273/7.572, allocations: 14.59 kB / 411.2 MB, free: 13.22 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/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_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches