Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical",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.0009753/0.0009754, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008762/0.0008761, allocations: 86.2 kB / 261.7 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2183/0.2183, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.471e-05/1.472e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1311, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.46/0.5912, allocations: 100.9 MB / 0.5646 GB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.5914, allocations: 78.67 kB / 0.5647 GB, free: 10.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.208/0.7994, allocations: 82.23 MB / 0.645 GB, free: 432 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.7995, allocations: 0 / 0.645 GB, free: 432 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001605/0.7997, allocations: 64 kB / 0.645 GB, free: 368 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.01753/0.8172, allocations: 3.864 MB / 0.6488 GB, free: 12.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.8173, allocations: 8.031 kB / 0.6488 GB, free: 12.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02454/0.8418, allocations: 5.879 MB / 0.6546 GB, free: 6.531 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01624/0.8581, allocations: 5.309 MB / 0.6598 GB, free: 1.168 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/0.8584, allocations: 120 kB / 0.6599 GB, free: 1.051 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002346/0.8608, allocations: 219.8 kB / 0.6601 GB, free: 0.8359 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01335/0.8741, allocations: 6.895 MB / 0.6668 GB, free: 9.938 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02213/0.8963, allocations: 9.208 MB / 0.6758 GB, free: 224 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002246/0.8966, allocations: 23.81 kB / 0.6758 GB, free: 200 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0017/0.8983, allocations: 20 kB / 0.6758 GB, free: 180 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001949/0.9003, allocations: 1.156 MB / 0.677 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4028/1.303, allocations: 35.11 MB / 0.7113 GB, free: 118 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005574/1.309, allocations: 4.082 MB / 0.7152 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003203/1.312, allocations: 2.271 MB / 0.7175 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001552/1.314, allocations: 1.881 MB / 0.7193 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/1.314, allocations: 51.39 kB / 0.7194 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=226): time 4.999e-06/1.314, allocations: 0 / 0.7194 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=233): time 0.02654/1.34, allocations: 11.78 MB / 0.7309 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/1.34, allocations: 74 kB / 0.7309 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003211/1.343, allocations: 2.415 MB / 0.7333 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003042/1.344, allocations: 25.7 kB / 0.7333 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/1.345, allocations: 2.756 MB / 0.736 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007467/1.346, allocations: 0.8412 MB / 0.7368 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/1.346, allocations: 3.281 kB / 0.7368 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003245/1.347, allocations: 0.5618 MB / 0.7374 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002797/1.349, allocations: 2.531 MB / 0.7398 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00441/1.354, allocations: 5.742 MB / 0.7455 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004195/1.358, allocations: 3.814 MB / 0.7492 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.623e-05/1.358, allocations: 31.28 kB / 0.7492 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=768) (initialization): time 0.05971/1.418, allocations: 18.49 MB / 0.7673 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.339e-05/1.418, allocations: 56.75 kB / 0.7673 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04123/1.459, allocations: 11.89 MB / 0.7789 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04588/1.505, allocations: 10.31 MB / 0.789 GB, free: 97.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004686/1.51, allocations: 1.33 MB / 0.7903 GB, free: 95.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0222/1.532, allocations: 15.08 MB / 0.805 GB, free: 80.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005296/1.537, allocations: 355.3 kB / 0.8054 GB, free: 80.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001476/1.539, allocations: 341.7 kB / 0.8057 GB, free: 79.82 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 519 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (696): * Single equations (assignments): 685 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.001105/1.54, allocations: 386.1 kB / 0.8061 GB, free: 79.43 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007079/1.547, allocations: 4.462 MB / 0.8104 GB, free: 74.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005968/1.548, allocations: 272.4 kB / 0.8107 GB, free: 74.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007385/1.555, allocations: 4.965 MB / 0.8155 GB, free: 69.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005745/1.561, allocations: 4.264 MB / 0.8197 GB, free: 65.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.561, allocations: 7.953 kB / 0.8197 GB, free: 65.42 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/1.561, allocations: 7.969 kB / 0.8197 GB, free: 65.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01714/1.578, allocations: 11.95 MB / 0.8314 GB, free: 53.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/1.578, allocations: 8 kB / 0.8314 GB, free: 53.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/1.58, allocations: 411.2 kB / 0.8318 GB, free: 52.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002593/1.582, allocations: 0.9248 MB / 0.8327 GB, free: 52.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000221/1.582, allocations: 33.73 kB / 0.8327 GB, free: 52.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005115/1.588, allocations: 5.285 MB / 0.8379 GB, free: 46.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006859/1.588, allocations: 1.402 MB / 0.8392 GB, free: 45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009845/1.598, allocations: 8.25 MB / 0.8473 GB, free: 36.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/1.599, allocations: 331.5 kB / 0.8476 GB, free: 36.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004167/1.6, allocations: 15.98 kB / 0.8476 GB, free: 36.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/1.601, allocations: 167.7 kB / 0.8478 GB, free: 35.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/1.602, allocations: 159 kB / 0.8479 GB, free: 35.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/1.602, allocations: 63.98 kB / 0.848 GB, free: 35.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002315/1.604, allocations: 1.581 MB / 0.8495 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.11e-07/1.604, allocations: 0 / 0.8495 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005554/1.61, allocations: 1.005 MB / 0.8505 GB, free: 33.16 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 163 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01149/1.621, allocations: 10.94 MB / 0.8612 GB, free: 21.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01062/1.632, allocations: 6.338 MB / 0.8674 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.525e-05/1.632, allocations: 0 / 0.8674 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003203/1.635, allocations: 2.452 MB / 0.8698 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/1.638, allocations: 242.2 kB / 0.87 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02458/1.662, allocations: 9.7 MB / 0.8795 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002867/1.665, allocations: 3.246 MB / 0.8827 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00511/1.67, allocations: 2.177 MB / 0.8848 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002651/1.673, allocations: 1.675 MB / 0.8864 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of SimCode: time 1.944e-06/1.673, allocations: 0 / 0.8864 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4077/2.081, allocations: 77.2 MB / 0.9618 GB, free: 127 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/2.081, allocations: 136.7 kB / 0.962 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.686/5.766, allocations: 0 / 0.962 GB, free: 126.8 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat does not exist to compare? outputFormat=mat