Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002653/0.002653, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001105/0.001105, allocations: 86.66 kB / 267.5 MB, free: 14.05 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.2883/0.2883, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.07e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5065/0.6265, allocations: 98.3 MB / 0.5689 GB, free: 5.414 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.6269, allocations: 78.28 kB / 0.569 GB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09257/0.7195, allocations: 20.6 MB / 0.5891 GB, free: 3.434 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.7195, allocations: 0 / 0.5891 GB, free: 3.434 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.98e-05/0.7196, allocations: 20 kB / 0.5891 GB, free: 3.414 MB / 394.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.005088/0.7247, allocations: 1.39 MB / 0.5905 GB, free: 2.043 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.7248, allocations: 8.031 kB / 0.5905 GB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006285/0.7254, allocations: 194.2 kB / 0.5906 GB, free: 1.906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.7271, allocations: 198.3 kB / 0.5908 GB, free: 1.711 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/0.7296, allocations: 0.7217 MB / 0.5915 GB, free: 1.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.185e-05/0.7297, allocations: 75.97 kB / 0.5916 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000414/0.7302, allocations: 101.5 kB / 0.5917 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00985/0.74, allocations: 2.659 MB / 0.5943 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.541e-05/0.7401, allocations: 7.938 kB / 0.5943 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.7403, allocations: 58.16 kB / 0.5944 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004853/0.7408, allocations: 200.8 kB / 0.5946 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00982/0.7507, allocations: 2.383 MB / 0.5969 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01566/0.7664, allocations: 8.648 MB / 0.6053 GB, free: 5.281 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007181/0.7736, allocations: 1.004 MB / 0.6063 GB, free: 4.422 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006752/0.7744, allocations: 250.2 kB / 0.6065 GB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002444/0.7768, allocations: 1.731 MB / 0.6082 GB, free: 2.316 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.7769, allocations: 45.91 kB / 0.6083 GB, free: 2.266 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 3.347e-06/0.7769, allocations: 0 / 0.6083 GB, free: 2.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.01986/0.7968, allocations: 2.702 MB / 0.6109 GB, free: 15.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.7969, allocations: 55.97 kB / 0.611 GB, free: 15.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.7988, allocations: 0.8003 MB / 0.6118 GB, free: 15.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.799, allocations: 31.83 kB / 0.6118 GB, free: 15.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007157/0.7997, allocations: 0.6936 MB / 0.6125 GB, free: 14.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/0.8001, allocations: 210.2 kB / 0.6127 GB, free: 14.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-05/0.8002, allocations: 21.69 kB / 0.6127 GB, free: 14.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.8004, allocations: 365.4 kB / 0.613 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009922/0.8014, allocations: 352.8 kB / 0.6134 GB, free: 13.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.803, allocations: 0.9751 MB / 0.6143 GB, free: 12.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.8045, allocations: 0.5704 MB / 0.6149 GB, free: 12.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/0.8046, allocations: 8 kB / 0.6149 GB, free: 12.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003711/0.8083, allocations: 1.332 MB / 0.6162 GB, free: 11.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/0.8084, allocations: 16 kB / 0.6162 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.64e-05/0.8085, allocations: 23.94 kB / 0.6162 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.231e-05/0.8085, allocations: 39.95 kB / 0.6163 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/0.8111, allocations: 325.3 kB / 0.6166 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.8128, allocations: 1.364 MB / 0.6179 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.8142, allocations: 56.95 kB / 0.618 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/0.8144, allocations: 66.5 kB / 0.618 GB, free: 9.234 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 () * 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.0003608/0.8148, allocations: 212.6 kB / 0.6182 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.815, allocations: 86.86 kB / 0.6183 GB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.8153, allocations: 112.9 kB / 0.6184 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.8154, allocations: 11.95 kB / 0.6184 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.8154, allocations: 7.984 kB / 0.6184 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.8154, allocations: 0 / 0.6184 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006247/0.8217, allocations: 2.158 MB / 0.6205 GB, free: 7.066 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.8217, allocations: 4 kB / 0.6205 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.8229, allocations: 135.4 kB / 0.6207 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.208e-05/0.8229, allocations: 8.625 kB / 0.6207 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.832e-05/0.823, allocations: 11.75 kB / 0.6207 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.8244, allocations: 1.336 MB / 0.622 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.038e-05/0.8245, allocations: 11.94 kB / 0.622 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.8264, allocations: 1.127 MB / 0.6231 GB, free: 4.238 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005699/0.827, allocations: 203.2 kB / 0.6233 GB, free: 4.039 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.8272, allocations: 21.81 kB / 0.6233 GB, free: 4.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/0.8278, allocations: 21.88 kB / 0.6233 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.828, allocations: 51.03 kB / 0.6234 GB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-05/0.828, allocations: 17.94 kB / 0.6234 GB, free: 3.953 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001411/0.8295, allocations: 0.5906 MB / 0.624 GB, free: 3.516 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.8295, allocations: 0 / 0.624 GB, free: 3.516 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001606/0.8311, allocations: 220.8 kB / 0.6242 GB, free: 3.312 MB / 426.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.003215/0.8344, allocations: 3.479 MB / 0.6276 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002622/0.837, allocations: 0.8591 MB / 0.6284 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/0.8371, allocations: 4 kB / 0.6284 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009831/0.8381, allocations: 285.5 kB / 0.6287 GB, free: 14.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.8392, allocations: 106.7 kB / 0.6288 GB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006999/0.8462, allocations: 2.06 MB / 0.6308 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/0.8478, allocations: 1.248 MB / 0.632 GB, free: 10.92 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/0.8489, allocations: 411.3 kB / 0.6324 GB, free: 10.52 MB / 442.7 MB Notification: Performance of SimCode: time 1.442e-06/0.849, allocations: 0 / 0.6324 GB, free: 10.52 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.932/3.781, allocations: 21.61 MB / 0.6535 GB, free: 4.891 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat