Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUPS2",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.01018/0.01018, allocations: 173.8 kB / 15.12 MB, free: 5.934 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.933/1.933, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.002007/0.002007, allocations: 124.6 kB / 255.6 MB, free: 10.24 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.2469/0.2469, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004866, allocations: 11.31 kB / 406.3 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09796/0.09849, allocations: 54.88 MB / 461.1 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5158/0.6144, allocations: 102.1 MB / 0.55 GB, free: 21.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.6147, allocations: 77.23 kB / 0.5501 GB, free: 21.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.458/1.073, allocations: 98.85 MB / 0.6466 GB, free: 12.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.565e-06/1.073, allocations: 0 / 0.6466 GB, free: 12.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003551/1.073, allocations: 92 kB / 0.6467 GB, free: 12.59 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.02575/1.099, allocations: 5.462 MB / 0.6521 GB, free: 7.055 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/1.099, allocations: 8.031 kB / 0.6521 GB, free: 7.047 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004733/1.104, allocations: 0.8529 MB / 0.6529 GB, free: 6.184 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03592/1.14, allocations: 4.599 MB / 0.6574 GB, free: 1.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02408/1.164, allocations: 6.1 MB / 0.6634 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005802/1.164, allocations: 349 kB / 0.6637 GB, free: 11.06 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002978/1.167, allocations: 463.8 kB / 0.6641 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04484/1.212, allocations: 12.7 MB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003994/1.213, allocations: 75.3 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002609/1.215, allocations: 227.8 kB / 0.6768 GB, free: 12.51 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003366/1.219, allocations: 1.265 MB / 0.6781 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03922/1.258, allocations: 10.94 MB / 0.6887 GB, free: 288 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4522/1.71, allocations: 55.74 MB / 0.7432 GB, free: 75.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02778/1.738, allocations: 5.954 MB / 0.749 GB, free: 75.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03048/1.769, allocations: 13.08 MB / 0.7618 GB, free: 72.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.212e-05/1.769, allocations: 57.11 kB / 0.7618 GB, free: 72.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 6.162e-06/1.769, allocations: 0 / 0.7618 GB, free: 72.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.1798/1.949, allocations: 36.13 MB / 0.7971 GB, free: 67.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/1.949, allocations: 209.9 kB / 0.7973 GB, free: 67.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01021/1.959, allocations: 3.895 MB / 0.8011 GB, free: 65.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008962/1.96, allocations: 61.3 kB / 0.8012 GB, free: 65.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003385/1.964, allocations: 3.429 MB / 0.8045 GB, free: 63.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001707/1.965, allocations: 0.9494 MB / 0.8054 GB, free: 62.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00128/1.967, allocations: 135.3 kB / 0.8056 GB, free: 62.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005885/1.967, allocations: 0.5932 MB / 0.8062 GB, free: 62.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008203/1.975, allocations: 3.072 MB / 0.8092 GB, free: 61.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01104/1.987, allocations: 6.97 MB / 0.816 GB, free: 54.85 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/1.997, allocations: 4.515 MB / 0.8204 GB, free: 53.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001395/1.998, allocations: 40.19 kB / 0.8204 GB, free: 53.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.04139/2.039, allocations: 12.55 MB / 0.8327 GB, free: 46.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001603/2.039, allocations: 74.92 kB / 0.8327 GB, free: 46.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002828/2.04, allocations: 140 kB / 0.8329 GB, free: 46.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01667/2.056, allocations: 3.217 MB / 0.836 GB, free: 44.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01015/2.066, allocations: 1.55 MB / 0.8375 GB, free: 43.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03757/2.104, allocations: 15.54 MB / 0.8527 GB, free: 29.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009138/2.113, allocations: 473.2 kB / 0.8532 GB, free: 29.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001892/2.115, allocations: 403.3 kB / 0.8535 GB, free: 29.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.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],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (806): * Single equations (assignments): 802 * 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 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007497/2.123, allocations: 2.341 MB / 0.8558 GB, free: 27.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001332/2.124, allocations: 406.8 kB / 0.8562 GB, free: 26.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02698/2.151, allocations: 7.412 MB / 0.8634 GB, free: 20.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.257e-05/2.151, allocations: 33.2 kB / 0.8635 GB, free: 20.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.21e-05/2.151, allocations: 19.8 kB / 0.8635 GB, free: 20.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.784e-05/2.151, allocations: 11.72 kB / 0.8635 GB, free: 20.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0468/2.198, allocations: 15.01 MB / 0.8782 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.232e-05/2.198, allocations: 7.984 kB / 0.8782 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003745/2.202, allocations: 375.5 kB / 0.8785 GB, free: 8.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01563/2.218, allocations: 2.881 MB / 0.8814 GB, free: 5.215 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007226/2.218, allocations: 47.84 kB / 0.8814 GB, free: 5.172 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03646/2.255, allocations: 13.86 MB / 0.8949 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/2.255, allocations: 3.984 kB / 0.8949 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0368/2.292, allocations: 11.39 MB / 0.9061 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003693/2.296, allocations: 0.9174 MB / 0.907 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001423/2.297, allocations: 39.95 kB / 0.907 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004902/2.302, allocations: 214.5 kB / 0.9072 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001227/2.303, allocations: 151.1 kB / 0.9073 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003603/2.304, allocations: 56 kB / 0.9074 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008405/2.312, allocations: 2.739 MB / 0.9101 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.92e-07/2.312, allocations: 0 / 0.9101 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008939/2.321, allocations: 1.304 MB / 0.9113 GB, free: 6.258 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (189): * Single equations (assignments): 185 * 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 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3868/2.708, allocations: 12.22 MB / 0.9233 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02205/2.73, allocations: 7.768 MB / 0.9309 GB, free: 131 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/2.73, allocations: 4.625 kB / 0.9309 GB, free: 131 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00849/2.739, allocations: 3.072 MB / 0.9339 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004168/2.743, allocations: 465.1 kB / 0.9343 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1865/2.929, allocations: 139.3 MB / 1.07 GB, free: 32.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01069/2.94, allocations: 3.774 MB / 1.074 GB, free: 31.23 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0108/2.951, allocations: 2.175 MB / 1.076 GB, free: 31.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005616/2.957, allocations: 2.212 MB / 1.078 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.243e-06/2.957, allocations: 0 / 1.078 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5747/3.531, allocations: 101.1 MB / 1.177 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/3.532, allocations: 196 kB / 1.177 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.006/9.538, allocations: 4 kB / 1.177 GB, free: 145.4 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat