Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUSP2",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.01002/0.01002, allocations: 174.3 kB / 15.12 MB, free: 5.984 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 1.942/1.942, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.002047/0.002047, allocations: 124.6 kB / 255.6 MB, free: 10.23 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.2485/0.2485, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.0004939, allocations: 11.5 kB / 406.3 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.1002, allocations: 54.87 MB / 461.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5317/0.6319, allocations: 108.4 MB / 0.5562 GB, free: 21.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.6323, allocations: 76.84 kB / 0.5563 GB, free: 21.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5483/1.181, allocations: 123.2 MB / 0.6766 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.376e-06/1.181, allocations: 0 / 0.6766 GB, free: 13.85 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000401/1.181, allocations: 104 kB / 0.6767 GB, free: 13.75 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1929 * Number of variables: 1929 Notification: Performance of Generate backend data structure: time 0.02646/1.208, allocations: 6.021 MB / 0.6826 GB, free: 7.645 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/1.208, allocations: 12.02 kB / 0.6826 GB, free: 7.633 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004791/1.212, allocations: 0.9799 MB / 0.6835 GB, free: 6.641 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03611/1.249, allocations: 4.723 MB / 0.6881 GB, free: 1.902 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02594/1.275, allocations: 6.666 MB / 0.6947 GB, free: 11.18 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007699/1.275, allocations: 444.6 kB / 0.6951 GB, free: 10.73 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003401/1.279, allocations: 0.5427 MB / 0.6956 GB, free: 10.19 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05039/1.329, allocations: 14.2 MB / 0.7095 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003759/1.33, allocations: 63.41 kB / 0.7095 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002501/1.332, allocations: 259.9 kB / 0.7098 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003342/1.336, allocations: 1.294 MB / 0.711 GB, free: 9.254 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4018/1.737, allocations: 11.89 MB / 0.7227 GB, free: 94.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09607/1.834, allocations: 59.23 MB / 0.7805 GB, free: 61.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02081/1.854, allocations: 4.67 MB / 0.7851 GB, free: 60.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02835/1.883, allocations: 12.6 MB / 0.7974 GB, free: 55.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/1.883, allocations: 59.23 kB / 0.7974 GB, free: 55.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=191): time 5.741e-06/1.883, allocations: 0 / 0.7974 GB, free: 55.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.249/2.132, allocations: 39.79 MB / 0.8363 GB, free: 44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/2.132, allocations: 231.9 kB / 0.8365 GB, free: 43.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01226/2.145, allocations: 4.251 MB / 0.8406 GB, free: 42.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007497/2.145, allocations: 60.61 kB / 0.8407 GB, free: 42.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003875/2.149, allocations: 3.912 MB / 0.8445 GB, free: 39.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001668/2.151, allocations: 0.9063 MB / 0.8454 GB, free: 38.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001593/2.153, allocations: 145.6 kB / 0.8455 GB, free: 38.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00101/2.154, allocations: 0.6072 MB / 0.8461 GB, free: 38.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009079/2.163, allocations: 3.251 MB / 0.8493 GB, free: 36.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01265/2.175, allocations: 7.511 MB / 0.8567 GB, free: 28.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/2.188, allocations: 4.79 MB / 0.8613 GB, free: 24.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001866/2.188, allocations: 44 kB / 0.8614 GB, free: 24.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.04876/2.237, allocations: 13.85 MB / 0.8749 GB, free: 13.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/2.237, allocations: 72 kB / 0.875 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002672/2.237, allocations: 151.8 kB / 0.8751 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02128/2.259, allocations: 3.812 MB / 0.8788 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01006/2.269, allocations: 1.607 MB / 0.8804 GB, free: 8.836 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05076/2.319, allocations: 18.8 MB / 0.8988 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009561/2.329, allocations: 487.4 kB / 0.8992 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001958/2.331, allocations: 431 kB / 0.8996 GB, free: 8.578 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (856): * Single equations (assignments): 852 * 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 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008573/2.34, allocations: 2.653 MB / 0.9022 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001356/2.341, allocations: 430.4 kB / 0.9026 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.377/2.718, allocations: 8.137 MB / 0.9106 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.627e-05/2.718, allocations: 28.62 kB / 0.9106 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-05/2.718, allocations: 11.03 kB / 0.9106 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.117e-05/2.718, allocations: 14.62 kB / 0.9106 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05896/2.777, allocations: 17.45 MB / 0.9277 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.806e-05/2.777, allocations: 0 / 0.9277 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003682/2.781, allocations: 391.6 kB / 0.928 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02116/2.802, allocations: 3.858 MB / 0.9318 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006432/2.803, allocations: 43.5 kB / 0.9319 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04027/2.843, allocations: 17.09 MB / 0.9485 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/2.843, allocations: 6.781 kB / 0.9485 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04025/2.884, allocations: 12.64 MB / 0.9609 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003443/2.887, allocations: 0.9386 MB / 0.9618 GB, free: 100 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/2.889, allocations: 39.08 kB / 0.9618 GB, free: 99.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004411/2.893, allocations: 215.8 kB / 0.9621 GB, free: 99.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008602/2.894, allocations: 141.9 kB / 0.9622 GB, free: 99.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000311/2.894, allocations: 68.3 kB / 0.9623 GB, free: 99.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007519/2.902, allocations: 2.981 MB / 0.9652 GB, free: 98.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.633e-06/2.902, allocations: 0 / 0.9652 GB, free: 98.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009424/2.911, allocations: 1.455 MB / 0.9666 GB, free: 98.78 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.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 (167): * Single equations (assignments): 163 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04056/2.952, allocations: 13.54 MB / 0.9798 GB, free: 93.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01884/2.971, allocations: 7.876 MB / 0.9875 GB, free: 91.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/2.971, allocations: 0 / 0.9875 GB, free: 91.01 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007103/2.978, allocations: 2.963 MB / 0.9904 GB, free: 89.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004615/2.982, allocations: 0.4916 MB / 0.9909 GB, free: 89.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4136/3.396, allocations: 127.5 MB / 1.115 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01122/3.407, allocations: 4.205 MB / 1.119 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01079/3.418, allocations: 2.171 MB / 1.122 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006345/3.425, allocations: 2.474 MB / 1.124 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/3.425, allocations: 1.375 kB / 1.124 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2462/3.671, allocations: 109.3 MB / 1.231 GB, free: 62.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/3.671, allocations: 184 kB / 1.231 GB, free: 62.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.27/9.941, allocations: 0 / 1.231 GB, free: 62.66 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat does not exist to compare? outputFormat=mat