Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",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.001488/0.001488, 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.459/1.459, allocations: 221.3 MB / 236 MB, free: 2.984 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.0008296/0.0008296, allocations: 95.66 kB / 287 MB, free: 260 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.2161/0.2161, allocations: 44.16 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.368e-05/3.371e-05, allocations: 4.219 kB / 451.9 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1384, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4531/0.5915, allocations: 105.5 MB / 0.6048 GB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.5918, allocations: 75.95 kB / 0.6049 GB, free: 15.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3678/0.9596, allocations: 94.43 MB / 0.6971 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.076e-06/0.9596, allocations: 0 / 0.6971 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002229/0.9599, allocations: 87.94 kB / 0.6972 GB, free: 0.5039 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.02318/0.9831, allocations: 4.411 MB / 0.7015 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.782e-05/0.9831, allocations: 12.03 kB / 0.7015 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004845/0.988, allocations: 0.8814 MB / 0.7024 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02968/1.018, allocations: 3.57 MB / 0.7059 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02116/1.039, allocations: 4.631 MB / 0.7104 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005998/1.04, allocations: 349.1 kB / 0.7107 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003279/1.043, allocations: 463.8 kB / 0.7112 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4031/1.446, allocations: 11.08 MB / 0.722 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002323/1.446, allocations: 27.91 kB / 0.722 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001564/1.448, allocations: 207.8 kB / 0.7222 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002253/1.45, allocations: 1.202 MB / 0.7234 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02947/1.48, allocations: 10.53 MB / 0.7337 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05733/1.537, allocations: 37.61 MB / 0.7704 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007483/1.545, allocations: 4.244 MB / 0.7746 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002879/1.547, allocations: 2.1 MB / 0.7766 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/1.549, allocations: 1.319 MB / 0.7779 GB, free: 99.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/1.549, allocations: 54.62 kB / 0.7779 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 6.513e-06/1.549, allocations: 0 / 0.7779 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=256): time 0.02632/1.575, allocations: 10.56 MB / 0.7883 GB, free: 96.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/1.575, allocations: 73.78 kB / 0.7883 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003845/1.579, allocations: 2.572 MB / 0.7908 GB, free: 95.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004581/1.579, allocations: 57.45 kB / 0.7909 GB, free: 95.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001568/1.581, allocations: 3.036 MB / 0.7939 GB, free: 93.35 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001064/1.582, allocations: 0.9476 MB / 0.7948 GB, free: 92.65 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/1.582, allocations: 109.8 kB / 0.7949 GB, free: 92.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002783/1.583, allocations: 0.5605 MB / 0.7954 GB, free: 92.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002947/1.586, allocations: 2.269 MB / 0.7977 GB, free: 91.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004389/1.59, allocations: 5.466 MB / 0.803 GB, free: 86.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004536/1.594, allocations: 3.566 MB / 0.8065 GB, free: 85.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.357e-05/1.595, allocations: 36.38 kB / 0.8065 GB, free: 85.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01604/1.611, allocations: 8.458 MB / 0.8148 GB, free: 78.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.459e-05/1.611, allocations: 52.94 kB / 0.8148 GB, free: 78.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001138/1.611, allocations: 115.9 kB / 0.8149 GB, free: 78.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003411/1.614, allocations: 1.054 MB / 0.816 GB, free: 77.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004294/1.619, allocations: 1.329 MB / 0.8173 GB, free: 76.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/1.621, allocations: 2.471 MB / 0.8197 GB, free: 74.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003904/1.625, allocations: 319.9 kB / 0.82 GB, free: 73.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007824/1.625, allocations: 335.3 kB / 0.8203 GB, free: 73.48 MB / 0.5105 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 () * 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.001178/1.627, allocations: 0.53 MB / 0.8208 GB, free: 72.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005907/1.627, allocations: 288.2 kB / 0.8211 GB, free: 72.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00874/1.636, allocations: 4.924 MB / 0.8259 GB, free: 68.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.065e-05/1.636, allocations: 49.2 kB / 0.8259 GB, free: 68.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/1.636, allocations: 8 kB / 0.826 GB, free: 68.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/1.636, allocations: 11.53 kB / 0.826 GB, free: 68.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0226/1.659, allocations: 11.53 MB / 0.8372 GB, free: 58.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.841e-05/1.659, allocations: 8 kB / 0.8372 GB, free: 58.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/1.661, allocations: 404 kB / 0.8376 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003303/1.664, allocations: 0.9032 MB / 0.8385 GB, free: 58.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004974/1.665, allocations: 56.44 kB / 0.8386 GB, free: 58.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/1.667, allocations: 2.267 MB / 0.8408 GB, free: 55.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/1.667, allocations: 11.94 kB / 0.8408 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/1.678, allocations: 7.984 MB / 0.8486 GB, free: 48.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000956/1.679, allocations: 333.1 kB / 0.8489 GB, free: 48.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007829/1.68, allocations: 52.66 kB / 0.8489 GB, free: 48.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/1.681, allocations: 134.8 kB / 0.8491 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/1.682, allocations: 155.2 kB / 0.8492 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001803/1.682, allocations: 76 kB / 0.8493 GB, free: 47.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003001/1.685, allocations: 1.734 MB / 0.851 GB, free: 46.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.81e-07/1.685, allocations: 0 / 0.851 GB, free: 46.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004691/1.69, allocations: 1.024 MB / 0.852 GB, free: 45.24 MB / 0.5105 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 (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.0107/1.7, allocations: 10.56 MB / 0.8623 GB, free: 35.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008906/1.709, allocations: 6.019 MB / 0.8682 GB, free: 29.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/1.709, allocations: 0 / 0.8682 GB, free: 29.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004162/1.713, allocations: 2.528 MB / 0.8706 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/1.717, allocations: 462.6 kB / 0.8711 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02385/1.74, allocations: 10.92 MB / 0.8817 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00477/1.745, allocations: 3.677 MB / 0.8853 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004819/1.75, allocations: 2.104 MB / 0.8874 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002757/1.753, allocations: 2.011 MB / 0.8894 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of SimCode: time 1.232e-06/1.753, allocations: 4 kB / 0.8894 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4387/2.192, allocations: 73.65 MB / 0.9613 GB, free: 124 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/2.192, allocations: 181.6 kB / 0.9615 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.36/6.552, allocations: 0 / 0.9615 GB, free: 123.8 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat