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.00124/0.00124, allocations: 184 kB / 15.76 MB, free: 6.367 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.708/1.708, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009515/0.0009514, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2391/0.2391, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 11.98 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1324, allocations: 58.85 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.429/0.5615, allocations: 104.6 MB / 0.581 GB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.5618, allocations: 85.19 kB / 0.5811 GB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2307/0.7924, allocations: 95.57 MB / 0.6744 GB, free: 3.523 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.7925, allocations: 0 / 0.6744 GB, free: 3.523 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001866/0.7927, allocations: 80 kB / 0.6745 GB, free: 3.445 MB / 474.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.01687/0.8096, allocations: 4.669 MB / 0.679 GB, free: 14.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.8096, allocations: 8.031 kB / 0.679 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003941/0.8136, allocations: 0.91 MB / 0.6799 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/0.8291, allocations: 3.597 MB / 0.6834 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01512/0.8443, allocations: 4.846 MB / 0.6882 GB, free: 5.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004844/0.8448, allocations: 357.3 kB / 0.6885 GB, free: 4.918 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003168/0.848, allocations: 475.8 kB / 0.689 GB, free: 4.453 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02811/0.8761, allocations: 11.48 MB / 0.7002 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001917/0.8764, allocations: 35.66 kB / 0.7002 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001376/0.8777, allocations: 207.9 kB / 0.7004 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001962/0.8797, allocations: 1.255 MB / 0.7016 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2957/1.175, allocations: 10.97 MB / 0.7123 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06128/1.237, allocations: 38.55 MB / 0.75 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007012/1.244, allocations: 4.392 MB / 0.7543 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009582/1.245, allocations: 1.323 MB / 0.7556 GB, free: 99.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/1.245, allocations: 51.88 kB / 0.7556 GB, free: 99.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 6.953e-06/1.245, allocations: 3.812 kB / 0.7556 GB, free: 99.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.03591/1.281, allocations: 14.29 MB / 0.7696 GB, free: 95.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/1.281, allocations: 74.34 kB / 0.7696 GB, free: 95.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00578/1.287, allocations: 2.667 MB / 0.7722 GB, free: 94.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000495/1.287, allocations: 56.23 kB / 0.7723 GB, free: 94.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002094/1.289, allocations: 3.114 MB / 0.7753 GB, free: 92.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001259/1.291, allocations: 0.9788 MB / 0.7763 GB, free: 91.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006804/1.291, allocations: 117.3 kB / 0.7764 GB, free: 91.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000568/1.292, allocations: 0.5702 MB / 0.777 GB, free: 90.99 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003657/1.296, allocations: 2.369 MB / 0.7793 GB, free: 90.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005066/1.301, allocations: 5.654 MB / 0.7848 GB, free: 85.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005622/1.306, allocations: 3.669 MB / 0.7884 GB, free: 83.85 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001455/1.307, allocations: 32.62 kB / 0.7884 GB, free: 83.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=796) (initialization): time 0.0183/1.325, allocations: 8.737 MB / 0.7969 GB, free: 80.81 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002328/1.325, allocations: 59.19 kB / 0.797 GB, free: 80.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002811/1.325, allocations: 118.2 kB / 0.7971 GB, free: 80.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003595/1.329, allocations: 1.049 MB / 0.7981 GB, free: 80.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005136/1.334, allocations: 1.381 MB / 0.7995 GB, free: 80.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/1.337, allocations: 2.497 MB / 0.8019 GB, free: 78.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004888/1.342, allocations: 327.8 kB / 0.8022 GB, free: 78.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001416/1.343, allocations: 345.4 kB / 0.8026 GB, free: 78.84 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 () * Number of clocked 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.005836/1.349, allocations: 2.377 MB / 0.8049 GB, free: 77.76 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009873/1.35, allocations: 300.3 kB / 0.8052 GB, free: 77.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009808/1.36, allocations: 5.087 MB / 0.8101 GB, free: 73.97 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.015e-05/1.36, allocations: 44 kB / 0.8102 GB, free: 73.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/1.36, allocations: 4 kB / 0.8102 GB, free: 73.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.82e-05/1.36, allocations: 16.23 kB / 0.8102 GB, free: 73.92 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02467/1.385, allocations: 11.82 MB / 0.8217 GB, free: 64.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.499e-05/1.385, allocations: 8 kB / 0.8218 GB, free: 64.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/1.387, allocations: 429.8 kB / 0.8222 GB, free: 63.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003007/1.39, allocations: 0.9073 MB / 0.8231 GB, free: 63.17 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003969/1.39, allocations: 58.61 kB / 0.8231 GB, free: 63.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/1.392, allocations: 2.312 MB / 0.8254 GB, free: 60.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.126e-06/1.392, allocations: 11.94 kB / 0.8254 GB, free: 60.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/1.403, allocations: 8.199 MB / 0.8334 GB, free: 53.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.404, allocations: 344.5 kB / 0.8337 GB, free: 53.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008362/1.405, allocations: 58.72 kB / 0.8338 GB, free: 52.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/1.407, allocations: 138.5 kB / 0.8339 GB, free: 52.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/1.407, allocations: 164.5 kB / 0.8341 GB, free: 52.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/1.408, allocations: 75.47 kB / 0.8341 GB, free: 52.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004209/1.412, allocations: 1.813 MB / 0.8359 GB, free: 51.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.71e-07/1.412, allocations: 0 / 0.8359 GB, free: 51.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007725/1.419, allocations: 1.049 MB / 0.8369 GB, free: 50.18 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 () * Number of clocked 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.01262/1.432, allocations: 10.78 MB / 0.8474 GB, free: 40.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009841/1.442, allocations: 6.223 MB / 0.8535 GB, free: 34.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/1.442, allocations: 0 / 0.8535 GB, free: 34.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004086/1.446, allocations: 2.604 MB / 0.8561 GB, free: 31.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/1.449, allocations: 458.3 kB / 0.8565 GB, free: 31.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3231/1.772, allocations: 113.1 MB / 0.967 GB, free: 72.58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006019/1.778, allocations: 3.764 MB / 0.9706 GB, free: 71.78 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004911/1.783, allocations: 2.15 MB / 0.9727 GB, free: 71.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00268/1.786, allocations: 2.087 MB / 0.9748 GB, free: 71.74 MB / 0.5105 GB Notification: Performance of SimCode: time 1.763e-06/1.786, allocations: 0 / 0.9748 GB, free: 71.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/1.895, allocations: 74.61 MB / 1.048 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/1.895, allocations: 206.1 kB / 1.048 GB, free: 38.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.185/6.08, allocations: 3.938 kB / 1.048 GB, free: 38.41 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