Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001004, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 96.05 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2155/0.2155, allocations: 44.14 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.86e-05/1.861e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1362, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4632/0.5994, allocations: 99.15 MB / 0.5916 GB, free: 13.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.5997, allocations: 71.95 kB / 0.5917 GB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0569/0.6567, allocations: 20.46 MB / 0.6116 GB, free: 8.523 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6567, allocations: 0 / 0.6116 GB, free: 8.523 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.672e-05/0.6568, allocations: 23.98 kB / 0.6117 GB, free: 8.5 MB / 426.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.002825/0.6597, allocations: 1.384 MB / 0.613 GB, free: 7.066 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.6597, allocations: 15.92 kB / 0.613 GB, free: 7.051 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009663/0.6607, allocations: 198.3 kB / 0.6132 GB, free: 6.855 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.6619, allocations: 0.7188 MB / 0.6139 GB, free: 6.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.662, allocations: 35.95 kB / 0.614 GB, free: 6.055 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.6621, allocations: 60 kB / 0.614 GB, free: 5.996 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002415/0.6646, allocations: 1.695 MB / 0.6157 GB, free: 4.297 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.6671, allocations: 1.956 MB / 0.6176 GB, free: 2.188 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/0.6672, allocations: 15.86 kB / 0.6176 GB, free: 2.172 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.6673, allocations: 4 kB / 0.6176 GB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000297/0.6676, allocations: 205.8 kB / 0.6178 GB, free: 1.965 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008639/0.6762, allocations: 7.552 MB / 0.6252 GB, free: 10.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.6769, allocations: 410.6 kB / 0.6256 GB, free: 9.781 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.6772, allocations: 236.8 kB / 0.6258 GB, free: 9.547 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001706/0.6789, allocations: 1.734 MB / 0.6275 GB, free: 7.535 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.679, allocations: 42.55 kB / 0.6275 GB, free: 7.484 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 4.929e-06/0.679, allocations: 0 / 0.6275 GB, free: 7.484 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.00685/0.6859, allocations: 1.999 MB / 0.6295 GB, free: 5.469 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.686, allocations: 59.97 kB / 0.6295 GB, free: 5.398 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009891/0.687, allocations: 0.6672 MB / 0.6302 GB, free: 4.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.687, allocations: 25.7 kB / 0.6302 GB, free: 4.699 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005298/0.6875, allocations: 0.6795 MB / 0.6309 GB, free: 4.008 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.6877, allocations: 197.2 kB / 0.6311 GB, free: 3.812 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.6878, allocations: 0 / 0.6311 GB, free: 3.812 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002512/0.688, allocations: 402.6 kB / 0.6314 GB, free: 3.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/0.6885, allocations: 338.5 kB / 0.6318 GB, free: 3.078 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009377/0.6895, allocations: 0.9731 MB / 0.6327 GB, free: 1.785 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007167/0.6902, allocations: 0.5484 MB / 0.6333 GB, free: 1.238 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.6902, allocations: 4 kB / 0.6333 GB, free: 1.234 MB / 442.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001863/0.6921, allocations: 1.221 MB / 0.6345 GB, free: 8 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.04e-05/0.6922, allocations: 19.98 kB / 0.6345 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.274e-05/0.6922, allocations: 24 kB / 0.6345 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.438e-05/0.6923, allocations: 32 kB / 0.6345 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.6935, allocations: 328.2 kB / 0.6348 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000983/0.6945, allocations: 1.321 MB / 0.6361 GB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007129/0.6953, allocations: 31.89 kB / 0.6362 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.748e-05/0.6954, allocations: 64 kB / 0.6362 GB, free: 14.09 MB / 458.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.0002134/0.6956, allocations: 183.4 kB / 0.6364 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000824/0.6964, allocations: 0.5683 MB / 0.6369 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.6965, allocations: 87.06 kB / 0.637 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.6968, allocations: 96.05 kB / 0.6371 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.6968, allocations: 11.98 kB / 0.6371 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.6968, allocations: 0 / 0.6371 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.6968, allocations: 3.938 kB / 0.6371 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.6999, allocations: 1.824 MB / 0.6389 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.6999, allocations: 8.812 kB / 0.6389 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005231/0.7004, allocations: 131.8 kB / 0.6391 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.436e-05/0.7005, allocations: 12 kB / 0.6391 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.7005, allocations: 11.95 kB / 0.6391 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008149/0.7013, allocations: 1.29 MB / 0.6403 GB, free: 9.609 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.7013, allocations: 11.94 kB / 0.6403 GB, free: 9.598 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.7024, allocations: 1.066 MB / 0.6414 GB, free: 8.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.7026, allocations: 156.1 kB / 0.6415 GB, free: 8.098 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.617e-05/0.7027, allocations: 11.98 kB / 0.6415 GB, free: 8.086 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.703, allocations: 8 kB / 0.6416 GB, free: 8.078 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.7031, allocations: 55.78 kB / 0.6416 GB, free: 8.023 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.7031, allocations: 20 kB / 0.6416 GB, free: 8.004 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005916/0.7037, allocations: 479.1 kB / 0.6421 GB, free: 7.543 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.573e-06/0.7037, allocations: 0 / 0.6421 GB, free: 7.543 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001012/0.7048, allocations: 187.9 kB / 0.6423 GB, free: 7.359 MB / 458.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.001833/0.7066, allocations: 3.417 MB / 0.6456 GB, free: 3.738 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.7079, allocations: 0.7799 MB / 0.6464 GB, free: 2.965 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.7079, allocations: 4 kB / 0.6464 GB, free: 2.961 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.7083, allocations: 254.2 kB / 0.6466 GB, free: 2.715 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.7088, allocations: 103.1 kB / 0.6467 GB, free: 2.617 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.7124, allocations: 1.865 MB / 0.6485 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008669/0.7133, allocations: 1.247 MB / 0.6497 GB, free: 15.36 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000854/0.7141, allocations: 338.9 kB / 0.6501 GB, free: 15.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004782/0.7146, allocations: 407.3 kB / 0.6505 GB, free: 14.62 MB / 474.7 MB Notification: Performance of SimCode: time 8.02e-07/0.7146, allocations: 0 / 0.6505 GB, free: 14.62 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04049/0.7551, allocations: 14.97 MB / 0.6651 GB, free: 15.73 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.7554, allocations: 141.1 kB / 0.6652 GB, free: 15.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/3.127, allocations: 0 / 0.6652 GB, free: 15.54 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat