Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointUPS",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.01036/0.01036, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.673/1.673, allocations: 170.8 MB / 186.6 MB, free: 1.105 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.001948/0.001948, allocations: 115.4 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.4967/0.4967, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.0004898, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1065, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4446/0.5512, allocations: 85.61 MB / 497.3 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.5516, allocations: 76.64 kB / 497.4 MB, free: 2.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1423/0.6939, allocations: 34.58 MB / 0.5195 GB, free: 4.176 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.694, allocations: 0 / 0.5195 GB, free: 4.176 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001137/0.6941, allocations: 32 kB / 0.5195 GB, free: 4.145 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: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.009273/0.7034, allocations: 2.298 MB / 0.5218 GB, free: 1.969 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.7035, allocations: 8.031 kB / 0.5218 GB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001606/0.7051, allocations: 368 kB / 0.5221 GB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/0.7085, allocations: 388.3 kB / 0.5225 GB, free: 1.348 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004541/0.7131, allocations: 1.14 MB / 0.5236 GB, free: 372 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.7133, allocations: 148 kB / 0.5237 GB, free: 224 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009885/0.7143, allocations: 191.9 kB / 0.5239 GB, free: 32 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01662/0.731, allocations: 4.831 MB / 0.5286 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-05/0.7311, allocations: 15.86 kB / 0.5286 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003781/0.7315, allocations: 87.95 kB / 0.5287 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001686/0.7332, allocations: 0.515 MB / 0.5292 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0149/0.7481, allocations: 3.858 MB / 0.533 GB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03667/0.7849, allocations: 16.63 MB / 0.5492 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007738/0.7926, allocations: 1.28 MB / 0.5505 GB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009216/0.8019, allocations: 4.066 MB / 0.5545 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/0.802, allocations: 46.25 kB / 0.5545 GB, free: 15.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 3.287e-06/0.802, allocations: 0 / 0.5545 GB, free: 15.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=41): time 0.01139/0.8134, allocations: 1.787 MB / 0.5563 GB, free: 13.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.8136, allocations: 106.8 kB / 0.5564 GB, free: 13.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003101/0.8167, allocations: 1.396 MB / 0.5577 GB, free: 12.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.155e-05/0.8168, allocations: 33.7 kB / 0.5578 GB, free: 12.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.8182, allocations: 1.398 MB / 0.5591 GB, free: 10.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.8184, allocations: 178 kB / 0.5593 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.8186, allocations: 44 kB / 0.5593 GB, free: 10.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003407/0.8189, allocations: 459.6 kB / 0.5598 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.8203, allocations: 0.5002 MB / 0.5603 GB, free: 9.723 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002642/0.823, allocations: 2.017 MB / 0.5622 GB, free: 6.934 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/0.8254, allocations: 0.9596 MB / 0.5632 GB, free: 5.973 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-05/0.8254, allocations: 16 kB / 0.5632 GB, free: 5.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.006301/0.8317, allocations: 2.415 MB / 0.5655 GB, free: 3.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.311e-05/0.8319, allocations: 28 kB / 0.5656 GB, free: 3.508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.007e-05/0.8319, allocations: 56 kB / 0.5656 GB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001189/0.8321, allocations: 80 kB / 0.5657 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003096/0.8352, allocations: 0.5385 MB / 0.5662 GB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001292/0.8353, allocations: 107.6 kB / 0.5663 GB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.8377, allocations: 336.5 kB / 0.5666 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002561/0.8379, allocations: 140 kB / 0.5668 GB, free: 2.262 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 30 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[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 (292): * Single equations (assignments): 292 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001976/0.8399, allocations: 0.8592 MB / 0.5676 GB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003286/0.8403, allocations: 134.3 kB / 0.5677 GB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003807/0.8407, allocations: 149.3 kB / 0.5679 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.8407, allocations: 8 kB / 0.5679 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.8407, allocations: 8 kB / 0.5679 GB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.8407, allocations: 3.984 kB / 0.5679 GB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007985/0.8487, allocations: 3.23 MB / 0.5711 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/0.8488, allocations: 12.03 kB / 0.5711 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/0.8494, allocations: 103.7 kB / 0.5712 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.877e-05/0.8495, allocations: 19.98 kB / 0.5712 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/0.8495, allocations: 27.95 kB / 0.5712 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.293e-05/0.8496, allocations: 15.94 kB / 0.5712 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.8e-05/0.8496, allocations: 15.94 kB / 0.5712 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.8516, allocations: 1.568 MB / 0.5728 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004725/0.8521, allocations: 227.2 kB / 0.573 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/0.8524, allocations: 27.98 kB / 0.573 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007422/0.8531, allocations: 24 kB / 0.573 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.8533, allocations: 63.73 kB / 0.5731 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-05/0.8533, allocations: 31.98 kB / 0.5731 GB, free: 10.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002203/0.8555, allocations: 0.9625 MB / 0.5741 GB, free: 9.992 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.8556, allocations: 0 / 0.5741 GB, free: 9.992 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002812/0.8584, allocations: 482 kB / 0.5745 GB, free: 9.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 simulation (50): * Single equations (assignments): 50 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003639/0.8621, allocations: 5.379 MB / 0.5798 GB, free: 3.781 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003261/0.8654, allocations: 1.237 MB / 0.581 GB, free: 2.555 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.8654, allocations: 8.25 kB / 0.581 GB, free: 2.547 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000529/0.866, allocations: 222.4 kB / 0.5812 GB, free: 2.332 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.8671, allocations: 161.4 kB / 0.5814 GB, free: 2.176 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3052/1.172, allocations: 48.34 MB / 0.6286 GB, free: 68.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002247/1.175, allocations: 1.743 MB / 0.6303 GB, free: 68.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002759/1.177, allocations: 0.599 MB / 0.6309 GB, free: 68.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/1.179, allocations: 0.7375 MB / 0.6316 GB, free: 68.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/1.179, allocations: 0 / 0.6316 GB, free: 68.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07557/1.255, allocations: 25.49 MB / 0.6565 GB, free: 66.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/1.255, allocations: 163.5 kB / 0.6566 GB, free: 66.37 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.398/4.653, allocations: 0 / 0.6566 GB, free: 66.37 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat