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.001541/0.001541, allocations: 103.1 kB / 17.06 MB, free: 6.129 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.001871/0.001871, allocations: 195 kB / 18 MB, free: 5.203 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.307/1.307, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009956/0.0009957, allocations: 43.92 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2401, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002583/0.2427, allocations: 1.635 MB / 401.9 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002304/0.2429, allocations: 74.42 kB / 401.9 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.243, allocations: 2.156 kB / 401.9 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.917e-05/0.2431, allocations: 9.406 kB / 401.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.12e-05/0.2432, allocations: 21.12 kB / 402 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.2433, allocations: 14.64 kB / 402 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.2434, allocations: 70.5 kB / 402 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2436, allocations: 13.19 kB / 402.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.586e-05/0.2436, allocations: 27.92 kB / 402.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.971e-05/0.2437, allocations: 23.91 kB / 402.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.2437, allocations: 12 kB / 402.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.2437, allocations: 7.938 kB / 402.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.2437, allocations: 8 kB / 402.1 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.2438, allocations: 31.86 kB / 402.2 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.2439, allocations: 69.41 kB / 402.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2439, allocations: 4 kB / 402.2 MB, free: 6.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2439, allocations: 0 / 402.2 MB, free: 6.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2439, allocations: 0 / 402.2 MB, free: 6.801 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.0004036/0.2443, allocations: 359.4 kB / 402.6 MB, free: 6.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2444, allocations: 11.89 kB / 402.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.2444, allocations: 42.69 kB / 402.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.2444, allocations: 8.844 kB / 402.6 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.2446, allocations: 192.1 kB / 402.8 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.2446, allocations: 8.375 kB / 402.8 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.2447, allocations: 4.375 kB / 402.8 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.2448, allocations: 70.23 kB / 402.9 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2448, allocations: 3.938 kB / 402.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.2448, allocations: 0 / 402.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2448, allocations: 11.94 kB / 402.9 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.2449, allocations: 39.97 kB / 403 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005586/0.2455, allocations: 371.6 kB / 403.3 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.072e-05/0.2456, allocations: 54.56 kB / 403.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.2456, allocations: 20.86 kB / 403.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.2456, allocations: 3.984 kB / 403.4 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.2457, allocations: 38.5 kB / 403.4 MB, free: 5.406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.2457, allocations: 0 / 403.4 MB, free: 5.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006704/0.2464, allocations: 0.5091 MB / 404 MB, free: 4.805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.2464, allocations: 51.41 kB / 404 MB, free: 4.742 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.679e-05/0.2465, allocations: 125.8 kB / 404.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.2465, allocations: 25.7 kB / 404.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.2466, allocations: 91.95 kB / 404.2 MB, free: 4.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.2466, allocations: 35.55 kB / 404.3 MB, free: 4.449 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.2466, allocations: 25.7 kB / 404.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.2467, allocations: 319.3 kB / 404.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.2468, allocations: 19.98 kB / 404.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.718e-05/0.2468, allocations: 61.14 kB / 404.7 MB, free: 4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.443e-05/0.2469, allocations: 89.02 kB / 404.8 MB, free: 3.895 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2469, allocations: 0 / 404.8 MB, free: 3.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000142/0.2471, allocations: 121.4 kB / 404.9 MB, free: 3.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.2471, allocations: 4 kB / 404.9 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2471, allocations: 4 kB / 404.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2471, allocations: 0 / 404.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.834e-05/0.2472, allocations: 23.98 kB / 404.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2472, allocations: 3.938 kB / 404.9 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.2473, allocations: 7.938 kB / 404.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.2473, allocations: 8 kB / 405 MB, free: 3.719 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 6.539e-05/0.2474, allocations: 113.9 kB / 405.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.2474, allocations: 11.91 kB / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.2474, allocations: 8.375 kB / 405.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2474, allocations: 0 / 405.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2474, allocations: 7.938 kB / 405.1 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2474, allocations: 3.984 kB / 405.1 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.2478, allocations: 410.5 kB / 405.5 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2479, allocations: 7.938 kB / 405.5 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.529e-05/0.2479, allocations: 19.98 kB / 405.5 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.248, allocations: 0 / 405.5 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.248, allocations: 4 kB / 405.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.248, allocations: 4 kB / 405.5 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.248, allocations: 4 kB / 405.5 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.2482, allocations: 235.7 kB / 405.8 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.2482, allocations: 85.12 kB / 405.8 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.2482, allocations: 4 kB / 405.9 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-05/0.2483, allocations: 0 / 405.9 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.2483, allocations: 12.25 kB / 405.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.2483, allocations: 4 kB / 405.9 MB, free: 2.668 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.264e-05/0.2484, allocations: 91.36 kB / 406 MB, free: 2.578 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2484, allocations: 4.281 kB / 406 MB, free: 2.574 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.2486, allocations: 16 kB / 406 MB, free: 2.559 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.0003841/0.249, allocations: 0.7827 MB / 406.8 MB, free: 1.734 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.2492, allocations: 55.86 kB / 406.8 MB, free: 1.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2492, allocations: 4.25 kB / 406.8 MB, free: 1.676 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.2492, allocations: 31.92 kB / 406.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.2495, allocations: 11.94 kB / 406.9 MB, free: 1.633 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.2508, allocations: 1.658 MB / 408.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.251, allocations: 0.6927 MB / 409.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.417e-05/0.2511, allocations: 20.41 kB / 409.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.2511, allocations: 19.44 kB / 409.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of SimCode: time 1.322e-06/0.2511, allocations: 0 / 409.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.515/1.767, allocations: 1.929 MB / 411.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.772/10.54, allocations: 11.98 kB / 411.2 MB, free: 13.23 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