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.001431/0.001431, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007802/0.0007802, allocations: 90.64 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1743/0.1743, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.678e-05, allocations: 7.984 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.09928, allocations: 63.24 MB / 0.5115 GB, free: 6.684 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3743/0.4736, allocations: 100.9 MB / 0.61 GB, free: 9.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003993/0.4741, allocations: 76.45 kB / 0.61 GB, free: 9.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05263/0.5268, allocations: 20.93 MB / 0.6305 GB, free: 6.883 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.5268, allocations: 3.938 kB / 0.6305 GB, free: 6.879 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.25e-05/0.5268, allocations: 20 kB / 0.6305 GB, free: 6.859 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.002328/0.5292, allocations: 1.392 MB / 0.6319 GB, free: 5.488 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.5292, allocations: 15.91 kB / 0.6319 GB, free: 5.473 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002224/0.5295, allocations: 192 kB / 0.6321 GB, free: 5.344 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008508/0.5303, allocations: 210.2 kB / 0.6323 GB, free: 5.141 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.5316, allocations: 0.7129 MB / 0.633 GB, free: 4.504 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/0.5316, allocations: 74.17 kB / 0.633 GB, free: 4.457 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.5318, allocations: 104.2 kB / 0.6331 GB, free: 4.387 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004891/0.5367, allocations: 2.669 MB / 0.6357 GB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.5368, allocations: 15.92 kB / 0.6358 GB, free: 2.176 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.5369, allocations: 45.67 kB / 0.6358 GB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00025/0.5371, allocations: 204.2 kB / 0.636 GB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004732/0.5419, allocations: 2.381 MB / 0.6383 GB, free: 240 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008295/0.5502, allocations: 8.622 MB / 0.6467 GB, free: 8.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003735/0.554, allocations: 0.996 MB / 0.6477 GB, free: 7.875 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.5543, allocations: 253.3 kB / 0.648 GB, free: 7.715 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00149/0.5558, allocations: 1.735 MB / 0.6496 GB, free: 5.766 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.5558, allocations: 46.36 kB / 0.6497 GB, free: 5.715 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 2.715e-06/0.5559, allocations: 0 / 0.6497 GB, free: 5.715 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.01031/0.5662, allocations: 2.701 MB / 0.6523 GB, free: 3.293 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.5662, allocations: 55.97 kB / 0.6524 GB, free: 3.223 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.5673, allocations: 0.7997 MB / 0.6532 GB, free: 2.605 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.5673, allocations: 35.89 kB / 0.6532 GB, free: 2.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/0.5677, allocations: 0.6572 MB / 0.6538 GB, free: 2.035 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.5679, allocations: 215.7 kB / 0.654 GB, free: 1.852 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.5679, allocations: 24.31 kB / 0.6541 GB, free: 1.848 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.5681, allocations: 400.7 kB / 0.6544 GB, free: 1.484 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004742/0.5686, allocations: 354.8 kB / 0.6548 GB, free: 1.246 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008872/0.5695, allocations: 0.98 MB / 0.6557 GB, free: 108 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006971/0.5702, allocations: 0.5719 MB / 0.6563 GB, free: 15.69 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.5702, allocations: 8 kB / 0.6563 GB, free: 15.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001722/0.5719, allocations: 1.366 MB / 0.6576 GB, free: 14.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.572, allocations: 12 kB / 0.6577 GB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/0.572, allocations: 24 kB / 0.6577 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.852e-05/0.572, allocations: 35.95 kB / 0.6577 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.5732, allocations: 325.6 kB / 0.658 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.5742, allocations: 1.373 MB / 0.6594 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/0.5748, allocations: 56.7 kB / 0.6594 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/0.5749, allocations: 68.06 kB / 0.6595 GB, free: 12.65 MB / 458.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.0001984/0.5751, allocations: 210.1 kB / 0.6597 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.5752, allocations: 86.88 kB / 0.6598 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.5755, allocations: 119.7 kB / 0.6599 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.5755, allocations: 8 kB / 0.6599 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5755, allocations: 4 kB / 0.6599 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5755, allocations: 3.984 kB / 0.6599 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.5787, allocations: 2.142 MB / 0.662 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5787, allocations: 8 kB / 0.662 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/0.5792, allocations: 127.1 kB / 0.6621 GB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/0.5792, allocations: 16.64 kB / 0.6621 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.5792, allocations: 18.69 kB / 0.6622 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007647/0.58, allocations: 1.337 MB / 0.6635 GB, free: 8.898 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/0.58, allocations: 11.94 kB / 0.6635 GB, free: 8.887 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000957/0.581, allocations: 1.131 MB / 0.6646 GB, free: 7.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.5812, allocations: 165.2 kB / 0.6647 GB, free: 7.488 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.732e-05/0.5813, allocations: 29.88 kB / 0.6648 GB, free: 7.465 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.5816, allocations: 21.94 kB / 0.6648 GB, free: 7.453 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.5816, allocations: 46.22 kB / 0.6648 GB, free: 7.414 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.5817, allocations: 23.69 kB / 0.6648 GB, free: 7.395 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006538/0.5823, allocations: 0.5853 MB / 0.6654 GB, free: 6.961 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5823, allocations: 0 / 0.6654 GB, free: 6.961 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008147/0.5832, allocations: 220.8 kB / 0.6656 GB, free: 6.77 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.001997/0.5852, allocations: 3.475 MB / 0.669 GB, free: 3.086 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.5864, allocations: 0.8473 MB / 0.6699 GB, free: 2.242 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5864, allocations: 4 kB / 0.6699 GB, free: 2.238 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003853/0.5868, allocations: 269 kB / 0.6701 GB, free: 1.977 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.5873, allocations: 107.8 kB / 0.6702 GB, free: 1.871 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.5904, allocations: 1.941 MB / 0.6721 GB, free: 15.81 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008444/0.5913, allocations: 1.244 MB / 0.6733 GB, free: 14.54 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008009/0.5921, allocations: 347.6 kB / 0.6737 GB, free: 14.19 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004749/0.5926, allocations: 407.3 kB / 0.674 GB, free: 13.79 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5926, allocations: 0 / 0.674 GB, free: 13.79 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.624, allocations: 16.98 MB / 0.6906 GB, free: 12.99 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/0.6242, allocations: 162 kB / 0.6908 GB, free: 12.76 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.669, allocations: 0 / 0.6908 GB, free: 12.76 MB / 490.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