Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01005/0.01005, allocations: 166.4 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.669/1.669, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001982/0.001982, allocations: 102.5 kB / 226.2 MB, free: 10.1 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.4505/0.4505, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006499/0.0006499, allocations: 15.98 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1032, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.435/0.5383, allocations: 95.27 MB / 0.4951 GB, free: 8.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.5386, allocations: 85.12 kB / 0.4952 GB, free: 8.293 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7067/1.245, allocations: 98.71 MB / 0.5916 GB, free: 75.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.574e-06/1.245, allocations: 0 / 0.5916 GB, free: 75.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003125/1.246, allocations: 89.5 kB / 0.5916 GB, free: 75.38 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: 1690 * Number of variables: 1690 Notification: Performance of Generate backend data structure: time 0.02502/1.271, allocations: 5.469 MB / 0.597 GB, free: 73.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.271, allocations: 9.75 kB / 0.597 GB, free: 73.41 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004538/1.275, allocations: 0.8428 MB / 0.5978 GB, free: 73.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03585/1.311, allocations: 4.607 MB / 0.6023 GB, free: 73.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02357/1.335, allocations: 6.071 MB / 0.6082 GB, free: 72.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005546/1.335, allocations: 346.5 kB / 0.6086 GB, free: 72.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003107/1.339, allocations: 463.8 kB / 0.609 GB, free: 72.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04329/1.382, allocations: 12.7 MB / 0.6214 GB, free: 69.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003402/1.382, allocations: 67.95 kB / 0.6215 GB, free: 69.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002197/1.385, allocations: 223.8 kB / 0.6217 GB, free: 69.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003139/1.388, allocations: 1.262 MB / 0.6229 GB, free: 69.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03612/1.424, allocations: 10.94 MB / 0.6336 GB, free: 69.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08738/1.511, allocations: 55.73 MB / 0.688 GB, free: 30.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02563/1.537, allocations: 5.953 MB / 0.6939 GB, free: 28.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02957/1.567, allocations: 13.08 MB / 0.7066 GB, free: 21.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/1.567, allocations: 61.45 kB / 0.7067 GB, free: 21.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 6.974e-06/1.567, allocations: 3.938 kB / 0.7067 GB, free: 21.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.1801/1.747, allocations: 36.13 MB / 0.742 GB, free: 12.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/1.747, allocations: 213.8 kB / 0.7422 GB, free: 12.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/1.758, allocations: 3.891 MB / 0.746 GB, free: 8.246 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007888/1.758, allocations: 61.7 kB / 0.746 GB, free: 8.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004258/1.763, allocations: 3.433 MB / 0.7494 GB, free: 4.746 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001965/1.765, allocations: 0.9501 MB / 0.7503 GB, free: 3.805 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/1.766, allocations: 136 kB / 0.7504 GB, free: 3.672 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006025/1.767, allocations: 0.5912 MB / 0.751 GB, free: 3.074 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3542/2.121, allocations: 3.074 MB / 0.754 GB, free: 84.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0124/2.133, allocations: 6.96 MB / 0.7608 GB, free: 79.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/2.145, allocations: 4.517 MB / 0.7652 GB, free: 79.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000212/2.145, allocations: 37.62 kB / 0.7653 GB, free: 79.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.04186/2.187, allocations: 12.55 MB / 0.7775 GB, free: 78.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001483/2.187, allocations: 63.72 kB / 0.7776 GB, free: 78.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002446/2.187, allocations: 135.8 kB / 0.7777 GB, free: 78.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01655/2.204, allocations: 3.219 MB / 0.7809 GB, free: 78.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/2.214, allocations: 1.549 MB / 0.7824 GB, free: 78.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04242/2.257, allocations: 15.54 MB / 0.7975 GB, free: 76.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01283/2.27, allocations: 474.7 kB / 0.798 GB, free: 76.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001789/2.271, allocations: 400.5 kB / 0.7984 GB, free: 76.13 MB / 442.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.00661/2.278, allocations: 2.347 MB / 0.8007 GB, free: 75.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/2.279, allocations: 405.5 kB / 0.8011 GB, free: 75.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02604/2.305, allocations: 7.407 MB / 0.8083 GB, free: 72.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.818e-05/2.305, allocations: 35.19 kB / 0.8083 GB, free: 72.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/2.305, allocations: 14.61 kB / 0.8083 GB, free: 72.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.638e-05/2.305, allocations: 15.02 kB / 0.8084 GB, free: 72.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04602/2.352, allocations: 15.01 MB / 0.823 GB, free: 67.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.444e-05/2.352, allocations: 0 / 0.823 GB, free: 67.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003722/2.355, allocations: 385.3 kB / 0.8234 GB, free: 67.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01579/2.371, allocations: 2.88 MB / 0.8262 GB, free: 66.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006915/2.372, allocations: 38.06 kB / 0.8262 GB, free: 66.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03295/2.405, allocations: 13.86 MB / 0.8398 GB, free: 60.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/2.405, allocations: 0 / 0.8398 GB, free: 60.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03259/2.438, allocations: 11.41 MB / 0.8509 GB, free: 56.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003417/2.441, allocations: 0.9115 MB / 0.8518 GB, free: 56.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001769/2.443, allocations: 43.19 kB / 0.8518 GB, free: 56.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004871/2.448, allocations: 207.4 kB / 0.852 GB, free: 55.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001211/2.449, allocations: 145.3 kB / 0.8522 GB, free: 55.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006459/2.45, allocations: 68.62 kB / 0.8522 GB, free: 55.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007517/2.457, allocations: 2.732 MB / 0.8549 GB, free: 55.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.32e-07/2.457, allocations: 0.6562 kB / 0.8549 GB, free: 55.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009292/2.467, allocations: 1.307 MB / 0.8562 GB, free: 54.89 MB / 442.7 MB 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.03397/2.501, allocations: 12.22 MB / 0.8681 GB, free: 44.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01917/2.52, allocations: 7.774 MB / 0.8757 GB, free: 37.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/2.52, allocations: 0 / 0.8757 GB, free: 37.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00789/2.528, allocations: 3.074 MB / 0.8787 GB, free: 35.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/2.532, allocations: 462.5 kB / 0.8792 GB, free: 34.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.478/3.01, allocations: 139.3 MB / 1.015 GB, free: 36.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00831/3.018, allocations: 3.763 MB / 1.019 GB, free: 35.44 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01094/3.029, allocations: 2.174 MB / 1.021 GB, free: 35.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005893/3.035, allocations: 2.208 MB / 1.023 GB, free: 35.39 MB / 490.7 MB Notification: Performance of SimCode: time 1.573e-06/3.035, allocations: 0 / 1.023 GB, free: 35.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6233/3.658, allocations: 101.1 MB / 1.122 GB, free: 107.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/3.659, allocations: 186.1 kB / 1.122 GB, free: 107.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.992/9.651, allocations: 1.203 kB / 1.122 GB, free: 107.5 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat