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.001057/0.001057, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008186/0.0008185, allocations: 74.66 kB / 261.7 MB, free: 1.695 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.1908/0.1908, allocations: 43.5 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.866e-05/1.854e-05, allocations: 0 / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3807/0.494, allocations: 97.64 MB / 0.5614 GB, free: 13.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.4942, allocations: 75.53 kB / 0.5614 GB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05288/0.5471, allocations: 20.18 MB / 0.5812 GB, free: 12.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5472, allocations: 0 / 0.5812 GB, free: 12.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.3e-05/0.5472, allocations: 24 kB / 0.5812 GB, free: 12.29 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.002541/0.5498, allocations: 1.377 MB / 0.5825 GB, free: 10.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.5498, allocations: 12.03 kB / 0.5825 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000946/0.5508, allocations: 198.3 kB / 0.5827 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.552, allocations: 0.7284 MB / 0.5834 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.552, allocations: 32 kB / 0.5835 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.5522, allocations: 60 kB / 0.5835 GB, free: 9.992 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002178/0.5543, allocations: 1.689 MB / 0.5852 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/0.5569, allocations: 1.958 MB / 0.5871 GB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/0.5569, allocations: 7.938 kB / 0.5871 GB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.557, allocations: 4 kB / 0.5871 GB, free: 7.293 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002963/0.5573, allocations: 208.4 kB / 0.5873 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007569/0.5649, allocations: 7.564 MB / 0.5947 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005211/0.5655, allocations: 403.8 kB / 0.5951 GB, free: 264 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.5658, allocations: 240.6 kB / 0.5953 GB, free: 104 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001476/0.5673, allocations: 1.732 MB / 0.597 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.5673, allocations: 37.73 kB / 0.597 GB, free: 14.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 3.787e-06/0.5673, allocations: 3.938 kB / 0.597 GB, free: 14.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.006514/0.5738, allocations: 2.006 MB / 0.599 GB, free: 12.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.5739, allocations: 66.98 kB / 0.599 GB, free: 12.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008501/0.5748, allocations: 0.6644 MB / 0.5997 GB, free: 11.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.5748, allocations: 29.64 kB / 0.5997 GB, free: 11.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/0.5752, allocations: 0.679 MB / 0.6004 GB, free: 11.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.5754, allocations: 205.4 kB / 0.6006 GB, free: 11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.5755, allocations: 0 / 0.6006 GB, free: 11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5756, allocations: 391 kB / 0.601 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004363/0.5761, allocations: 341.3 kB / 0.6013 GB, free: 10.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008204/0.5769, allocations: 0.9634 MB / 0.6022 GB, free: 9.285 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/0.5776, allocations: 0.5573 MB / 0.6028 GB, free: 8.887 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.5776, allocations: 4 kB / 0.6028 GB, free: 8.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001699/0.5793, allocations: 1.22 MB / 0.604 GB, free: 7.891 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/0.5793, allocations: 12 kB / 0.604 GB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/0.5794, allocations: 31.92 kB / 0.604 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.224e-05/0.5794, allocations: 36 kB / 0.604 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.5807, allocations: 322.5 kB / 0.6043 GB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.5817, allocations: 1.313 MB / 0.6056 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007246/0.5825, allocations: 39.91 kB / 0.6057 GB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.442e-05/0.5825, allocations: 67.31 kB / 0.6057 GB, free: 6.016 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (160): * Single equations (assignments): 159 * 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.0002161/0.5828, allocations: 184.6 kB / 0.6059 GB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00078/0.5836, allocations: 0.5634 MB / 0.6065 GB, free: 5.402 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.041e-05/0.5837, allocations: 78.97 kB / 0.6065 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.5839, allocations: 103.4 kB / 0.6066 GB, free: 5.266 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5839, allocations: 8 kB / 0.6066 GB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.5839, allocations: 7.938 kB / 0.6066 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5839, allocations: 0 / 0.6066 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.5869, allocations: 1.835 MB / 0.6084 GB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.587, allocations: 4 kB / 0.6084 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005423/0.5875, allocations: 131.5 kB / 0.6086 GB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.639e-05/0.5875, allocations: 12 kB / 0.6086 GB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.5876, allocations: 8 kB / 0.6086 GB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009093/0.5885, allocations: 1.285 MB / 0.6098 GB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/0.5885, allocations: 11.94 kB / 0.6099 GB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.5897, allocations: 1.076 MB / 0.6109 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/0.59, allocations: 187.9 kB / 0.6111 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/0.5901, allocations: 19.92 kB / 0.6111 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.5904, allocations: 4 kB / 0.6111 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/0.5905, allocations: 59.34 kB / 0.6112 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.5906, allocations: 23.75 kB / 0.6112 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006204/0.5912, allocations: 473.5 kB / 0.6116 GB, free: 336 kB / 410.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5912, allocations: 0 / 0.6116 GB, free: 336 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001049/0.5923, allocations: 188 kB / 0.6118 GB, free: 148 kB / 410.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.001881/0.5942, allocations: 3.419 MB / 0.6152 GB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.5955, allocations: 0.7756 MB / 0.6159 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5955, allocations: 6.5 kB / 0.6159 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.5959, allocations: 249.3 kB / 0.6162 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.5964, allocations: 92.14 kB / 0.6162 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/0.6003, allocations: 1.875 MB / 0.6181 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008385/0.6011, allocations: 1.245 MB / 0.6193 GB, free: 8.898 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008886/0.602, allocations: 330.9 kB / 0.6196 GB, free: 8.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/0.6026, allocations: 409.9 kB / 0.62 GB, free: 8.305 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/0.6026, allocations: 0 / 0.62 GB, free: 8.305 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0377/0.6403, allocations: 14.97 MB / 0.6346 GB, free: 9.348 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.6405, allocations: 139.9 kB / 0.6347 GB, free: 9.156 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/2.789, allocations: 0 / 0.6347 GB, free: 9.156 MB / 442.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