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.001089/0.001089, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.711/1.711, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.000929/0.0009291, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2136/0.2136, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.00035, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1236, allocations: 58.87 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4929, allocations: 98.39 MB / 0.5749 GB, free: 1.457 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.4931, allocations: 83.77 kB / 0.575 GB, free: 1.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05347/0.5466, allocations: 20.6 MB / 0.5951 GB, free: 15.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5467, allocations: 3.938 kB / 0.5951 GB, free: 15.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.231e-05/0.5467, allocations: 24 kB / 0.5952 GB, free: 15.44 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.002911/0.5497, allocations: 1.466 MB / 0.5966 GB, free: 13.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.5497, allocations: 8.031 kB / 0.5966 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002707/0.55, allocations: 195.5 kB / 0.5968 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009129/0.5509, allocations: 206.2 kB / 0.597 GB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.5525, allocations: 0.7237 MB / 0.5977 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.087e-05/0.5525, allocations: 74.73 kB / 0.5978 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.5527, allocations: 105.3 kB / 0.5979 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005421/0.5581, allocations: 2.688 MB / 0.6005 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.5582, allocations: 7.938 kB / 0.6005 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.5583, allocations: 48.11 kB / 0.6005 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002586/0.5586, allocations: 201 kB / 0.6007 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005697/0.5643, allocations: 2.416 MB / 0.6031 GB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01013/0.5745, allocations: 8.637 MB / 0.6115 GB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003532/0.5781, allocations: 1.011 MB / 0.6125 GB, free: 320 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/0.5797, allocations: 1.731 MB / 0.6142 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.5798, allocations: 41.97 kB / 0.6142 GB, free: 14.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 3.607e-06/0.5798, allocations: 0 / 0.6142 GB, free: 14.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.01095/0.5907, allocations: 3.03 MB / 0.6172 GB, free: 11.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.5908, allocations: 59.91 kB / 0.6173 GB, free: 11.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009913/0.5918, allocations: 0.803 MB / 0.618 GB, free: 10.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.5919, allocations: 40.77 kB / 0.6181 GB, free: 10.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000413/0.5923, allocations: 0.6618 MB / 0.6187 GB, free: 10.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.5924, allocations: 216.7 kB / 0.6189 GB, free: 10.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.5925, allocations: 23.62 kB / 0.619 GB, free: 10.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5926, allocations: 400.9 kB / 0.6193 GB, free: 9.855 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/0.5931, allocations: 363.3 kB / 0.6197 GB, free: 9.613 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009082/0.594, allocations: 0.9814 MB / 0.6206 GB, free: 8.465 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006951/0.5947, allocations: 0.5786 MB / 0.6212 GB, free: 8.074 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.5948, allocations: 8 kB / 0.6212 GB, free: 8.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001779/0.5965, allocations: 1.38 MB / 0.6226 GB, free: 7.004 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.5966, allocations: 19.44 kB / 0.6226 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.5966, allocations: 23.94 kB / 0.6226 GB, free: 6.965 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.25e-05/0.5967, allocations: 36.75 kB / 0.6226 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.5978, allocations: 325.2 kB / 0.623 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009603/0.5988, allocations: 1.379 MB / 0.6243 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007144/0.5995, allocations: 54.58 kB / 0.6244 GB, free: 5.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.558e-05/0.5996, allocations: 65.12 kB / 0.6244 GB, free: 5.055 MB / 426.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 () * Number of clocked 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.0007641/0.6004, allocations: 0.4932 MB / 0.6249 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.6005, allocations: 91.06 kB / 0.625 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.6007, allocations: 118.5 kB / 0.6251 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.6007, allocations: 7.953 kB / 0.6251 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6007, allocations: 0 / 0.6251 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.6007, allocations: 3.984 kB / 0.6251 GB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003306/0.6041, allocations: 2.166 MB / 0.6272 GB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.6041, allocations: 8.812 kB / 0.6272 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/0.6046, allocations: 131.7 kB / 0.6274 GB, free: 2.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/0.6046, allocations: 12 kB / 0.6274 GB, free: 2.555 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.6047, allocations: 14.88 kB / 0.6274 GB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008611/0.6055, allocations: 1.346 MB / 0.6287 GB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-06/0.6056, allocations: 11.98 kB / 0.6287 GB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.6066, allocations: 1.128 MB / 0.6298 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/0.6069, allocations: 207.9 kB / 0.63 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.032e-05/0.607, allocations: 19.95 kB / 0.63 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.6074, allocations: 16 kB / 0.63 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-05/0.6074, allocations: 59.77 kB / 0.6301 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.6075, allocations: 23.94 kB / 0.6301 GB, free: 15.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007806/0.6083, allocations: 0.5927 MB / 0.6307 GB, free: 14.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6083, allocations: 0 / 0.6307 GB, free: 14.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00113/0.6094, allocations: 220 kB / 0.6309 GB, free: 14.7 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 () * Number of clocked 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.002199/0.6116, allocations: 3.476 MB / 0.6343 GB, free: 11.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.6132, allocations: 0.8577 MB / 0.6351 GB, free: 10.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.6132, allocations: 3.938 kB / 0.6351 GB, free: 10.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.6136, allocations: 274.5 kB / 0.6354 GB, free: 9.887 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.6142, allocations: 107.3 kB / 0.6355 GB, free: 9.777 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/0.6292, allocations: 21.46 MB / 0.6565 GB, free: 3.625 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009238/0.6302, allocations: 1.248 MB / 0.6577 GB, free: 2.352 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008768/0.6311, allocations: 343.6 kB / 0.658 GB, free: 2.012 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/0.6316, allocations: 399.3 kB / 0.6584 GB, free: 1.621 MB / 458.7 MB Notification: Performance of SimCode: time 1.964e-06/0.6316, allocations: 0 / 0.6584 GB, free: 1.621 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03321/0.6648, allocations: 16.99 MB / 0.675 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.665, allocations: 178.2 kB / 0.6752 GB, free: 432 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/2.989, allocations: 0 / 0.6752 GB, free: 432 kB / 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