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.001067/0.001067, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.729/1.729, 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.0009471/0.0009471, allocations: 98.8 kB / 270.2 MB, free: 13.37 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.218/0.218, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003202, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1265, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4508/0.5773, allocations: 101.7 MB / 0.5782 GB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.5776, allocations: 80.77 kB / 0.5782 GB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2209/0.7985, allocations: 83.59 MB / 0.6599 GB, free: 2.406 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.027e-06/0.7986, allocations: 0 / 0.6599 GB, free: 2.406 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001676/0.7988, allocations: 68 kB / 0.6599 GB, free: 2.34 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.01804/0.8168, allocations: 4.027 MB / 0.6639 GB, free: 14.25 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.396e-05/0.8169, allocations: 16.03 kB / 0.6639 GB, free: 14.23 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004236/0.8212, allocations: 0.75 MB / 0.6646 GB, free: 13.47 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02249/0.8437, allocations: 5.871 MB / 0.6704 GB, free: 7.582 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01695/0.8607, allocations: 5.333 MB / 0.6756 GB, free: 2.199 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/0.8611, allocations: 283.2 kB / 0.6758 GB, free: 1.922 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00264/0.8637, allocations: 367.9 kB / 0.6762 GB, free: 1.562 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02547/0.8892, allocations: 10.44 MB / 0.6864 GB, free: 6.613 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001364/0.8894, allocations: 27.75 kB / 0.6864 GB, free: 6.586 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007087/0.8901, allocations: 167.9 kB / 0.6866 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001711/0.8919, allocations: 1.156 MB / 0.6877 GB, free: 5.266 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02219/0.9141, allocations: 10.11 MB / 0.6976 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3916/1.306, allocations: 37.42 MB / 0.7341 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0121/1.318, allocations: 5.591 MB / 0.7396 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/1.319, allocations: 1.879 MB / 0.7414 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/1.319, allocations: 54.92 kB / 0.7415 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=224): time 5.76e-06/1.319, allocations: 0 / 0.7415 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=231): time 0.0326/1.352, allocations: 15.5 MB / 0.7566 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00109/1.353, allocations: 1.533 MB / 0.7581 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00375/1.357, allocations: 2.511 MB / 0.7605 GB, free: 100 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004073/1.357, allocations: 55.25 kB / 0.7606 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001707/1.359, allocations: 2.685 MB / 0.7632 GB, free: 98.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009335/1.36, allocations: 0.8477 MB / 0.764 GB, free: 98.19 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/1.36, allocations: 108.8 kB / 0.7642 GB, free: 98.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002679/1.361, allocations: 0.5454 MB / 0.7647 GB, free: 97.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003153/1.364, allocations: 2.605 MB / 0.7672 GB, free: 97.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004695/1.368, allocations: 5.591 MB / 0.7727 GB, free: 92.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004533/1.373, allocations: 3.799 MB / 0.7764 GB, free: 91.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.514e-05/1.373, allocations: 29.53 kB / 0.7764 GB, free: 91.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=724) (initialization): time 0.05666/1.43, allocations: 18.97 MB / 0.795 GB, free: 88.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000187/1.43, allocations: 51.38 kB / 0.795 GB, free: 88.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04105/1.471, allocations: 12.01 MB / 0.8067 GB, free: 84.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04182/1.513, allocations: 10.31 MB / 0.8168 GB, free: 74.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005023/1.518, allocations: 1.259 MB / 0.818 GB, free: 73.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02483/1.543, allocations: 17.24 MB / 0.8349 GB, free: 55.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005574/1.548, allocations: 446.3 kB / 0.8353 GB, free: 55.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001564/1.55, allocations: 312 kB / 0.8356 GB, free: 55.25 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (652): * Single equations (assignments): 641 * 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.005731/1.556, allocations: 2.029 MB / 0.8376 GB, free: 53.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009042/1.557, allocations: 280.3 kB / 0.8378 GB, free: 52.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00882/1.566, allocations: 5.101 MB / 0.8428 GB, free: 47.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006896/1.572, allocations: 4.385 MB / 0.8471 GB, free: 43.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/1.573, allocations: 8 kB / 0.8471 GB, free: 43.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.86e-05/1.573, allocations: 15.91 kB / 0.8471 GB, free: 43.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02507/1.598, allocations: 12.97 MB / 0.8598 GB, free: 30.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.982e-05/1.598, allocations: 8 kB / 0.8598 GB, free: 30.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/1.6, allocations: 403.3 kB / 0.8602 GB, free: 29.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002715/1.602, allocations: 0.939 MB / 0.8611 GB, free: 28.92 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003255/1.603, allocations: 53.45 kB / 0.8612 GB, free: 28.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005362/1.608, allocations: 5.556 MB / 0.8666 GB, free: 23.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000738/1.609, allocations: 1.471 MB / 0.868 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/1.619, allocations: 8.347 MB / 0.8762 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.621, allocations: 337.1 kB / 0.8765 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008764/1.621, allocations: 37.33 kB / 0.8765 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/1.624, allocations: 201.1 kB / 0.8767 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004263/1.624, allocations: 151.9 kB / 0.8769 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/1.624, allocations: 65.31 kB / 0.8769 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003861/1.628, allocations: 1.717 MB / 0.8786 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.51e-07/1.628, allocations: 0 / 0.8786 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008385/1.636, allocations: 1.109 MB / 0.8797 GB, free: 9.18 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 161 * 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.01422/1.651, allocations: 10.94 MB / 0.8904 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0128/1.664, allocations: 6.552 MB / 0.8968 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/1.664, allocations: 0 / 0.8968 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004405/1.668, allocations: 2.527 MB / 0.8992 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/1.671, allocations: 331.7 kB / 0.8995 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4153/2.086, allocations: 111.5 MB / 1.008 GB, free: 56.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003644/2.09, allocations: 3.25 MB / 1.012 GB, free: 56.06 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004842/2.095, allocations: 2.06 MB / 1.014 GB, free: 55.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002547/2.097, allocations: 1.667 MB / 1.015 GB, free: 55.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.343e-06/2.097, allocations: 4 kB / 1.015 GB, free: 55.94 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1182/2.215, allocations: 79.57 MB / 1.093 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/2.216, allocations: 223.8 kB / 1.093 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.712/5.928, allocations: 6.562 kB / 1.093 GB, free: 2.27 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