Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.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.JointRRP,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01386/0.01386, allocations: 176.2 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 2.065/2.065, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.001979/0.001979, allocations: 116.7 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.2616/0.2616, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005866/0.0005866, allocations: 11.28 kB / 406.3 MB, free: 51.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1085, allocations: 54.87 MB / 461.1 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5573/0.6659, allocations: 102.4 MB / 0.5503 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00039/0.6663, allocations: 82 kB / 0.5504 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2544/0.9208, allocations: 72.04 MB / 0.6207 GB, free: 6.156 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.9208, allocations: 3.938 kB / 0.6207 GB, free: 6.152 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002668/0.9211, allocations: 79.98 kB / 0.6208 GB, free: 6.074 MB / 394.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.01678/0.9379, allocations: 4.069 MB / 0.6248 GB, free: 2.285 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.938, allocations: 16.02 kB / 0.6248 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003543/0.9415, allocations: 0.7023 MB / 0.6255 GB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007016/0.9486, allocations: 0.7222 MB / 0.6262 GB, free: 1.117 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009652/0.9583, allocations: 2.586 MB / 0.6287 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005513/0.9589, allocations: 324.5 kB / 0.629 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002368/0.9613, allocations: 419.9 kB / 0.6294 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03515/0.9965, allocations: 9.165 MB / 0.6384 GB, free: 4.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001584/0.9967, allocations: 19.81 kB / 0.6384 GB, free: 4.695 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009581/0.9977, allocations: 187.9 kB / 0.6386 GB, free: 4.512 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002598/1, allocations: 0.7999 MB / 0.6394 GB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02821/1.029, allocations: 7.311 MB / 0.6465 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06743/1.096, allocations: 29.66 MB / 0.6755 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01226/1.108, allocations: 2.168 MB / 0.6776 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01479/1.123, allocations: 6.741 MB / 0.6842 GB, free: 4.449 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/1.123, allocations: 47.12 kB / 0.6842 GB, free: 4.395 MB / 458.7 MB Notification: Performance of pre-optimization done (n=80): time 4.087e-06/1.123, allocations: 0 / 0.6842 GB, free: 4.395 MB / 458.7 MB Notification: Performance of matching and sorting (n=98): time 0.03307/1.156, allocations: 7.492 MB / 0.6915 GB, free: 12.83 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/1.157, allocations: 171.4 kB / 0.6917 GB, free: 12.62 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00627/1.163, allocations: 2.394 MB / 0.694 GB, free: 10.22 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000326/1.163, allocations: 41.7 kB / 0.6941 GB, free: 10.17 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002955/1.166, allocations: 2.528 MB / 0.6965 GB, free: 7.609 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007221/1.167, allocations: 399.1 kB / 0.6969 GB, free: 7.215 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004951/1.168, allocations: 79.98 kB / 0.697 GB, free: 7.137 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003706/1.168, allocations: 474.2 kB / 0.6974 GB, free: 6.672 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003364/1.171, allocations: 1.097 MB / 0.6985 GB, free: 5.574 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00564/1.177, allocations: 3.412 MB / 0.7018 GB, free: 1.012 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005194/1.182, allocations: 1.861 MB / 0.7037 GB, free: 15.15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.365e-05/1.182, allocations: 24 kB / 0.7037 GB, free: 15.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01187/1.194, allocations: 4.43 MB / 0.708 GB, free: 10.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.265e-05/1.194, allocations: 40 kB / 0.708 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/1.194, allocations: 88.16 kB / 0.7081 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/1.195, allocations: 120 kB / 0.7082 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00594/1.201, allocations: 0.9436 MB / 0.7092 GB, free: 9.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002136/1.201, allocations: 163.4 kB / 0.7093 GB, free: 9.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004363/1.205, allocations: 215.5 kB / 0.7095 GB, free: 9.129 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009909/1.206, allocations: 236 kB / 0.7098 GB, free: 8.898 MB / 490.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.005378/1.212, allocations: 1.742 MB / 0.7115 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006997/1.212, allocations: 244.9 kB / 0.7117 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/1.216, allocations: 1.178 MB / 0.7128 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/1.216, allocations: 15.98 kB / 0.7129 GB, free: 5.695 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.216, allocations: 0 / 0.7129 GB, free: 5.695 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/1.216, allocations: 11.98 kB / 0.7129 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3489/1.565, allocations: 6.796 MB / 0.7195 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.229e-05/1.565, allocations: 22.78 kB / 0.7195 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/1.567, allocations: 291.3 kB / 0.7198 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-05/1.567, allocations: 33.61 kB / 0.7198 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/1.567, allocations: 60.98 kB / 0.7199 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.146e-05/1.567, allocations: 44.12 kB / 0.7199 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.007e-05/1.568, allocations: 35.84 kB / 0.72 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005782/1.573, allocations: 4.605 MB / 0.7245 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/1.574, allocations: 353.5 kB / 0.7248 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000825/1.575, allocations: 55.17 kB / 0.7249 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00215/1.577, allocations: 69.12 kB / 0.7249 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003974/1.578, allocations: 171.5 kB / 0.7251 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/1.578, allocations: 71.77 kB / 0.7252 GB, free: 118.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005285/1.583, allocations: 1.762 MB / 0.7269 GB, free: 118.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.583, allocations: 3.062 kB / 0.7269 GB, free: 118.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005505/1.589, allocations: 0.7068 MB / 0.7276 GB, free: 118.6 MB / 490.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.007937/1.597, allocations: 11.04 MB / 0.7384 GB, free: 108.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007569/1.605, allocations: 2.62 MB / 0.7409 GB, free: 108.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.938e-05/1.605, allocations: 4.375 kB / 0.7409 GB, free: 108.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002327/1.607, allocations: 0.7332 MB / 0.7416 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/1.61, allocations: 327.5 kB / 0.7419 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04091/1.651, allocations: 70.02 MB / 0.8103 GB, free: 43.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006934/1.658, allocations: 3.04 MB / 0.8133 GB, free: 42.92 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005645/1.664, allocations: 1.039 MB / 0.8143 GB, free: 42.81 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003955/1.668, allocations: 1.59 MB / 0.8159 GB, free: 42.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/1.668, allocations: 0 / 0.8159 GB, free: 42.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1599/1.828, allocations: 52.8 MB / 0.8674 GB, free: 27 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/1.828, allocations: 170.3 kB / 0.8676 GB, free: 26.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.261/6.088, allocations: 0 / 0.8676 GB, free: 26.75 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat