Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 201.8 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.2 MB / 245 MB, free: 7.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009635/0.0009636, allocations: 92.06 kB / 297.2 MB, free: 6.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4004/0.4004, allocations: 45.22 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002936, allocations: 8 kB / 468.5 MB, free: 7.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.4539, allocations: 63.25 MB / 0.5193 GB, free: 43.9 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.6074, allocations: 106.5 MB / 0.6233 GB, free: 15.07 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.6078, allocations: 87.92 kB / 0.6234 GB, free: 14.99 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7102/1.318, allocations: 95.18 MB / 0.7163 GB, free: 65.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.044e-06/1.318, allocations: 0 / 0.7163 GB, free: 65.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002083/1.318, allocations: 93.55 kB / 0.7164 GB, free: 65.48 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.02115/1.339, allocations: 4.668 MB / 0.7209 GB, free: 63.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/1.339, allocations: 17.66 kB / 0.721 GB, free: 63.57 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005139/1.345, allocations: 0.8827 MB / 0.7218 GB, free: 63.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/1.361, allocations: 3.563 MB / 0.7253 GB, free: 63.19 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/1.375, allocations: 4.137 MB / 0.7293 GB, free: 62.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004629/1.376, allocations: 356.8 kB / 0.7297 GB, free: 62.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003062/1.379, allocations: 456.9 kB / 0.7301 GB, free: 62.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02781/1.407, allocations: 11.18 MB / 0.741 GB, free: 61.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002564/1.407, allocations: 33.69 kB / 0.7411 GB, free: 61.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001446/1.409, allocations: 205.8 kB / 0.7413 GB, free: 61.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001845/1.41, allocations: 1.212 MB / 0.7425 GB, free: 61.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02165/1.432, allocations: 10.68 MB / 0.7529 GB, free: 61.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0625/1.495, allocations: 37.62 MB / 0.7896 GB, free: 45.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007135/1.502, allocations: 4.279 MB / 0.7938 GB, free: 44.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/1.503, allocations: 1.315 MB / 0.7951 GB, free: 43.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.321e-05/1.503, allocations: 55.97 kB / 0.7951 GB, free: 43.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=235): time 7.554e-06/1.503, allocations: 0 / 0.7951 GB, free: 43.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=256): time 0.03609/1.539, allocations: 13.94 MB / 0.8087 GB, free: 38.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/1.539, allocations: 75.16 kB / 0.8088 GB, free: 38.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004004/1.543, allocations: 2.593 MB / 0.8114 GB, free: 37.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004564/1.544, allocations: 58.02 kB / 0.8114 GB, free: 37.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001932/1.546, allocations: 3.032 MB / 0.8144 GB, free: 35.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/1.547, allocations: 0.95 MB / 0.8153 GB, free: 34.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/1.547, allocations: 112.9 kB / 0.8154 GB, free: 34.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002989/1.548, allocations: 0.5554 MB / 0.8159 GB, free: 33.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002965/1.551, allocations: 2.312 MB / 0.8182 GB, free: 33.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004404/1.555, allocations: 5.511 MB / 0.8236 GB, free: 26.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004547/1.56, allocations: 3.575 MB / 0.8271 GB, free: 23.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.106e-05/1.56, allocations: 32 kB / 0.8271 GB, free: 23.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01516/1.575, allocations: 8.538 MB / 0.8354 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.448e-05/1.575, allocations: 52 kB / 0.8355 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/1.575, allocations: 112 kB / 0.8356 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003314/1.578, allocations: 1.065 MB / 0.8366 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004794/1.583, allocations: 1.326 MB / 0.8379 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/1.586, allocations: 2.494 MB / 0.8404 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00562/1.591, allocations: 319.2 kB / 0.8407 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001496/1.593, allocations: 344 kB / 0.841 GB, free: 8.879 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 29 (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.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,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 (721): * Single equations (assignments): 712 * 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.006234/1.599, allocations: 2.306 MB / 0.8433 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009264/1.6, allocations: 296.1 kB / 0.8435 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008776/1.609, allocations: 4.965 MB / 0.8484 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.855e-05/1.609, allocations: 47.98 kB / 0.8484 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/1.609, allocations: 4 kB / 0.8484 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.892e-05/1.609, allocations: 7.969 kB / 0.8484 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02502/1.634, allocations: 11.55 MB / 0.8597 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/1.634, allocations: 8 kB / 0.8597 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/1.636, allocations: 411.4 kB / 0.8601 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003406/1.639, allocations: 0.9077 MB / 0.861 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003621/1.64, allocations: 55.98 kB / 0.8611 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002672/1.643, allocations: 2.299 MB / 0.8633 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/1.643, allocations: 11.94 kB / 0.8633 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/1.655, allocations: 8.032 MB / 0.8712 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.657, allocations: 349.1 kB / 0.8715 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004739/1.657, allocations: 47.95 kB / 0.8715 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/1.658, allocations: 135.8 kB / 0.8717 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003219/1.659, allocations: 153.6 kB / 0.8718 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/1.659, allocations: 79.81 kB / 0.8719 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003443/1.662, allocations: 1.759 MB / 0.8736 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/1.662, allocations: 0 / 0.8736 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006327/1.669, allocations: 1.023 MB / 0.8746 GB, free: 5.652 MB / 0.5261 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 () * Number of clocked 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.01395/1.683, allocations: 10.61 MB / 0.885 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01188/1.695, allocations: 6.088 MB / 0.8909 GB, free: 4.629 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.695, allocations: 0 / 0.8909 GB, free: 4.629 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004701/1.699, allocations: 2.546 MB / 0.8934 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/1.702, allocations: 466.2 kB / 0.8939 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3727/2.075, allocations: 110.1 MB / 1.001 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004717/2.08, allocations: 3.685 MB / 1.005 GB, free: 60.36 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004829/2.085, allocations: 2.095 MB / 1.007 GB, free: 60.33 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003079/2.088, allocations: 2.008 MB / 1.009 GB, free: 60.33 MB / 0.5573 GB Notification: Performance of SimCode: time 1.422e-06/2.088, allocations: 0 / 1.009 GB, free: 60.33 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1341/2.222, allocations: 72.78 MB / 1.08 GB, free: 44.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001398/2.222, allocations: 204.6 kB / 1.08 GB, free: 43.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.252/6.474, allocations: 0 / 1.08 GB, free: 43.98 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat