Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01472/0.01472, allocations: 176.1 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.059/2.059, allocations: 194.5 MB / 210.3 MB, free: 7.801 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002229/0.002228, allocations: 116.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2499/0.2499, allocations: 40 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004826, allocations: 10.59 kB / 406.3 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09931/0.09983, allocations: 54.88 MB / 461.1 MB, free: 3.234 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5806/0.6805, allocations: 97.23 MB / 0.5453 GB, free: 21.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.6807, allocations: 79.7 kB / 0.5454 GB, free: 21.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1318/0.8125, allocations: 33.28 MB / 0.5779 GB, free: 14.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.8126, allocations: 0 / 0.5779 GB, free: 14.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001044/0.8127, allocations: 28.75 kB / 0.5779 GB, free: 14.1 MB / 378.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.005901/0.8186, allocations: 1.798 MB / 0.5796 GB, free: 12.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.8187, allocations: 7.719 kB / 0.5796 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008579/0.8196, allocations: 244.7 kB / 0.5799 GB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003271/0.8229, allocations: 403.1 kB / 0.5803 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/0.8334, allocations: 2.922 MB / 0.5831 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.8336, allocations: 104 kB / 0.5832 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004251/0.834, allocations: 142.4 kB / 0.5834 GB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008716/0.8428, allocations: 2.916 MB / 0.5862 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.874e-05/0.8429, allocations: 23.25 kB / 0.5862 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002362/0.8432, allocations: 57.66 kB / 0.5863 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006477/0.8438, allocations: 263.4 kB / 0.5865 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007802/0.8516, allocations: 2.111 MB / 0.5886 GB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01769/0.8694, allocations: 11.26 MB / 0.5996 GB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006072/0.8755, allocations: 1.085 MB / 0.6006 GB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005187/0.8807, allocations: 2.637 MB / 0.6032 GB, free: 16.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.8808, allocations: 42.03 kB / 0.6033 GB, free: 16.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.817e-06/0.8809, allocations: 0 / 0.6033 GB, free: 16.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.01912/0.9, allocations: 3.506 MB / 0.6067 GB, free: 15.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.9001, allocations: 85.36 kB / 0.6068 GB, free: 14.92 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.9022, allocations: 1.057 MB / 0.6078 GB, free: 14.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.9024, allocations: 29.58 kB / 0.6078 GB, free: 14.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008485/0.9032, allocations: 0.9271 MB / 0.6087 GB, free: 13.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.9035, allocations: 199.1 kB / 0.6089 GB, free: 13.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-05/0.9036, allocations: 25.53 kB / 0.6089 GB, free: 13.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.9038, allocations: 365.6 kB / 0.6093 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009652/0.9048, allocations: 386.8 kB / 0.6097 GB, free: 13.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.9065, allocations: 1.207 MB / 0.6108 GB, free: 12.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.9082, allocations: 0.645 MB / 0.6115 GB, free: 11.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-05/0.9082, allocations: 11.94 kB / 0.6115 GB, free: 11.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004518/0.9127, allocations: 1.636 MB / 0.6131 GB, free: 10.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/0.9129, allocations: 24.22 kB / 0.6131 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.717e-05/0.9129, allocations: 28 kB / 0.6131 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003676/0.9133, allocations: 100.4 kB / 0.6132 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/0.9155, allocations: 346.5 kB / 0.6136 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.9179, allocations: 1.721 MB / 0.6152 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.9196, allocations: 66.48 kB / 0.6153 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002379/0.9199, allocations: 83.38 kB / 0.6154 GB, free: 8.422 MB / 394.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.001558/0.9215, allocations: 0.6319 MB / 0.616 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/0.9218, allocations: 110.6 kB / 0.6161 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/0.9237, allocations: 0.6552 MB / 0.6167 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.9238, allocations: 4 kB / 0.6167 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.9238, allocations: 8 kB / 0.6168 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.9238, allocations: 3.984 kB / 0.6168 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005803/0.9296, allocations: 2.151 MB / 0.6189 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.9297, allocations: 7.953 kB / 0.6189 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007151/0.9304, allocations: 90.08 kB / 0.619 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003034/0.9308, allocations: 64.94 kB / 0.619 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.095e-05/0.9308, allocations: 16 kB / 0.619 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002532/0.9334, allocations: 1.757 MB / 0.6207 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/0.9334, allocations: 8 kB / 0.6208 GB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.9361, allocations: 1.196 MB / 0.6219 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000617/0.9368, allocations: 215.7 kB / 0.6221 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.937, allocations: 19.98 kB / 0.6221 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006918/0.9377, allocations: 23.98 kB / 0.6222 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.9378, allocations: 39.97 kB / 0.6222 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/0.9378, allocations: 20 kB / 0.6222 GB, free: 1.957 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001754/0.9396, allocations: 0.7515 MB / 0.623 GB, free: 1.199 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.715e-06/0.9396, allocations: 0 / 0.623 GB, free: 1.199 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002219/0.9419, allocations: 299.9 kB / 0.6232 GB, free: 0.9062 MB / 394.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.003551/0.9455, allocations: 2.725 MB / 0.6259 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002851/0.9483, allocations: 1.035 MB / 0.6269 GB, free: 13.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.9484, allocations: 0 / 0.6269 GB, free: 13.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009626/0.9494, allocations: 383.7 kB / 0.6273 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.9508, allocations: 160.5 kB / 0.6274 GB, free: 12.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01941/0.9703, allocations: 24.74 MB / 0.6516 GB, free: 3.027 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002062/0.9724, allocations: 1.454 MB / 0.653 GB, free: 1.543 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001994/0.9744, allocations: 401.6 kB / 0.6534 GB, free: 1.148 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/0.9758, allocations: 0.554 MB / 0.6539 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/0.9758, allocations: 3.938 kB / 0.6539 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1419/1.118, allocations: 21.63 MB / 0.6751 GB, free: 11.01 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002897/1.118, allocations: 192.5 kB / 0.6753 GB, free: 10.77 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.213/4.332, allocations: 4 kB / 0.6753 GB, free: 10.77 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat