Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 221.3 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008318/0.0008317, allocations: 87.86 kB / 287 MB, free: 208 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2222/0.2222, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.498e-05, allocations: 4 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.157, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4845/0.6416, allocations: 105.3 MB / 0.6047 GB, free: 15.87 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/0.642, allocations: 79.95 kB / 0.6048 GB, free: 15.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.233/0.875, allocations: 90.38 MB / 0.693 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.707e-06/0.8751, allocations: 4 kB / 0.693 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001668/0.8753, allocations: 76 kB / 0.6931 GB, free: 4.68 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.01592/0.8912, allocations: 4.175 MB / 0.6972 GB, free: 448 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.8913, allocations: 8.031 kB / 0.6972 GB, free: 440 kB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003274/0.8946, allocations: 0.844 MB / 0.698 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/0.9106, allocations: 3.539 MB / 0.7015 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01525/0.9259, allocations: 4.491 MB / 0.7058 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004894/0.9265, allocations: 320.4 kB / 0.7061 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003308/0.9298, allocations: 427.9 kB / 0.7066 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3884/1.318, allocations: 10.66 MB / 0.717 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002528/1.318, allocations: 33.77 kB / 0.717 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001786/1.32, allocations: 192 kB / 0.7172 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002132/1.322, allocations: 1.189 MB / 0.7183 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02712/1.35, allocations: 10.24 MB / 0.7283 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05339/1.403, allocations: 36.48 MB / 0.764 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006824/1.41, allocations: 4.25 MB / 0.7681 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002535/1.412, allocations: 2.094 MB / 0.7702 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009028/1.413, allocations: 1.32 MB / 0.7715 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/1.413, allocations: 60.05 kB / 0.7715 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 6.011e-06/1.413, allocations: 0 / 0.7715 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=256): time 0.03086/1.444, allocations: 10.95 MB / 0.7822 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/1.444, allocations: 80.08 kB / 0.7823 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003519/1.448, allocations: 2.441 MB / 0.7847 GB, free: 99.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000398/1.448, allocations: 63.88 kB / 0.7847 GB, free: 99.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001362/1.45, allocations: 2.856 MB / 0.7875 GB, free: 97.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008544/1.451, allocations: 0.9371 MB / 0.7884 GB, free: 96.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/1.451, allocations: 117.8 kB / 0.7885 GB, free: 96.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002473/1.451, allocations: 0.5481 MB / 0.7891 GB, free: 96.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002641/1.454, allocations: 2.235 MB / 0.7913 GB, free: 95.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004068/1.458, allocations: 5.309 MB / 0.7964 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004545/1.462, allocations: 3.491 MB / 0.7999 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.14e-05/1.462, allocations: 32.91 kB / 0.7999 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.01446/1.477, allocations: 8.268 MB / 0.808 GB, free: 86.19 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/1.477, allocations: 56.89 kB / 0.808 GB, free: 86.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/1.477, allocations: 111.4 kB / 0.8081 GB, free: 86.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003486/1.481, allocations: 1.049 MB / 0.8091 GB, free: 85.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004122/1.485, allocations: 1.296 MB / 0.8104 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/1.487, allocations: 2.457 MB / 0.8128 GB, free: 81.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00387/1.491, allocations: 303.9 kB / 0.8131 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007135/1.492, allocations: 325.5 kB / 0.8134 GB, free: 81.33 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 490 * Number of states: 0 () * Number of discrete variables: 26 (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.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (700): * Single equations (assignments): 691 * 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.0008217/1.492, allocations: 0.5145 MB / 0.8139 GB, free: 80.81 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004522/1.493, allocations: 280.3 kB / 0.8142 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007913/1.501, allocations: 4.913 MB / 0.819 GB, free: 76.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.895e-05/1.501, allocations: 44.7 kB / 0.819 GB, free: 76.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.501, allocations: 3.094 kB / 0.819 GB, free: 76.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.193e-05/1.501, allocations: 10.69 kB / 0.819 GB, free: 76.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/1.519, allocations: 11.33 MB / 0.8301 GB, free: 67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/1.519, allocations: 8 kB / 0.8301 GB, free: 67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/1.521, allocations: 416.7 kB / 0.8305 GB, free: 66.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003304/1.524, allocations: 0.9019 MB / 0.8314 GB, free: 66.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004067/1.525, allocations: 57.38 kB / 0.8314 GB, free: 66.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/1.527, allocations: 2.272 MB / 0.8337 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.527, allocations: 11.94 kB / 0.8337 GB, free: 63.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/1.538, allocations: 7.935 MB / 0.8414 GB, free: 56.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/1.539, allocations: 323.7 kB / 0.8417 GB, free: 56.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006062/1.54, allocations: 49.02 kB / 0.8418 GB, free: 56.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/1.541, allocations: 136.9 kB / 0.8419 GB, free: 56.15 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003142/1.541, allocations: 154.6 kB / 0.8421 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/1.541, allocations: 71.28 kB / 0.8421 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002428/1.544, allocations: 1.653 MB / 0.8437 GB, free: 54.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/1.544, allocations: 4 kB / 0.8437 GB, free: 54.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004338/1.548, allocations: 0.9941 MB / 0.8447 GB, free: 53.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (206): * Single equations (assignments): 197 * 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.01023/1.558, allocations: 10.54 MB / 0.855 GB, free: 43.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008844/1.567, allocations: 5.937 MB / 0.8608 GB, free: 38.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.567, allocations: 0 / 0.8608 GB, free: 38.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003787/1.571, allocations: 2.54 MB / 0.8633 GB, free: 35.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/1.573, allocations: 400.6 kB / 0.8637 GB, free: 35.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02088/1.594, allocations: 10.54 MB / 0.874 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002929/1.597, allocations: 3.51 MB / 0.8774 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004181/1.601, allocations: 2.055 MB / 0.8794 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002296/1.604, allocations: 1.878 MB / 0.8812 GB, free: 17.17 MB / 0.5105 GB Notification: Performance of SimCode: time 1.343e-06/1.604, allocations: 4 kB / 0.8812 GB, free: 17.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4492/2.053, allocations: 70.02 MB / 0.9496 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/2.053, allocations: 181.9 kB / 0.9498 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.022/6.075, allocations: 0 / 0.9498 GB, free: 126.2 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat