Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01024/0.01024, allocations: 164.3 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.741/1.741, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001987/0.001986, allocations: 99.41 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4634/0.4634, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.0004689, allocations: 12 kB / 363 MB, free: 5.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1048, allocations: 48.71 MB / 411.7 MB, free: 4.75 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4308/0.5357, allocations: 90.53 MB / 0.4904 GB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.5361, allocations: 74.53 kB / 0.4905 GB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1503/0.6864, allocations: 33.27 MB / 0.523 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.6864, allocations: 4 kB / 0.523 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001265/0.6866, allocations: 28 kB / 0.523 GB, free: 0.5391 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.006929/0.6935, allocations: 1.799 MB / 0.5248 GB, free: 14.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.6936, allocations: 8.031 kB / 0.5248 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001003/0.6946, allocations: 253.5 kB / 0.525 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003661/0.6983, allocations: 399.3 kB / 0.5254 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01244/0.7108, allocations: 2.916 MB / 0.5283 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.711, allocations: 106.8 kB / 0.5284 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006538/0.7116, allocations: 140 kB / 0.5285 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01028/0.7219, allocations: 2.909 MB / 0.5313 GB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.646e-05/0.7221, allocations: 15.84 kB / 0.5314 GB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002541/0.7224, allocations: 65 kB / 0.5314 GB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008185/0.7232, allocations: 270 kB / 0.5317 GB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008826/0.732, allocations: 2.1 MB / 0.5337 GB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02148/0.7536, allocations: 11.26 MB / 0.5447 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006587/0.7602, allocations: 1.084 MB / 0.5458 GB, free: 9.242 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005633/0.7659, allocations: 2.641 MB / 0.5484 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.766, allocations: 38.52 kB / 0.5484 GB, free: 6.359 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 2.896e-06/0.766, allocations: 0 / 0.5484 GB, free: 6.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.01984/0.7858, allocations: 3.512 MB / 0.5518 GB, free: 2.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.786, allocations: 85.55 kB / 0.5519 GB, free: 2.629 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002347/0.7883, allocations: 1.046 MB / 0.5529 GB, free: 1.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.7885, allocations: 37.7 kB / 0.553 GB, free: 1.527 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009327/0.7894, allocations: 0.9238 MB / 0.5539 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.7897, allocations: 197.4 kB / 0.5541 GB, free: 404 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.7899, allocations: 28 kB / 0.5541 GB, free: 376 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.7901, allocations: 365.9 kB / 0.5544 GB, free: 4 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.7912, allocations: 395.7 kB / 0.5548 GB, free: 15.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001761/0.793, allocations: 1.206 MB / 0.556 GB, free: 13.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.7946, allocations: 0.638 MB / 0.5566 GB, free: 13.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-05/0.7947, allocations: 12 kB / 0.5566 GB, free: 13.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004594/0.7993, allocations: 1.643 MB / 0.5582 GB, free: 11.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/0.7994, allocations: 16 kB / 0.5582 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.42e-05/0.7994, allocations: 35.94 kB / 0.5583 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003475/0.7998, allocations: 92.81 kB / 0.5584 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/0.802, allocations: 347.3 kB / 0.5587 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.8046, allocations: 1.722 MB / 0.5604 GB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.8063, allocations: 72.05 kB / 0.5605 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/0.8065, allocations: 84 kB / 0.5605 GB, free: 9.199 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001681/0.8082, allocations: 0.6241 MB / 0.5611 GB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003991/0.8086, allocations: 110.6 kB / 0.5612 GB, free: 8.461 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.8114, allocations: 0.6644 MB / 0.5619 GB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.8115, allocations: 4 kB / 0.5619 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.8115, allocations: 0 / 0.5619 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.8115, allocations: 7.984 kB / 0.5619 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007472/0.819, allocations: 2.15 MB / 0.564 GB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.8191, allocations: 4 kB / 0.564 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009706/0.8201, allocations: 87.89 kB / 0.5641 GB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003989/0.8205, allocations: 77.22 kB / 0.5642 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.213e-05/0.8206, allocations: 12 kB / 0.5642 GB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003543/0.8241, allocations: 1.772 MB / 0.5659 GB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/0.8242, allocations: 4 kB / 0.5659 GB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003668/0.8279, allocations: 1.182 MB / 0.5671 GB, free: 2.105 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007379/0.8287, allocations: 215.7 kB / 0.5673 GB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/0.8289, allocations: 19.94 kB / 0.5673 GB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009084/0.8298, allocations: 28.05 kB / 0.5673 GB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.83, allocations: 39.89 kB / 0.5674 GB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.8301, allocations: 16 kB / 0.5674 GB, free: 1.773 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002254/0.8323, allocations: 0.7593 MB / 0.5681 GB, free: 1.008 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.8324, allocations: 0 / 0.5681 GB, free: 1.008 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00308/0.8355, allocations: 300 kB / 0.5684 GB, free: 0.7148 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.s,prismatic.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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004619/0.8401, allocations: 2.721 MB / 0.5711 GB, free: 13.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003677/0.8439, allocations: 1.028 MB / 0.5721 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.8439, allocations: 0 / 0.5721 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.8451, allocations: 388.4 kB / 0.5724 GB, free: 12.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.8469, allocations: 170.5 kB / 0.5726 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2933/1.14, allocations: 24.73 MB / 0.5968 GB, free: 95.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001913/1.142, allocations: 1.456 MB / 0.5982 GB, free: 94.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002045/1.144, allocations: 393.9 kB / 0.5985 GB, free: 94.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/1.146, allocations: 0.5614 MB / 0.5991 GB, free: 94.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.393e-06/1.146, allocations: 0 / 0.5991 GB, free: 94.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07132/1.217, allocations: 21.61 MB / 0.6202 GB, free: 93.65 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/1.217, allocations: 203.1 kB / 0.6204 GB, free: 93.41 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.193/4.41, allocations: 1.641 kB / 0.6204 GB, free: 93.41 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat