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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 110.6 kB / 17.73 MB, free: 5.34 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.001556/0.001557, allocations: 194.9 kB / 18.67 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 52.39 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08146/0.08307, allocations: 46.63 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002657/0.08575, allocations: 1.62 MB / 376.3 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002351/0.08601, allocations: 67.78 kB / 376.3 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.211e-05/0.08608, allocations: 7.875 kB / 376.3 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.08622, allocations: 7.922 kB / 376.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.08627, allocations: 19.86 kB / 376.4 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.0864, allocations: 15.97 kB / 376.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.08653, allocations: 63.72 kB / 376.4 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.08665, allocations: 24 kB / 376.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.734e-05/0.08669, allocations: 19.92 kB / 376.5 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.718e-05/0.08676, allocations: 31.86 kB / 376.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.08679, allocations: 4 kB / 376.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.426e-05/0.08681, allocations: 4 kB / 376.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.08684, allocations: 19.91 kB / 376.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.08688, allocations: 23.88 kB / 376.6 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.08701, allocations: 67.72 kB / 376.6 MB, free: 3.074 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.08702, allocations: 3.938 kB / 376.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.08703, allocations: 0 / 376.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.08704, allocations: 4 kB / 376.6 MB, free: 3.066 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.0004744/0.08752, allocations: 371.2 kB / 377 MB, free: 2.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.08757, allocations: 12.03 kB / 377 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.08761, allocations: 38.73 kB / 377 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.08764, allocations: 4.938 kB / 377.1 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.08785, allocations: 184.3 kB / 377.2 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.08787, allocations: 384 / 377.2 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.0879, allocations: 8.375 kB / 377.2 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.08805, allocations: 74.17 kB / 377.3 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.08807, allocations: 3.938 kB / 377.3 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.08809, allocations: 8 kB / 377.3 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.0881, allocations: 0 / 377.3 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.779e-05/0.08818, allocations: 35.97 kB / 377.4 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006118/0.0888, allocations: 375.6 kB / 377.7 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.08892, allocations: 66.48 kB / 377.8 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/0.08896, allocations: 20.84 kB / 377.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/0.08898, allocations: 0 / 377.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.089, allocations: 30.56 kB / 377.8 MB, free: 1.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.08901, allocations: 0 / 377.8 MB, free: 1.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007363/0.08975, allocations: 0.513 MB / 378.4 MB, free: 1.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.08979, allocations: 51.41 kB / 378.4 MB, free: 1.012 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.481e-05/0.08989, allocations: 125.7 kB / 378.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.08992, allocations: 25.7 kB / 378.6 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.08998, allocations: 100 kB / 378.7 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.09002, allocations: 36.3 kB / 378.7 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.09007, allocations: 25.7 kB / 378.7 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.0902, allocations: 322.8 kB / 379 MB, free: 364 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.813e-05/0.09024, allocations: 23.98 kB / 379.1 MB, free: 340 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.467e-05/0.09031, allocations: 57.14 kB / 379.1 MB, free: 264 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.09043, allocations: 97 kB / 379.2 MB, free: 148 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.09044, allocations: 0 / 379.2 MB, free: 148 kB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001563/0.0906, allocations: 109.5 kB / 379.3 MB, free: 32 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.09062, allocations: 4 kB / 379.3 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.09063, allocations: 4 kB / 379.3 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.09065, allocations: 0 / 379.3 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1591/0.2498, allocations: 30.66 kB / 379.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.2498, allocations: 5.781 kB / 379.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.2499, allocations: 3.375 kB / 379.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.2499, allocations: 5.156 kB / 379.4 MB, free: 12.76 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 9.751e-05/0.25, allocations: 126.8 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.2501, allocations: 5 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.2501, allocations: 9.828 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.2501, allocations: 5.188 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2501, allocations: 1.844 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2502, allocations: 3.594 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.2506, allocations: 410.1 kB / 379.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2507, allocations: 1.312 kB / 379.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.639e-05/0.2508, allocations: 23.03 kB / 379.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.2508, allocations: 2.562 kB / 379.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.2508, allocations: 6.875 kB / 379.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2508, allocations: 1.125 kB / 379.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2508, allocations: 2.156 kB / 379.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.251, allocations: 233.6 kB / 380.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.251, allocations: 85.08 kB / 380.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.2511, allocations: 4.297 kB / 380.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.2511, allocations: 4.688 kB / 380.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.2512, allocations: 11.67 kB / 380.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.2512, allocations: 4.125 kB / 380.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.092e-05/0.2512, allocations: 95.2 kB / 380.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2512, allocations: 1.375 kB / 380.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.2515, allocations: 19.81 kB / 380.4 MB, free: 11.96 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.0003409/0.2519, allocations: 0.7621 MB / 381.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.252, allocations: 62.33 kB / 381.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.252, allocations: 3.719 kB / 381.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.291e-05/0.2521, allocations: 27.12 kB / 381.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.2524, allocations: 23.61 kB / 381.3 MB, free: 11.26 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.2537, allocations: 1.661 MB / 382.9 MB, free: 9.859 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.2539, allocations: 0.6986 MB / 383.6 MB, free: 9.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.085e-05/0.2539, allocations: 11.05 kB / 383.6 MB, free: 9.156 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.254, allocations: 22.97 kB / 383.7 MB, free: 9.148 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.254, allocations: 0 / 383.7 MB, free: 9.148 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.2783, allocations: 1.906 MB / 385.6 MB, free: 8.625 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/7.834, allocations: 12.91 kB / 385.6 MB, free: 8.613 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > 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/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) Reference file matches