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.001252/0.001252, allocations: 197.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 91.94 kB / 297.2 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4098/0.4098, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002948, allocations: 8 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4594, allocations: 63.23 MB / 0.5193 GB, free: 43.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.6062, allocations: 100.9 MB / 0.6178 GB, free: 4.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.6065, allocations: 87.92 kB / 0.6179 GB, free: 4.578 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05452/0.6611, allocations: 20.95 MB / 0.6384 GB, free: 15.56 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.711e-06/0.6611, allocations: 4 kB / 0.6384 GB, free: 15.56 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.496e-05/0.6612, allocations: 20 kB / 0.6384 GB, free: 15.54 MB / 458.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.002637/0.6638, allocations: 1.47 MB / 0.6398 GB, free: 14.02 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.6639, allocations: 12.03 kB / 0.6399 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002486/0.6641, allocations: 190.3 kB / 0.64 GB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000866/0.665, allocations: 214.2 kB / 0.6402 GB, free: 13.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.6664, allocations: 0.7127 MB / 0.6409 GB, free: 12.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.386e-05/0.6665, allocations: 78.05 kB / 0.641 GB, free: 12.76 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.6666, allocations: 111.9 kB / 0.6411 GB, free: 12.65 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004932/0.6716, allocations: 2.677 MB / 0.6437 GB, free: 9.797 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.6716, allocations: 7.938 kB / 0.6437 GB, free: 9.789 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.6717, allocations: 47.98 kB / 0.6438 GB, free: 9.742 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003087/0.6721, allocations: 205.8 kB / 0.644 GB, free: 9.543 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00508/0.6772, allocations: 2.419 MB / 0.6463 GB, free: 7.117 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009362/0.6865, allocations: 8.64 MB / 0.6548 GB, free: 14.22 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00348/0.6901, allocations: 0.999 MB / 0.6558 GB, free: 13.21 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/0.6915, allocations: 1.742 MB / 0.6575 GB, free: 11.19 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.6916, allocations: 34.56 kB / 0.6575 GB, free: 11.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=44): time 2.164e-06/0.6916, allocations: 0 / 0.6575 GB, free: 11.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.01084/0.7024, allocations: 3.029 MB / 0.6605 GB, free: 8.105 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.7025, allocations: 59.95 kB / 0.6605 GB, free: 8.031 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.7036, allocations: 0.8006 MB / 0.6613 GB, free: 7.227 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.7037, allocations: 33.7 kB / 0.6613 GB, free: 7.188 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004609/0.7041, allocations: 0.6642 MB / 0.662 GB, free: 6.512 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.7043, allocations: 209.2 kB / 0.6622 GB, free: 6.305 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.7044, allocations: 28 kB / 0.6622 GB, free: 6.277 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.7046, allocations: 398.7 kB / 0.6626 GB, free: 5.879 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.7051, allocations: 366.4 kB / 0.6629 GB, free: 5.523 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008939/0.706, allocations: 0.9874 MB / 0.6639 GB, free: 4.227 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007597/0.7068, allocations: 0.5719 MB / 0.6645 GB, free: 3.656 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.7068, allocations: 4 kB / 0.6645 GB, free: 3.652 MB / 474.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001894/0.7087, allocations: 1.388 MB / 0.6658 GB, free: 2.254 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.7087, allocations: 17 kB / 0.6658 GB, free: 2.238 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.7087, allocations: 20 kB / 0.6658 GB, free: 2.219 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.49e-05/0.7088, allocations: 43.95 kB / 0.6659 GB, free: 2.176 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.71, allocations: 315.5 kB / 0.6662 GB, free: 1.867 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.7111, allocations: 1.376 MB / 0.6675 GB, free: 372 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006566/0.7117, allocations: 51.91 kB / 0.6676 GB, free: 320 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.024e-05/0.7118, allocations: 67.94 kB / 0.6676 GB, free: 252 kB / 474.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.0008161/0.7127, allocations: 0.5089 MB / 0.6681 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.7128, allocations: 78.97 kB / 0.6682 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.713, allocations: 116.7 kB / 0.6683 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.713, allocations: 11.95 kB / 0.6683 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.713, allocations: 0 / 0.6683 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.7131, allocations: 3.984 kB / 0.6683 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003472/0.7165, allocations: 2.156 MB / 0.6705 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.7166, allocations: 12.16 kB / 0.6705 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005247/0.7171, allocations: 127.8 kB / 0.6706 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.7171, allocations: 8 kB / 0.6706 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.7171, allocations: 16 kB / 0.6706 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008566/0.718, allocations: 1.337 MB / 0.6719 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.718, allocations: 11.94 kB / 0.6719 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.7192, allocations: 1.129 MB / 0.673 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.7194, allocations: 172 kB / 0.6732 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.634e-05/0.7195, allocations: 31.94 kB / 0.6732 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.7198, allocations: 15.94 kB / 0.6732 GB, free: 9.949 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.7199, allocations: 51.84 kB / 0.6733 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.72, allocations: 24 kB / 0.6733 GB, free: 9.875 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007493/0.7207, allocations: 0.5888 MB / 0.6739 GB, free: 9.293 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7207, allocations: 0 / 0.6739 GB, free: 9.293 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001023/0.7218, allocations: 220 kB / 0.6741 GB, free: 9.078 MB / 490.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.002156/0.7239, allocations: 3.485 MB / 0.6775 GB, free: 5.395 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.7255, allocations: 0.8628 MB / 0.6783 GB, free: 4.535 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7255, allocations: 0 / 0.6783 GB, free: 4.535 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004144/0.7259, allocations: 276.5 kB / 0.6786 GB, free: 4.266 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006305/0.7265, allocations: 110.7 kB / 0.6787 GB, free: 4.156 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2981/1.025, allocations: 21.45 MB / 0.6997 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009724/1.026, allocations: 1.24 MB / 0.7009 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001097/1.027, allocations: 345.5 kB / 0.7012 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000517/1.027, allocations: 404.9 kB / 0.7016 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.452e-06/1.027, allocations: 0 / 0.7016 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04074/1.068, allocations: 16.99 MB / 0.7182 GB, free: 128 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/1.068, allocations: 194 kB / 0.7184 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.69/3.758, allocations: 0 / 0.7184 GB, free: 127.8 MB / 0.4948 GB (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