Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002239/0.002239, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.11/2.11, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001289/0.001289, allocations: 88.14 kB / 270.9 MB, free: 8.383 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.5804/0.5804, allocations: 43.55 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.000492, allocations: 16 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.136, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4947/0.6307, allocations: 101.7 MB / 0.5781 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.6311, allocations: 79.95 kB / 0.5782 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3665/0.9976, allocations: 83.6 MB / 0.6598 GB, free: 12.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.387e-06/0.9977, allocations: 0 / 0.6598 GB, free: 12.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002232/0.9979, allocations: 71.98 kB / 0.6599 GB, free: 12.58 MB / 490.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.02343/1.021, allocations: 4.026 MB / 0.6639 GB, free: 8.492 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.49e-05/1.021, allocations: 8.031 kB / 0.6639 GB, free: 8.484 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004021/1.025, allocations: 0.7578 MB / 0.6646 GB, free: 7.715 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04375/1.069, allocations: 5.871 MB / 0.6703 GB, free: 1.828 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3805/1.45, allocations: 5.335 MB / 0.6755 GB, free: 97.17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004722/1.45, allocations: 280.1 kB / 0.6758 GB, free: 97.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002922/1.453, allocations: 369.6 kB / 0.6762 GB, free: 97.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03387/1.487, allocations: 10.43 MB / 0.6864 GB, free: 95.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002092/1.487, allocations: 29.09 kB / 0.6864 GB, free: 95.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001719/1.489, allocations: 171.6 kB / 0.6865 GB, free: 95.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002399/1.492, allocations: 1.16 MB / 0.6877 GB, free: 95.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03001/1.522, allocations: 10.11 MB / 0.6975 GB, free: 95.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08024/1.602, allocations: 37.42 MB / 0.7341 GB, free: 74.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01877/1.621, allocations: 5.588 MB / 0.7395 GB, free: 72.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002302/1.623, allocations: 1.89 MB / 0.7414 GB, free: 70.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/1.623, allocations: 48.53 kB / 0.7414 GB, free: 70.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=224): time 6.272e-06/1.623, allocations: 0 / 0.7414 GB, free: 70.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=231): time 0.06119/1.685, allocations: 15.51 MB / 0.7566 GB, free: 65.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001461/1.686, allocations: 1.528 MB / 0.7581 GB, free: 63.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005447/1.692, allocations: 2.512 MB / 0.7605 GB, free: 62.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007617/1.692, allocations: 54.06 kB / 0.7606 GB, free: 62.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002318/1.695, allocations: 2.674 MB / 0.7632 GB, free: 60.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001586/1.696, allocations: 0.8549 MB / 0.764 GB, free: 60.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000915/1.697, allocations: 105.1 kB / 0.7641 GB, free: 60.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004371/1.698, allocations: 0.545 MB / 0.7647 GB, free: 59.69 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006505/1.704, allocations: 2.606 MB / 0.7672 GB, free: 58.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008846/1.713, allocations: 5.591 MB / 0.7727 GB, free: 54.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008978/1.722, allocations: 3.799 MB / 0.7764 GB, free: 52.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001122/1.722, allocations: 31.22 kB / 0.7764 GB, free: 52.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.119/1.841, allocations: 18.91 MB / 0.7949 GB, free: 44.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.467e-05/1.842, allocations: 52 kB / 0.7949 GB, free: 44.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08453/1.926, allocations: 12.01 MB / 0.8066 GB, free: 35.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09259/2.019, allocations: 10.3 MB / 0.8167 GB, free: 24.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007923/2.027, allocations: 1.256 MB / 0.8179 GB, free: 23.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0487/2.075, allocations: 17.26 MB / 0.8348 GB, free: 6.219 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006771/2.082, allocations: 451.1 kB / 0.8352 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001486/2.084, allocations: 316 kB / 0.8355 GB, free: 5.473 MB / 490.7 MB 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.005899/2.09, allocations: 2.025 MB / 0.8375 GB, free: 3.438 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007266/2.09, allocations: 272.4 kB / 0.8378 GB, free: 3.168 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01671/2.107, allocations: 5.105 MB / 0.8427 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01541/2.123, allocations: 4.386 MB / 0.847 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.098e-05/2.123, allocations: 3.844 kB / 0.847 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.057e-05/2.123, allocations: 7.969 kB / 0.847 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4013/2.524, allocations: 12.99 MB / 0.8597 GB, free: 103 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.66e-05/2.524, allocations: 7.5 kB / 0.8597 GB, free: 103 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003832/2.528, allocations: 406.8 kB / 0.8601 GB, free: 103 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005772/2.534, allocations: 0.9404 MB / 0.861 GB, free: 103 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006791/2.535, allocations: 50.53 kB / 0.8611 GB, free: 103 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/2.545, allocations: 5.547 MB / 0.8665 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001253/2.547, allocations: 1.474 MB / 0.8679 GB, free: 99.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0209/2.568, allocations: 8.336 MB / 0.8761 GB, free: 97.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/2.569, allocations: 337 kB / 0.8764 GB, free: 97.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/2.57, allocations: 44.48 kB / 0.8764 GB, free: 97.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003389/2.573, allocations: 206.1 kB / 0.8766 GB, free: 97.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008469/2.574, allocations: 136.8 kB / 0.8768 GB, free: 97.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002784/2.575, allocations: 70.78 kB / 0.8768 GB, free: 97.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004092/2.579, allocations: 1.723 MB / 0.8785 GB, free: 97.53 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.132e-06/2.579, allocations: 0 / 0.8785 GB, free: 97.53 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008375/2.587, allocations: 1.105 MB / 0.8796 GB, free: 97.53 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.02207/2.609, allocations: 10.93 MB / 0.8903 GB, free: 93.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01834/2.628, allocations: 6.552 MB / 0.8967 GB, free: 93.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/2.628, allocations: 4.188 kB / 0.8967 GB, free: 93.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007302/2.635, allocations: 2.527 MB / 0.8991 GB, free: 93.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003181/2.638, allocations: 338 kB / 0.8995 GB, free: 92.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1749/2.813, allocations: 112 MB / 1.009 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008013/2.821, allocations: 3.254 MB / 1.012 GB, free: 32.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005106/2.826, allocations: 1.714 MB / 1.014 GB, free: 31.59 MB / 0.5261 GB Notification: Performance of SimCode: time 1.273e-06/2.826, allocations: 0 / 1.014 GB, free: 31.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.719/7.546, allocations: 129.7 MB / 1.14 GB, free: 119.9 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Spherical_res.mat does not exist to compare? outputFormat=mat