Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_3_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.00132/0.00132, allocations: 182.9 kB / 13.19 MB, free: 2.129 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.642/1.642, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001017/0.001017, allocations: 86.59 kB / 267 MB, free: 9.281 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.4271/0.4271, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.293e-05/4.296e-05, allocations: 8 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1502, allocations: 58.83 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4971/0.6473, allocations: 104.5 MB / 0.5749 GB, free: 1.316 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.6476, allocations: 73.53 kB / 0.575 GB, free: 1.281 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2384/0.8861, allocations: 95.66 MB / 0.6684 GB, free: 10.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.8861, allocations: 0 / 0.6684 GB, free: 10.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001678/0.8863, allocations: 84 kB / 0.6685 GB, free: 10.21 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.01763/0.904, allocations: 4.51 MB / 0.6729 GB, free: 5.645 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/0.904, allocations: 12.03 kB / 0.6729 GB, free: 5.633 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004019/0.9081, allocations: 0.8983 MB / 0.6738 GB, free: 4.727 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/0.9251, allocations: 3.597 MB / 0.6773 GB, free: 1.117 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01499/0.9401, allocations: 4.831 MB / 0.682 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005289/0.9407, allocations: 357.3 kB / 0.6824 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003802/0.9445, allocations: 473.1 kB / 0.6828 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3343/1.279, allocations: 11.39 MB / 0.6939 GB, free: 96.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002787/1.279, allocations: 27.55 kB / 0.694 GB, free: 96.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001834/1.281, allocations: 210.3 kB / 0.6942 GB, free: 96.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002568/1.284, allocations: 1.243 MB / 0.6954 GB, free: 96.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02481/1.308, allocations: 10.81 MB / 0.7059 GB, free: 96.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05931/1.368, allocations: 38.56 MB / 0.7436 GB, free: 81.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00748/1.375, allocations: 4.359 MB / 0.7478 GB, free: 79.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002999/1.378, allocations: 2.135 MB / 0.7499 GB, free: 78.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/1.38, allocations: 1.321 MB / 0.7512 GB, free: 77.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/1.38, allocations: 59.27 kB / 0.7513 GB, free: 77.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 6.352e-06/1.38, allocations: 0 / 0.7513 GB, free: 77.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.03308/1.413, allocations: 10.77 MB / 0.7618 GB, free: 74.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/1.413, allocations: 79.45 kB / 0.7619 GB, free: 74.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004485/1.417, allocations: 2.628 MB / 0.7644 GB, free: 73.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005653/1.418, allocations: 66.81 kB / 0.7645 GB, free: 73.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001986/1.42, allocations: 3.104 MB / 0.7675 GB, free: 71.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001338/1.421, allocations: 0.9775 MB / 0.7685 GB, free: 70.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003013/1.422, allocations: 125.6 kB / 0.7686 GB, free: 70.24 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003763/1.422, allocations: 0.56 MB / 0.7692 GB, free: 69.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003089/1.425, allocations: 2.329 MB / 0.7714 GB, free: 69.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004859/1.43, allocations: 5.608 MB / 0.7769 GB, free: 63.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004975/1.435, allocations: 3.659 MB / 0.7805 GB, free: 62.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.188e-05/1.435, allocations: 31.78 kB / 0.7805 GB, free: 62.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=796) (initialization): time 0.0138/1.449, allocations: 8.64 MB / 0.7889 GB, free: 59.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.228e-05/1.449, allocations: 56.77 kB / 0.789 GB, free: 59.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001137/1.449, allocations: 115.7 kB / 0.7891 GB, free: 59.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003544/1.453, allocations: 1.059 MB / 0.7901 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004841/1.458, allocations: 1.373 MB / 0.7915 GB, free: 59.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/1.46, allocations: 2.477 MB / 0.7939 GB, free: 58.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005058/1.465, allocations: 319.4 kB / 0.7942 GB, free: 57.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001519/1.467, allocations: 348.2 kB / 0.7945 GB, free: 57.91 MB / 0.4948 GB 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 () * 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.001973/1.469, allocations: 0.5369 MB / 0.7951 GB, free: 57.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008993/1.47, allocations: 307 kB / 0.7954 GB, free: 57.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009748/1.479, allocations: 5.031 MB / 0.8003 GB, free: 55.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.61e-05/1.48, allocations: 51.84 kB / 0.8003 GB, free: 55.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.391e-05/1.48, allocations: 0 / 0.8003 GB, free: 55.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.91e-05/1.48, allocations: 9.844 kB / 0.8003 GB, free: 55.64 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02674/1.506, allocations: 11.77 MB / 0.8118 GB, free: 51.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.163e-05/1.506, allocations: 11.38 kB / 0.8118 GB, free: 51.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/1.509, allocations: 433.5 kB / 0.8123 GB, free: 51.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003337/1.512, allocations: 0.9053 MB / 0.8131 GB, free: 51.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004516/1.512, allocations: 61.69 kB / 0.8132 GB, free: 51.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/1.515, allocations: 2.272 MB / 0.8154 GB, free: 49.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.515, allocations: 15.12 kB / 0.8154 GB, free: 49.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/1.527, allocations: 8.136 MB / 0.8234 GB, free: 43.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.528, allocations: 343.6 kB / 0.8237 GB, free: 42.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001/1.529, allocations: 47.8 kB / 0.8237 GB, free: 42.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/1.531, allocations: 150.5 kB / 0.8239 GB, free: 42.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005812/1.532, allocations: 156.5 kB / 0.824 GB, free: 42.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003603/1.532, allocations: 74.89 kB / 0.8241 GB, free: 42.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003678/1.536, allocations: 1.789 MB / 0.8259 GB, free: 41.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.81e-07/1.536, allocations: 0 / 0.8259 GB, free: 41.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006617/1.543, allocations: 1.057 MB / 0.8269 GB, free: 40 MB / 0.4948 GB 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 () * 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.01244/1.555, allocations: 10.7 MB / 0.8373 GB, free: 30.01 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009948/1.565, allocations: 6.155 MB / 0.8433 GB, free: 24.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/1.565, allocations: 4 kB / 0.8434 GB, free: 24.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004261/1.569, allocations: 2.576 MB / 0.8459 GB, free: 22.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/1.573, allocations: 465.1 kB / 0.8463 GB, free: 21.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02913/1.602, allocations: 11.23 MB / 0.8573 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006348/1.608, allocations: 3.762 MB / 0.8609 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00603/1.614, allocations: 2.147 MB / 0.863 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003951/1.618, allocations: 2.086 MB / 0.8651 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of SimCode: time 1.813e-06/1.618, allocations: 0 / 0.8651 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.428/2.046, allocations: 75.49 MB / 0.9388 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/2.046, allocations: 188.4 kB / 0.939 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.439/6.485, allocations: 3.938 kB / 0.939 GB, free: 102.9 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat