Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.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.JointRRP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointRRP",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.01436/0.01436, allocations: 166.7 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.868/1.868, 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.006959/0.006959, allocations: 114.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.468/0.468, allocations: 38.06 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007201/0.0007202, allocations: 15.98 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1236, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5724/0.6961, allocations: 95.85 MB / 0.4956 GB, free: 8.211 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.6964, allocations: 82.97 kB / 0.4957 GB, free: 8.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2894/0.9859, allocations: 72.04 MB / 0.5661 GB, free: 4.801 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.143e-06/0.9859, allocations: 3.984 kB / 0.5661 GB, free: 4.797 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002697/0.9862, allocations: 76 kB / 0.5661 GB, free: 4.723 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: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.01772/1.004, allocations: 4.077 MB / 0.5701 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/1.004, allocations: 12.03 kB / 0.5701 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003634/1.008, allocations: 0.7037 MB / 0.5708 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006982/1.015, allocations: 0.724 MB / 0.5715 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/1.025, allocations: 2.587 MB / 0.5741 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005001/1.025, allocations: 324.5 kB / 0.5744 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002175/1.028, allocations: 419.9 kB / 0.5748 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03641/1.064, allocations: 9.174 MB / 0.5837 GB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001888/1.064, allocations: 19.81 kB / 0.5837 GB, free: 2.176 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001416/1.066, allocations: 183.9 kB / 0.5839 GB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002802/1.068, allocations: 0.7998 MB / 0.5847 GB, free: 1.191 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3555/1.424, allocations: 7.308 MB / 0.5918 GB, free: 86.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0578/1.482, allocations: 29.67 MB / 0.6208 GB, free: 74.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/1.494, allocations: 2.177 MB / 0.6229 GB, free: 74.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01325/1.507, allocations: 6.736 MB / 0.6295 GB, free: 70.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/1.507, allocations: 46.56 kB / 0.6296 GB, free: 70.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 4.127e-06/1.507, allocations: 6.234 kB / 0.6296 GB, free: 70.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.0339/1.541, allocations: 7.49 MB / 0.6369 GB, free: 67.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/1.541, allocations: 169.7 kB / 0.637 GB, free: 66.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00649/1.548, allocations: 2.391 MB / 0.6394 GB, free: 65.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002815/1.548, allocations: 46.27 kB / 0.6394 GB, free: 65.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002369/1.551, allocations: 2.526 MB / 0.6419 GB, free: 64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006283/1.551, allocations: 394.2 kB / 0.6423 GB, free: 63.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000412/1.552, allocations: 80.56 kB / 0.6423 GB, free: 63.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002638/1.552, allocations: 467.7 kB / 0.6428 GB, free: 63.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/1.555, allocations: 1.095 MB / 0.6438 GB, free: 62.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005297/1.561, allocations: 3.419 MB / 0.6472 GB, free: 59.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005191/1.566, allocations: 1.859 MB / 0.649 GB, free: 58.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001232/1.566, allocations: 23.31 kB / 0.649 GB, free: 58.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.0125/1.579, allocations: 4.441 MB / 0.6534 GB, free: 57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.274e-05/1.579, allocations: 38.44 kB / 0.6534 GB, free: 57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/1.579, allocations: 84.06 kB / 0.6535 GB, free: 57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/1.579, allocations: 121.3 kB / 0.6536 GB, free: 57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005588/1.585, allocations: 0.943 MB / 0.6545 GB, free: 56.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000161/1.585, allocations: 164.4 kB / 0.6547 GB, free: 56.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004225/1.589, allocations: 219 kB / 0.6549 GB, free: 56.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007656/1.59, allocations: 238.1 kB / 0.6551 GB, free: 56.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 43 (jointRRP.jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],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],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[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 (501): * Single equations (assignments): 500 * Array equations: 1 * 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.004207/1.594, allocations: 1.747 MB / 0.6568 GB, free: 55.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007235/1.595, allocations: 230.6 kB / 0.657 GB, free: 55.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/1.598, allocations: 1.171 MB / 0.6582 GB, free: 55.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/1.598, allocations: 11.12 kB / 0.6582 GB, free: 55.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/1.598, allocations: 11.16 kB / 0.6582 GB, free: 55.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/1.598, allocations: 7.703 kB / 0.6582 GB, free: 55.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/1.613, allocations: 6.816 MB / 0.6649 GB, free: 51.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.057e-05/1.613, allocations: 20.41 kB / 0.6649 GB, free: 51.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/1.615, allocations: 292.7 kB / 0.6652 GB, free: 51.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.796e-05/1.615, allocations: 36.06 kB / 0.6652 GB, free: 51.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/1.615, allocations: 58.66 kB / 0.6653 GB, free: 51.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.32e-05/1.616, allocations: 44.83 kB / 0.6653 GB, free: 51.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-05/1.616, allocations: 36.84 kB / 0.6653 GB, free: 51.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005023/1.621, allocations: 4.611 MB / 0.6698 GB, free: 47.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.622, allocations: 354.3 kB / 0.6702 GB, free: 47.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006164/1.622, allocations: 59.14 kB / 0.6702 GB, free: 47.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/1.624, allocations: 64.38 kB / 0.6703 GB, free: 47.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002956/1.625, allocations: 161 kB / 0.6704 GB, free: 47.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/1.625, allocations: 72.12 kB / 0.6705 GB, free: 47.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004283/1.629, allocations: 1.761 MB / 0.6722 GB, free: 46.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.629, allocations: 0 / 0.6722 GB, free: 46.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005362/1.635, allocations: 0.7091 MB / 0.6729 GB, free: 46.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 100 * 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 (147): * Single equations (assignments): 147 * 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.006897/1.642, allocations: 11.03 MB / 0.6837 GB, free: 35.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006828/1.648, allocations: 2.626 MB / 0.6863 GB, free: 34.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.54e-05/1.648, allocations: 3.656 kB / 0.6863 GB, free: 34.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001943/1.65, allocations: 0.7292 MB / 0.687 GB, free: 34.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/1.653, allocations: 340.7 kB / 0.6873 GB, free: 34.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.356/2.009, allocations: 70 MB / 0.7557 GB, free: 111.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01015/2.019, allocations: 3.034 MB / 0.7586 GB, free: 110.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005989/2.026, allocations: 1.044 MB / 0.7596 GB, free: 110.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004131/2.03, allocations: 1.596 MB / 0.7612 GB, free: 110.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.214e-06/2.03, allocations: 0 / 0.7612 GB, free: 110.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1368/2.167, allocations: 52.8 MB / 0.8128 GB, free: 105.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/2.167, allocations: 170.2 kB / 0.8129 GB, free: 105.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.364/6.531, allocations: 0 / 0.8129 GB, free: 105.3 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat