Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.01001/0.01001, allocations: 163.1 kB / 15.11 MB, free: 5.93 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.574/1.574, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001967/0.001967, allocations: 110.6 kB / 226.2 MB, free: 10.09 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.4242/0.4242, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004881, allocations: 16 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1118, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4377/0.5495, allocations: 93.46 MB / 0.4933 GB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.5499, allocations: 81.64 kB / 0.4934 GB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3108/0.8608, allocations: 71.8 MB / 0.5635 GB, free: 7.355 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.8608, allocations: 0 / 0.5635 GB, free: 7.355 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002297/0.8611, allocations: 71.98 kB / 0.5636 GB, free: 7.285 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01375/0.8748, allocations: 3.565 MB / 0.5671 GB, free: 3.656 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.8749, allocations: 8.031 kB / 0.5671 GB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002546/0.8775, allocations: 0.6349 MB / 0.5677 GB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01657/0.8941, allocations: 2.085 MB / 0.5697 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01603/0.9101, allocations: 4.072 MB / 0.5737 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003/0.9105, allocations: 262.8 kB / 0.5739 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/0.912, allocations: 348.8 kB / 0.5743 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02473/0.9368, allocations: 8.857 MB / 0.5829 GB, free: 2.324 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002242/0.9371, allocations: 67.39 kB / 0.583 GB, free: 2.258 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008372/0.9379, allocations: 171.9 kB / 0.5832 GB, free: 2.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00199/0.9399, allocations: 0.8643 MB / 0.584 GB, free: 1.227 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3202/1.26, allocations: 7.156 MB / 0.591 GB, free: 83.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05871/1.319, allocations: 42.61 MB / 0.6326 GB, free: 56.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01913/1.338, allocations: 3.171 MB / 0.6357 GB, free: 55.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01433/1.352, allocations: 4.095 MB / 0.6397 GB, free: 54.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/1.353, allocations: 49.47 kB / 0.6397 GB, free: 54.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=114): time 7.214e-06/1.353, allocations: 2.562 kB / 0.6397 GB, free: 54.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=122): time 0.05627/1.409, allocations: 11.35 MB / 0.6508 GB, free: 49.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.931e-05/1.409, allocations: 168.5 kB / 0.651 GB, free: 49.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009405/1.418, allocations: 3.315 MB / 0.6542 GB, free: 48.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003585/1.419, allocations: 44.58 kB / 0.6543 GB, free: 48.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002844/1.422, allocations: 2.728 MB / 0.6569 GB, free: 46.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009812/1.423, allocations: 0.4918 MB / 0.6574 GB, free: 46.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007672/1.424, allocations: 107.7 kB / 0.6575 GB, free: 46.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004224/1.424, allocations: 0.5241 MB / 0.658 GB, free: 45.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004509/1.429, allocations: 1.662 MB / 0.6597 GB, free: 45.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006416/1.435, allocations: 5.067 MB / 0.6646 GB, free: 39.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006252/1.441, allocations: 2.844 MB / 0.6674 GB, free: 38.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-05/1.441, allocations: 34.88 kB / 0.6674 GB, free: 38.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.017/1.458, allocations: 6.621 MB / 0.6739 GB, free: 36.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-05/1.459, allocations: 56.84 kB / 0.6739 GB, free: 36.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001532/1.459, allocations: 121.6 kB / 0.674 GB, free: 36.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009438/1.46, allocations: 347.5 kB / 0.6744 GB, free: 36.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007489/1.467, allocations: 1.27 MB / 0.6756 GB, free: 36.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/1.47, allocations: 2.381 MB / 0.6779 GB, free: 34.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006007/1.477, allocations: 278.7 kB / 0.6782 GB, free: 34.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007995/1.477, allocations: 333.8 kB / 0.6785 GB, free: 34.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (656): * Single equations (assignments): 652 * Array equations: 3 * 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.004503/1.482, allocations: 1.783 MB / 0.6803 GB, free: 33.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009787/1.483, allocations: 306.3 kB / 0.6806 GB, free: 33.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007484/1.49, allocations: 2.319 MB / 0.6828 GB, free: 32.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.501e-05/1.49, allocations: 15.78 kB / 0.6828 GB, free: 32.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/1.49, allocations: 7.469 kB / 0.6828 GB, free: 32.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/1.49, allocations: 3.562 kB / 0.6829 GB, free: 32.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01911/1.51, allocations: 5.848 MB / 0.6886 GB, free: 30.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.572e-05/1.51, allocations: 0 / 0.6886 GB, free: 30.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/1.511, allocations: 163.7 kB / 0.6887 GB, free: 30.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004019/1.515, allocations: 0.7119 MB / 0.6894 GB, free: 30.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003498/1.516, allocations: 19.59 kB / 0.6894 GB, free: 30.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009285/1.525, allocations: 4.562 MB / 0.6939 GB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.525, allocations: 7.125 kB / 0.6939 GB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/1.536, allocations: 4.39 MB / 0.6982 GB, free: 25.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002106/1.538, allocations: 0.5338 MB / 0.6987 GB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000961/1.539, allocations: 15.97 kB / 0.6987 GB, free: 25.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002332/1.542, allocations: 75.47 kB / 0.6988 GB, free: 25.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003898/1.542, allocations: 70.47 kB / 0.6989 GB, free: 25.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/1.542, allocations: 33.12 kB / 0.6989 GB, free: 25.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005908/1.548, allocations: 2.306 MB / 0.7011 GB, free: 24.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.162e-06/1.548, allocations: 0 / 0.7011 GB, free: 24.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006419/1.555, allocations: 0.8142 MB / 0.7019 GB, free: 24.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (90): * Single equations (assignments): 86 * Array equations: 3 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01187/1.567, allocations: 5.3 MB / 0.7071 GB, free: 21.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009756/1.577, allocations: 3.935 MB / 0.711 GB, free: 18.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.577, allocations: 4.188 kB / 0.711 GB, free: 18.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002507/1.579, allocations: 1.087 MB / 0.712 GB, free: 17.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003655/1.583, allocations: 358.8 kB / 0.7124 GB, free: 17.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3446/1.927, allocations: 98.93 MB / 0.809 GB, free: 43.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006835/1.934, allocations: 2.835 MB / 0.8117 GB, free: 43.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00755/1.942, allocations: 1.65 MB / 0.8134 GB, free: 43.15 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003971/1.946, allocations: 1.512 MB / 0.8148 GB, free: 43.14 MB / 458.7 MB Notification: Performance of SimCode: time 1.343e-06/1.946, allocations: 0 / 0.8148 GB, free: 43.14 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1602/2.106, allocations: 63.67 MB / 0.877 GB, free: 32.45 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/2.107, allocations: 206.7 kB / 0.8772 GB, free: 32.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.258/7.364, allocations: 0 / 0.8772 GB, free: 32.2 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat