Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009412/0.0009411, allocations: 78.62 kB / 267 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4649/0.4649, allocations: 43.46 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.092e-05/4.094e-05, allocations: 11.97 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1678, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4665/0.6343, allocations: 98.3 MB / 0.5689 GB, free: 7.461 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.6346, allocations: 74.59 kB / 0.569 GB, free: 7.426 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05405/0.6886, allocations: 20.6 MB / 0.5891 GB, free: 5.547 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.6888, allocations: 0 / 0.5891 GB, free: 5.547 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.655e-05/0.6888, allocations: 23.98 kB / 0.5891 GB, free: 5.523 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003265/0.6921, allocations: 1.389 MB / 0.5905 GB, free: 4.156 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.6922, allocations: 8.031 kB / 0.5905 GB, free: 4.148 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002953/0.6925, allocations: 197.2 kB / 0.5907 GB, free: 4.016 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.6935, allocations: 201.7 kB / 0.5909 GB, free: 3.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.6949, allocations: 0.7188 MB / 0.5916 GB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/0.695, allocations: 75.36 kB / 0.5916 GB, free: 3.141 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.6952, allocations: 104.4 kB / 0.5917 GB, free: 3.066 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005493/0.7007, allocations: 2.66 MB / 0.5943 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/0.7007, allocations: 11.94 kB / 0.5943 GB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.7009, allocations: 44.92 kB / 0.5944 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002913/0.7012, allocations: 203.6 kB / 0.5946 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005171/0.7063, allocations: 2.382 MB / 0.5969 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009646/0.716, allocations: 8.641 MB / 0.6053 GB, free: 7.418 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003953/0.72, allocations: 1.006 MB / 0.6063 GB, free: 6.555 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/0.7204, allocations: 252.9 kB / 0.6066 GB, free: 6.391 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/0.722, allocations: 1.738 MB / 0.6083 GB, free: 4.441 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.722, allocations: 34.5 kB / 0.6083 GB, free: 4.402 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 3.025e-06/0.7221, allocations: 3.938 kB / 0.6083 GB, free: 4.398 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.01044/0.7325, allocations: 2.705 MB / 0.6109 GB, free: 1.973 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.7326, allocations: 59.97 kB / 0.611 GB, free: 1.902 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.7337, allocations: 0.7958 MB / 0.6118 GB, free: 1.289 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.7337, allocations: 32.83 kB / 0.6118 GB, free: 1.258 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.7342, allocations: 0.665 MB / 0.6125 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.7343, allocations: 205.5 kB / 0.6126 GB, free: 0.543 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.7344, allocations: 22.88 kB / 0.6127 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.7345, allocations: 404.8 kB / 0.6131 GB, free: 176 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.7351, allocations: 356.4 kB / 0.6134 GB, free: 15.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009237/0.736, allocations: 0.9758 MB / 0.6143 GB, free: 14.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007374/0.7367, allocations: 0.5668 MB / 0.6149 GB, free: 14.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.7368, allocations: 11.94 kB / 0.6149 GB, free: 14.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001857/0.7386, allocations: 1.371 MB / 0.6163 GB, free: 13.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.7387, allocations: 19.98 kB / 0.6163 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.7387, allocations: 20 kB / 0.6163 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.306e-05/0.7388, allocations: 39.95 kB / 0.6163 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.74, allocations: 318.8 kB / 0.6166 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.741, allocations: 1.367 MB / 0.618 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006831/0.7417, allocations: 65.17 kB / 0.618 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.757e-05/0.7418, allocations: 64.38 kB / 0.6181 GB, free: 11.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001962/0.742, allocations: 212 kB / 0.6183 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.7421, allocations: 82.97 kB / 0.6184 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.7423, allocations: 113.8 kB / 0.6185 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.7423, allocations: 15.95 kB / 0.6185 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7424, allocations: 0 / 0.6185 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.7424, allocations: 3.984 kB / 0.6185 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00323/0.7456, allocations: 2.162 MB / 0.6206 GB, free: 9.176 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.7456, allocations: 4 kB / 0.6206 GB, free: 9.172 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005189/0.7461, allocations: 131.2 kB / 0.6207 GB, free: 9.051 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.7462, allocations: 8 kB / 0.6207 GB, free: 9.043 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.7462, allocations: 19.69 kB / 0.6208 GB, free: 9.031 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008146/0.747, allocations: 1.337 MB / 0.6221 GB, free: 7.586 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.7471, allocations: 8 kB / 0.6221 GB, free: 7.578 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009956/0.7481, allocations: 1.116 MB / 0.6232 GB, free: 6.359 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.7484, allocations: 209.3 kB / 0.6234 GB, free: 6.156 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/0.7484, allocations: 15.83 kB / 0.6234 GB, free: 6.145 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.7488, allocations: 21.25 kB / 0.6234 GB, free: 6.133 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.7489, allocations: 58.58 kB / 0.6235 GB, free: 6.082 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.7489, allocations: 19.62 kB / 0.6235 GB, free: 6.066 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006839/0.7496, allocations: 0.5864 MB / 0.6241 GB, free: 5.633 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7496, allocations: 0 / 0.6241 GB, free: 5.633 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000864/0.7505, allocations: 225.6 kB / 0.6243 GB, free: 5.441 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001749/0.7522, allocations: 3.473 MB / 0.6277 GB, free: 1.934 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.7535, allocations: 0.8461 MB / 0.6285 GB, free: 1.293 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7535, allocations: 0 / 0.6285 GB, free: 1.293 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.7539, allocations: 272.8 kB / 0.6287 GB, free: 1.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005407/0.7544, allocations: 126.9 kB / 0.6289 GB, free: 1.008 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.7578, allocations: 1.944 MB / 0.6308 GB, free: 15.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008387/0.7586, allocations: 1.244 MB / 0.632 GB, free: 13.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008348/0.7595, allocations: 335.6 kB / 0.6323 GB, free: 13.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004956/0.76, allocations: 411.2 kB / 0.6327 GB, free: 13.21 MB / 458.7 MB Notification: Performance of SimCode: time 9.61e-07/0.76, allocations: 0 / 0.6327 GB, free: 13.21 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03576/0.7958, allocations: 16.99 MB / 0.6493 GB, free: 12.28 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/0.7961, allocations: 154.1 kB / 0.6494 GB, free: 12.05 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.272, allocations: 3.938 kB / 0.6494 GB, free: 12.05 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat