Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001892/0.001892, allocations: 202.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009799/0.0009799, allocations: 98 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1952/0.1952, allocations: 45.15 MB / 383.7 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.649e-05/1.644e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1163, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.378/0.4943, allocations: 100.2 MB / 0.6023 GB, free: 2.188 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.4946, allocations: 73.97 kB / 0.6024 GB, free: 2.152 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0534/0.548, allocations: 20.51 MB / 0.6224 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.5481, allocations: 4 kB / 0.6224 GB, free: 0.582 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.09e-05/0.5481, allocations: 20 kB / 0.6224 GB, free: 0.5625 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.002551/0.5507, allocations: 1.391 MB / 0.6238 GB, free: 15.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.5507, allocations: 8.031 kB / 0.6238 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009057/0.5516, allocations: 202.3 kB / 0.624 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.5528, allocations: 0.7174 MB / 0.6247 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.5528, allocations: 36 kB / 0.6247 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.553, allocations: 60.66 kB / 0.6248 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002164/0.5552, allocations: 1.698 MB / 0.6264 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.5576, allocations: 1.949 MB / 0.6284 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.5576, allocations: 11.92 kB / 0.6284 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.674e-05/0.5577, allocations: 4 kB / 0.6284 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002747/0.558, allocations: 199.8 kB / 0.6286 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00764/0.5656, allocations: 7.569 MB / 0.6359 GB, free: 4.801 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005812/0.5663, allocations: 407.7 kB / 0.6363 GB, free: 4.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.5666, allocations: 233.7 kB / 0.6366 GB, free: 4.371 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/0.5681, allocations: 1.731 MB / 0.6383 GB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.5681, allocations: 41.64 kB / 0.6383 GB, free: 2.379 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 2.414e-06/0.5681, allocations: 0 / 0.6383 GB, free: 2.379 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.006338/0.5745, allocations: 2.013 MB / 0.6403 GB, free: 0.625 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.5745, allocations: 59.97 kB / 0.6403 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007456/0.5753, allocations: 0.668 MB / 0.641 GB, free: 40 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.5753, allocations: 25.7 kB / 0.641 GB, free: 8 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.5757, allocations: 0.6747 MB / 0.6417 GB, free: 15.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.5759, allocations: 209.3 kB / 0.6419 GB, free: 15.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.5759, allocations: 0 / 0.6419 GB, free: 15.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5761, allocations: 391.1 kB / 0.6422 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.5765, allocations: 333 kB / 0.6425 GB, free: 14.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007889/0.5773, allocations: 0.9733 MB / 0.6435 GB, free: 13.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006371/0.5779, allocations: 0.5504 MB / 0.644 GB, free: 13.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.5779, allocations: 8 kB / 0.644 GB, free: 13.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001632/0.5796, allocations: 1.222 MB / 0.6452 GB, free: 12.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.5796, allocations: 16 kB / 0.6452 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.5797, allocations: 20 kB / 0.6453 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.834e-05/0.5797, allocations: 36 kB / 0.6453 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.5809, allocations: 326.6 kB / 0.6456 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000906/0.5818, allocations: 1.317 MB / 0.6469 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/0.5824, allocations: 36.02 kB / 0.6469 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.024e-05/0.5824, allocations: 70.75 kB / 0.647 GB, free: 10.29 MB / 442.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.0001854/0.5826, allocations: 178.3 kB / 0.6472 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007315/0.5834, allocations: 0.5744 MB / 0.6477 GB, free: 9.668 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.392e-05/0.5835, allocations: 78.97 kB / 0.6478 GB, free: 9.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.5837, allocations: 98.42 kB / 0.6479 GB, free: 9.535 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5837, allocations: 7.953 kB / 0.6479 GB, free: 9.527 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.5837, allocations: 4 kB / 0.6479 GB, free: 9.523 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.5837, allocations: 3.984 kB / 0.6479 GB, free: 9.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.5865, allocations: 1.83 MB / 0.6497 GB, free: 7.938 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.5865, allocations: 4 kB / 0.6497 GB, free: 7.934 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/0.587, allocations: 127.7 kB / 0.6498 GB, free: 7.812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.587, allocations: 8 kB / 0.6498 GB, free: 7.805 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.5871, allocations: 12 kB / 0.6498 GB, free: 7.793 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007423/0.5878, allocations: 1.296 MB / 0.6511 GB, free: 6.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/0.5878, allocations: 7.938 kB / 0.6511 GB, free: 6.402 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008878/0.5887, allocations: 1.08 MB / 0.6522 GB, free: 5.207 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.5889, allocations: 162.9 kB / 0.6523 GB, free: 5.035 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.399e-05/0.589, allocations: 8 kB / 0.6523 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.5893, allocations: 15.92 kB / 0.6524 GB, free: 5.012 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.5893, allocations: 63.09 kB / 0.6524 GB, free: 4.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.5894, allocations: 19.5 kB / 0.6524 GB, free: 4.941 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004818/0.5899, allocations: 472.7 kB / 0.6529 GB, free: 4.602 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5899, allocations: 0 / 0.6529 GB, free: 4.602 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008708/0.5907, allocations: 184 kB / 0.6531 GB, free: 4.422 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.00171/0.5925, allocations: 3.412 MB / 0.6564 GB, free: 0.957 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.5935, allocations: 0.7817 MB / 0.6572 GB, free: 384 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5936, allocations: 0 / 0.6572 GB, free: 384 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.5939, allocations: 251.1 kB / 0.6574 GB, free: 192 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.5944, allocations: 87.33 kB / 0.6575 GB, free: 132 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.5975, allocations: 1.862 MB / 0.6593 GB, free: 14.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000884/0.5984, allocations: 1.241 MB / 0.6605 GB, free: 13.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008112/0.5993, allocations: 330.9 kB / 0.6608 GB, free: 12.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/0.5997, allocations: 417.2 kB / 0.6612 GB, free: 12.61 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5997, allocations: 0 / 0.6612 GB, free: 12.61 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05565/0.6554, allocations: 14.98 MB / 0.6758 GB, free: 13.7 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.6556, allocations: 147.3 kB / 0.676 GB, free: 13.51 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/2.856, allocations: 4 kB / 0.676 GB, free: 13.5 MB / 474.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat