Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",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.001498/0.001503, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001111, allocations: 98.06 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3084/0.3084, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.541e-05/2.573e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4437, allocations: 58.85 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.199/0.6428, allocations: 103.6 MB / 0.5672 GB, free: 11.51 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/0.6431, allocations: 75.95 kB / 0.5673 GB, free: 11.43 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7248/1.368, allocations: 90 MB / 0.6552 GB, free: 109 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.094e-06/1.368, allocations: 0 / 0.6552 GB, free: 109 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002495/1.368, allocations: 82.94 kB / 0.6553 GB, free: 109 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.02505/1.393, allocations: 4.269 MB / 0.6594 GB, free: 107.2 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/1.393, allocations: 9.438 kB / 0.6594 GB, free: 107.2 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03031/1.424, allocations: 3.567 MB / 0.6629 GB, free: 106.9 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02933/1.453, allocations: 4.684 MB / 0.6675 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004293/1.454, allocations: 138.9 kB / 0.6676 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003451/1.457, allocations: 259.5 kB / 0.6679 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02709/1.484, allocations: 7.787 MB / 0.6755 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04249/1.527, allocations: 10.2 MB / 0.6854 GB, free: 103.2 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004274/1.527, allocations: 26.78 kB / 0.6855 GB, free: 103.2 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003499/1.531, allocations: 18.56 kB / 0.6855 GB, free: 103.2 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004033/1.535, allocations: 1.23 MB / 0.6867 GB, free: 103 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1111/1.646, allocations: 34.8 MB / 0.7207 GB, free: 82.32 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/1.657, allocations: 4.017 MB / 0.7246 GB, free: 78.39 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006363/1.663, allocations: 2.076 MB / 0.7266 GB, free: 76.5 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002398/1.666, allocations: 1.319 MB / 0.7279 GB, free: 75.07 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.753e-05/1.666, allocations: 56.56 kB / 0.728 GB, free: 75 MB / 475.1 MB Notification: Performance of pre-optimization done (n=246): time 9.278e-06/1.666, allocations: 0 / 0.728 GB, free: 75 MB / 475.1 MB Notification: Performance of matching and sorting (n=266): time 0.04662/1.712, allocations: 12 MB / 0.7397 GB, free: 64.64 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/1.712, allocations: 77.41 kB / 0.7397 GB, free: 64.55 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004267/1.717, allocations: 2.426 MB / 0.7421 GB, free: 62.42 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005507/1.717, allocations: 29.64 kB / 0.7421 GB, free: 62.38 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002117/1.719, allocations: 3.035 MB / 0.7451 GB, free: 59.62 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.721, allocations: 0.9605 MB / 0.746 GB, free: 58.75 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005774/1.721, allocations: 0 / 0.746 GB, free: 58.75 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004297/1.722, allocations: 0.5822 MB / 0.7466 GB, free: 58.24 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004995/1.727, allocations: 2.258 MB / 0.7488 GB, free: 56.14 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007156/1.734, allocations: 5.647 MB / 0.7543 GB, free: 48.8 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00783/1.742, allocations: 3.611 MB / 0.7579 GB, free: 45.19 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/1.742, allocations: 36 kB / 0.7579 GB, free: 45.15 MB / 475.1 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.02384/1.766, allocations: 8.008 MB / 0.7657 GB, free: 37.13 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.883e-05/1.766, allocations: 56.19 kB / 0.7658 GB, free: 37.08 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001375/1.766, allocations: 124 kB / 0.7659 GB, free: 36.96 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006715/1.773, allocations: 1.063 MB / 0.7669 GB, free: 35.89 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008684/1.782, allocations: 1.426 MB / 0.7683 GB, free: 34.46 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003662/1.785, allocations: 2.409 MB / 0.7707 GB, free: 31.94 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0061/1.792, allocations: 207.7 kB / 0.7709 GB, free: 31.73 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001445/1.793, allocations: 364 kB / 0.7712 GB, free: 31.38 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 548 * 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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (768): * Single equations (assignments): 759 * 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.001286/1.794, allocations: 412.9 kB / 0.7716 GB, free: 30.96 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01301/1.807, allocations: 4.343 MB / 0.7759 GB, free: 26.57 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008777/1.808, allocations: 292.2 kB / 0.7761 GB, free: 26.28 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/1.823, allocations: 4.91 MB / 0.7809 GB, free: 21.3 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.762e-05/1.823, allocations: 47.98 kB / 0.781 GB, free: 21.25 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/1.823, allocations: 4 kB / 0.781 GB, free: 21.25 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.283e-05/1.823, allocations: 11.81 kB / 0.781 GB, free: 21.24 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0307/1.854, allocations: 10.44 MB / 0.7912 GB, free: 10.69 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.096e-05/1.854, allocations: 8 kB / 0.7912 GB, free: 10.68 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003794/1.858, allocations: 435.3 kB / 0.7916 GB, free: 10.25 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006138/1.864, allocations: 0.9077 MB / 0.7925 GB, free: 9.336 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006837/1.865, allocations: 31.92 kB / 0.7925 GB, free: 9.305 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003348/1.868, allocations: 2.189 MB / 0.7947 GB, free: 7 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.441e-05/1.868, allocations: 11.94 kB / 0.7947 GB, free: 6.988 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01933/1.887, allocations: 8.047 MB / 0.8025 GB, free: 14.45 MB / 491.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.888, allocations: 325.3 kB / 0.8028 GB, free: 14.11 MB / 491.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009807/1.889, allocations: 23.94 kB / 0.8029 GB, free: 14.09 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002783/1.892, allocations: 103.8 kB / 0.803 GB, free: 13.99 MB / 491.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006559/1.893, allocations: 157.6 kB / 0.8031 GB, free: 13.83 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002992/1.893, allocations: 87.97 kB / 0.8032 GB, free: 13.75 MB / 491.1 MB Notification: Performance of sorting global known variables: time 0.004161/1.897, allocations: 1.586 MB / 0.8047 GB, free: 12.16 MB / 491.1 MB Notification: Performance of sort global known variables: time 6.61e-07/1.897, allocations: 0 / 0.8047 GB, free: 12.16 MB / 491.1 MB Notification: Performance of remove unused functions: time 0.007313/1.905, allocations: 0.8749 MB / 0.8056 GB, free: 11.28 MB / 491.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 208 * 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.02331/1.928, allocations: 10.73 MB / 0.8161 GB, free: 248 kB / 491.1 MB Notification: Performance of simCode: created initialization part: time 0.01701/1.945, allocations: 5.963 MB / 0.8219 GB, free: 10.25 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/1.945, allocations: 0 / 0.8219 GB, free: 10.25 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.008205/1.953, allocations: 2.549 MB / 0.8244 GB, free: 7.652 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/1.957, allocations: 290.5 kB / 0.8247 GB, free: 7.379 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.386/2.343, allocations: 11.14 MB / 0.8356 GB, free: 125.1 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009902/2.353, allocations: 3.6 MB / 0.8391 GB, free: 124.3 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00562/2.359, allocations: 2.029 MB / 0.841 GB, free: 124.3 MB / 0.4952 GB Notification: Performance of SimCode: time 1.313e-06/2.359, allocations: 0 / 0.841 GB, free: 124.3 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.256/6.615, allocations: 139.5 MB / 0.9772 GB, free: 34.69 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat