Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01006/0.01006, allocations: 176.4 kB / 15.12 MB, free: 5.98 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 2.046/2.046, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.00206/0.00206, allocations: 128.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.2557/0.2557, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007679/0.0007679, allocations: 11.16 kB / 406.3 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1245, allocations: 54.88 MB / 461.1 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5524/0.677, allocations: 92.11 MB / 0.5403 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.6773, allocations: 79.33 kB / 0.5404 GB, free: 21.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1494/0.8268, allocations: 34.57 MB / 0.5741 GB, free: 14.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.427e-06/0.8268, allocations: 0 / 0.5741 GB, free: 14.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001633/0.827, allocations: 38.5 kB / 0.5742 GB, free: 14.63 MB / 378.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.009839/0.8369, allocations: 2.289 MB / 0.5764 GB, free: 13.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.837, allocations: 7.75 kB / 0.5764 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001717/0.8387, allocations: 382.3 kB / 0.5768 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003626/0.8424, allocations: 375.7 kB / 0.5771 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004463/0.8469, allocations: 1.131 MB / 0.5782 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.8471, allocations: 146.2 kB / 0.5784 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/0.8482, allocations: 200.9 kB / 0.5786 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01706/0.8653, allocations: 4.83 MB / 0.5833 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.272e-05/0.8655, allocations: 14.34 kB / 0.5833 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005383/0.866, allocations: 90.94 kB / 0.5834 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001622/0.8676, allocations: 0.5269 MB / 0.5839 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01454/0.8822, allocations: 3.853 MB / 0.5877 GB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03283/0.9151, allocations: 16.62 MB / 0.6039 GB, free: 15.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007374/0.9226, allocations: 1.275 MB / 0.6051 GB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008634/0.9313, allocations: 4.076 MB / 0.6091 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.9314, allocations: 39 kB / 0.6091 GB, free: 13.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 4.087e-06/0.9314, allocations: 3.938 kB / 0.6092 GB, free: 13.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.0112/0.9426, allocations: 1.789 MB / 0.6109 GB, free: 12.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.9427, allocations: 111.8 kB / 0.611 GB, free: 12.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003094/0.9458, allocations: 1.392 MB / 0.6124 GB, free: 11.87 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.946, allocations: 37.7 kB / 0.6124 GB, free: 11.83 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.9475, allocations: 1.393 MB / 0.6138 GB, free: 10.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/0.9478, allocations: 185.6 kB / 0.6139 GB, free: 10.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.948, allocations: 44 kB / 0.614 GB, free: 10.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000386/0.9484, allocations: 459.3 kB / 0.6144 GB, free: 9.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.9498, allocations: 0.4963 MB / 0.6149 GB, free: 9.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002732/0.9526, allocations: 2.02 MB / 0.6169 GB, free: 6.457 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/0.9551, allocations: 0.9596 MB / 0.6178 GB, free: 5.496 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.224e-05/0.9552, allocations: 16 kB / 0.6178 GB, free: 5.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.006293/0.9615, allocations: 2.403 MB / 0.6202 GB, free: 3.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.075e-05/0.9616, allocations: 28.22 kB / 0.6202 GB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.47e-05/0.9617, allocations: 60 kB / 0.6203 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001279/0.9619, allocations: 80 kB / 0.6203 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/0.9649, allocations: 0.538 MB / 0.6209 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001299/0.9651, allocations: 107.6 kB / 0.621 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.9674, allocations: 332.4 kB / 0.6213 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/0.9677, allocations: 144 kB / 0.6214 GB, free: 1.793 MB / 394.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.002131/0.9698, allocations: 0.8621 MB / 0.6223 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003441/0.9702, allocations: 134.3 kB / 0.6224 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004147/0.9706, allocations: 149.3 kB / 0.6225 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.9706, allocations: 8 kB / 0.6225 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.9706, allocations: 0 / 0.6225 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.9707, allocations: 0 / 0.6225 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007566/0.9782, allocations: 3.238 MB / 0.6257 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.389e-05/0.9783, allocations: 12 kB / 0.6257 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005913/0.9789, allocations: 95.83 kB / 0.6258 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.94e-05/0.979, allocations: 16 kB / 0.6258 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.979, allocations: 24 kB / 0.6258 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.759e-05/0.9791, allocations: 24.55 kB / 0.6259 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-05/0.9791, allocations: 23.88 kB / 0.6259 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.9812, allocations: 1.56 MB / 0.6274 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005232/0.9817, allocations: 231.2 kB / 0.6276 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/0.982, allocations: 27.94 kB / 0.6277 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007426/0.9827, allocations: 23.98 kB / 0.6277 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.9829, allocations: 67.73 kB / 0.6277 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/0.9829, allocations: 32 kB / 0.6278 GB, free: 10.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002432/0.9854, allocations: 0.9586 MB / 0.6287 GB, free: 9.543 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.9854, allocations: 0 / 0.6287 GB, free: 9.543 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002995/0.9884, allocations: 489.9 kB / 0.6292 GB, free: 9.062 MB / 410.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.004361/0.9928, allocations: 5.371 MB / 0.6344 GB, free: 3.324 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003519/0.9964, allocations: 1.24 MB / 0.6356 GB, free: 2.098 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.758e-05/0.9965, allocations: 4 kB / 0.6356 GB, free: 2.094 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006146/0.9971, allocations: 226.5 kB / 0.6359 GB, free: 1.875 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.9984, allocations: 163 kB / 0.636 GB, free: 1.719 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04369/1.042, allocations: 48.34 MB / 0.6832 GB, free: 15.78 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003458/1.046, allocations: 1.737 MB / 0.6849 GB, free: 14.01 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00343/1.049, allocations: 0.6059 MB / 0.6855 GB, free: 13.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001963/1.051, allocations: 0.7375 MB / 0.6862 GB, free: 12.66 MB / 474.7 MB Notification: Performance of SimCode: time 2.024e-06/1.051, allocations: 4 kB / 0.6862 GB, free: 12.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08777/1.139, allocations: 25.48 MB / 0.7111 GB, free: 3.23 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003962/1.139, allocations: 175.8 kB / 0.7113 GB, free: 2.984 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.521/4.661, allocations: 0 / 0.7113 GB, free: 2.984 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat