Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointSSP",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.009997/0.009997, allocations: 165.6 kB / 15.11 MB, free: 5.934 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.88/1.88, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001988/0.001988, allocations: 107.4 kB / 226.2 MB, free: 10.09 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.4998/0.4998, allocations: 38.06 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007475/0.0007477, allocations: 16 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1298, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4403/0.5701, allocations: 92.48 MB / 0.4924 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/0.5705, allocations: 78.47 kB / 0.4924 GB, free: 11.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2425/0.813, allocations: 54.51 MB / 0.5457 GB, free: 9.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.8131, allocations: 0 / 0.5457 GB, free: 9.742 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.00016/0.8132, allocations: 56 kB / 0.5457 GB, free: 9.688 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.009026/0.8223, allocations: 2.493 MB / 0.5481 GB, free: 7.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.8224, allocations: 8.031 kB / 0.5482 GB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001777/0.8241, allocations: 480.8 kB / 0.5486 GB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003849/0.828, allocations: 475.8 kB / 0.5491 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005322/0.8334, allocations: 1.52 MB / 0.5506 GB, free: 4.613 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003066/0.8337, allocations: 217.7 kB / 0.5508 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/0.8349, allocations: 283.9 kB / 0.551 GB, free: 4.121 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02118/0.8561, allocations: 5.988 MB / 0.5569 GB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000122/0.8562, allocations: 11.88 kB / 0.5569 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005012/0.8567, allocations: 128 kB / 0.557 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00135/0.8581, allocations: 488 kB / 0.5575 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01861/0.8767, allocations: 4.571 MB / 0.5619 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0389/0.9157, allocations: 19.85 MB / 0.5813 GB, free: 4.199 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007426/0.9232, allocations: 1.265 MB / 0.5826 GB, free: 2.914 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002687/0.9259, allocations: 2.069 MB / 0.5846 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.926, allocations: 51.73 kB / 0.5846 GB, free: 464 kB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 4.419e-06/0.926, allocations: 0 / 0.5846 GB, free: 464 kB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.3932/1.319, allocations: 6.609 MB / 0.5911 GB, free: 99.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/1.319, allocations: 88.8 kB / 0.5912 GB, free: 99.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005268/1.325, allocations: 1.599 MB / 0.5927 GB, free: 99.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002993/1.325, allocations: 44.02 kB / 0.5928 GB, free: 99.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002113/1.327, allocations: 1.646 MB / 0.5944 GB, free: 98.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007309/1.328, allocations: 410.6 kB / 0.5948 GB, free: 98.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004332/1.328, allocations: 57.59 kB / 0.5948 GB, free: 98.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003444/1.329, allocations: 423.1 kB / 0.5952 GB, free: 98.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003342/1.332, allocations: 0.7893 MB / 0.596 GB, free: 98.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004196/1.336, allocations: 2.322 MB / 0.5983 GB, free: 96.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003407/1.34, allocations: 1.322 MB / 0.5996 GB, free: 96.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-05/1.34, allocations: 15.97 kB / 0.5996 GB, free: 96.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.008699/1.349, allocations: 3.112 MB / 0.6026 GB, free: 96.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.866e-05/1.349, allocations: 28.88 kB / 0.6026 GB, free: 96.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.598e-05/1.349, allocations: 51.97 kB / 0.6027 GB, free: 96.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/1.349, allocations: 82.91 kB / 0.6028 GB, free: 96.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004023/1.353, allocations: 0.6463 MB / 0.6034 GB, free: 96.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001307/1.353, allocations: 111.7 kB / 0.6035 GB, free: 96.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003101/1.356, allocations: 119 kB / 0.6036 GB, free: 96.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000416/1.357, allocations: 158.3 kB / 0.6038 GB, free: 96.03 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (359): * Single equations (assignments): 359 * 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.002621/1.359, allocations: 1.203 MB / 0.605 GB, free: 95.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004087/1.36, allocations: 166.4 kB / 0.6051 GB, free: 95.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00303/1.363, allocations: 1.26 MB / 0.6063 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/1.363, allocations: 12.81 kB / 0.6064 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.363, allocations: 4.609 kB / 0.6064 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/1.363, allocations: 6.891 kB / 0.6064 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/1.377, allocations: 6.432 MB / 0.6126 GB, free: 94.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.34e-05/1.377, allocations: 21.16 kB / 0.6127 GB, free: 94.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/1.378, allocations: 209 kB / 0.6129 GB, free: 94.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.107e-05/1.378, allocations: 27.19 kB / 0.6129 GB, free: 94.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-05/1.378, allocations: 45.62 kB / 0.6129 GB, free: 94.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.191e-05/1.378, allocations: 42.45 kB / 0.613 GB, free: 94.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.287e-05/1.378, allocations: 29.5 kB / 0.613 GB, free: 94.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/1.381, allocations: 3.174 MB / 0.6161 GB, free: 90.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005707/1.382, allocations: 280.4 kB / 0.6164 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/1.382, allocations: 49.89 kB / 0.6164 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.383, allocations: 35.09 kB / 0.6164 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/1.384, allocations: 134.4 kB / 0.6166 GB, free: 90.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.502e-05/1.384, allocations: 55.16 kB / 0.6166 GB, free: 90.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002457/1.386, allocations: 1.204 MB / 0.6178 GB, free: 90.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.386, allocations: 0 / 0.6178 GB, free: 90.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003791/1.39, allocations: 499.9 kB / 0.6183 GB, free: 90.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (109): * Single equations (assignments): 109 * 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.004947/1.395, allocations: 9.45 MB / 0.6275 GB, free: 81.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004526/1.4, allocations: 1.82 MB / 0.6293 GB, free: 80.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.201e-05/1.4, allocations: 6.25 kB / 0.6293 GB, free: 80.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/1.401, allocations: 489 kB / 0.6298 GB, free: 80.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/1.403, allocations: 252.2 kB / 0.63 GB, free: 80.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02962/1.432, allocations: 46.58 MB / 0.6755 GB, free: 35.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007701/1.44, allocations: 2.236 MB / 0.6777 GB, free: 34.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005561/1.446, allocations: 0.7095 MB / 0.6784 GB, free: 34.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002468/1.448, allocations: 1.032 MB / 0.6794 GB, free: 33.65 MB / 426.7 MB Notification: Performance of SimCode: time 2.104e-06/1.448, allocations: 0 / 0.6794 GB, free: 33.65 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09105/1.539, allocations: 36.45 MB / 0.715 GB, free: 26.15 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/1.54, allocations: 174.3 kB / 0.7151 GB, free: 25.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.573/5.113, allocations: 0 / 0.7151 GB, free: 25.91 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat