Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",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.002337/0.002337, allocations: 185.9 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.115/2.115, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001166/0.001166, allocations: 92.16 kB / 270.9 MB, free: 8.355 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.6152/0.6152, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004656, allocations: 16 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1288, allocations: 58.85 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5093/0.6382, allocations: 104.6 MB / 0.5809 GB, free: 13.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.6385, allocations: 78.16 kB / 0.581 GB, free: 13.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8642/1.503, allocations: 95.56 MB / 0.6743 GB, free: 90.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.865e-06/1.503, allocations: 1.094 kB / 0.6743 GB, free: 90.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002796/1.503, allocations: 86.66 kB / 0.6744 GB, free: 90.98 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.02593/1.529, allocations: 4.669 MB / 0.679 GB, free: 89.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.529, allocations: 14.38 kB / 0.679 GB, free: 89.86 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004879/1.534, allocations: 0.9041 MB / 0.6799 GB, free: 89.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02767/1.562, allocations: 3.593 MB / 0.6834 GB, free: 89.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01995/1.582, allocations: 4.854 MB / 0.6881 GB, free: 88.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006139/1.582, allocations: 361.6 kB / 0.6885 GB, free: 88.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003177/1.586, allocations: 467.9 kB / 0.6889 GB, free: 88.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03536/1.621, allocations: 11.49 MB / 0.7001 GB, free: 87.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003195/1.621, allocations: 32.52 kB / 0.7002 GB, free: 87.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002853/1.624, allocations: 208.9 kB / 0.7004 GB, free: 87.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002754/1.627, allocations: 1.244 MB / 0.7016 GB, free: 87.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03413/1.661, allocations: 10.97 MB / 0.7123 GB, free: 87.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.082/1.743, allocations: 38.55 MB / 0.75 GB, free: 65.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/1.755, allocations: 4.383 MB / 0.7542 GB, free: 63.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/1.757, allocations: 1.325 MB / 0.7555 GB, free: 62.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/1.757, allocations: 53.41 kB / 0.7556 GB, free: 62.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 6.553e-06/1.757, allocations: 3.312 kB / 0.7556 GB, free: 62.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.06538/1.822, allocations: 14.31 MB / 0.7696 GB, free: 57.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/1.823, allocations: 78.33 kB / 0.7696 GB, free: 57.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00547/1.828, allocations: 2.668 MB / 0.7722 GB, free: 56.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006346/1.829, allocations: 56.73 kB / 0.7723 GB, free: 56.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002445/1.831, allocations: 3.095 MB / 0.7753 GB, free: 54.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001541/1.833, allocations: 0.9788 MB / 0.7763 GB, free: 53.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007054/1.834, allocations: 121.6 kB / 0.7764 GB, free: 53.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004223/1.834, allocations: 0.5709 MB / 0.7769 GB, free: 52.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005866/1.84, allocations: 2.363 MB / 0.7793 GB, free: 52.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00812/1.848, allocations: 5.656 MB / 0.7848 GB, free: 46.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008309/1.856, allocations: 3.665 MB / 0.7884 GB, free: 45.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/1.857, allocations: 32.25 kB / 0.7884 GB, free: 45.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=796) (initialization): time 0.02513/1.882, allocations: 8.668 MB / 0.7969 GB, free: 38.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.069e-05/1.882, allocations: 57.66 kB / 0.7969 GB, free: 38.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001508/1.882, allocations: 119.9 kB / 0.797 GB, free: 38.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00644/1.888, allocations: 1.062 MB / 0.7981 GB, free: 38.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00826/1.897, allocations: 1.369 MB / 0.7994 GB, free: 36.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003829/1.901, allocations: 2.5 MB / 0.8018 GB, free: 34.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005825/1.906, allocations: 329 kB / 0.8021 GB, free: 34.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001222/1.908, allocations: 346.7 kB / 0.8025 GB, free: 33.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * Number of states: 0 () * Number of discrete variables: 27 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[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 (743): * Single equations (assignments): 734 * 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): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005836/1.914, allocations: 2.374 MB / 0.8048 GB, free: 31.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006815/1.914, allocations: 300.1 kB / 0.8051 GB, free: 31.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01548/1.93, allocations: 5.078 MB / 0.81 GB, free: 27.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001122/1.93, allocations: 54.81 kB / 0.8101 GB, free: 27.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/1.93, allocations: 0 / 0.8101 GB, free: 27.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.076e-05/1.93, allocations: 19.58 kB / 0.8101 GB, free: 27.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03277/1.963, allocations: 11.8 MB / 0.8216 GB, free: 17.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.599e-05/1.963, allocations: 12.89 kB / 0.8217 GB, free: 17.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003807/1.967, allocations: 428 kB / 0.8221 GB, free: 17.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006282/1.973, allocations: 0.9106 MB / 0.8229 GB, free: 16.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007373/1.974, allocations: 55.66 kB / 0.823 GB, free: 16.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003636/1.978, allocations: 2.311 MB / 0.8253 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/1.978, allocations: 11.94 kB / 0.8253 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02004/1.998, allocations: 8.201 MB / 0.8333 GB, free: 6.449 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009813/1.999, allocations: 345 kB / 0.8336 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001104/2, allocations: 55.27 kB / 0.8337 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002936/2.003, allocations: 139.8 kB / 0.8338 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007154/2.004, allocations: 161.6 kB / 0.8339 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002568/2.004, allocations: 79.97 kB / 0.834 GB, free: 5.664 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004209/2.008, allocations: 1.82 MB / 0.8358 GB, free: 3.844 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.001e-06/2.008, allocations: 4 kB / 0.8358 GB, free: 3.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007436/2.016, allocations: 1.046 MB / 0.8368 GB, free: 2.797 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_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 (216): * Single equations (assignments): 207 * 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): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02527/2.041, allocations: 10.77 MB / 0.8473 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01836/2.059, allocations: 6.226 MB / 0.8534 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.301e-05/2.059, allocations: 0 / 0.8534 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00863/2.068, allocations: 2.602 MB / 0.856 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004044/2.072, allocations: 464.7 kB / 0.8564 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4526/2.525, allocations: 113.7 MB / 0.9674 GB, free: 37.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008864/2.534, allocations: 3.766 MB / 0.9711 GB, free: 37.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005493/2.539, allocations: 2.132 MB / 0.9732 GB, free: 37.05 MB / 0.5261 GB Notification: Performance of SimCode: time 1.242e-06/2.539, allocations: 0.75 kB / 0.9732 GB, free: 37.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.837/7.376, allocations: 147 MB / 1.117 GB, free: 123.3 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat