Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",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.002068/0.002068, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001603/0.001602, allocations: 99.11 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2984/0.2984, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.288e-05/2.293e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4404, allocations: 58.85 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2052/0.6457, allocations: 108.4 MB / 0.5718 GB, free: 6.82 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.6461, allocations: 79.45 kB / 0.5719 GB, free: 6.746 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8935/1.54, allocations: 135.9 MB / 0.7046 GB, free: 97.93 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.936e-06/1.54, allocations: 0 / 0.7046 GB, free: 97.93 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004566/1.54, allocations: 138.2 kB / 0.7047 GB, free: 97.93 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02919/1.569, allocations: 6.802 MB / 0.7114 GB, free: 93.45 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/1.569, allocations: 8.688 kB / 0.7114 GB, free: 93.45 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05346/1.623, allocations: 7.182 MB / 0.7184 GB, free: 89.21 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02922/1.652, allocations: 7.549 MB / 0.7258 GB, free: 81.65 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005081/1.653, allocations: 224 kB / 0.726 GB, free: 81.43 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004153/1.657, allocations: 407.9 kB / 0.7264 GB, free: 81.04 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02788/1.685, allocations: 9.821 MB / 0.7359 GB, free: 71.21 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0625/1.747, allocations: 14.84 MB / 0.7504 GB, free: 55.01 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005262/1.748, allocations: 87.19 kB / 0.7505 GB, free: 54.92 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003578/1.752, allocations: 40 kB / 0.7506 GB, free: 54.88 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003681/1.755, allocations: 1.628 MB / 0.7521 GB, free: 53.26 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1165/1.872, allocations: 69.57 MB / 0.8201 GB, free: 14.1 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/1.884, allocations: 5.581 MB / 0.8255 GB, free: 8.371 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008365/1.892, allocations: 3.752 MB / 0.8292 GB, free: 4.609 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003881/1.893, allocations: 60.03 kB / 0.8293 GB, free: 4.566 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.016e-05/1.893, allocations: 65.12 kB / 0.8293 GB, free: 4.492 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=296): time 7.354e-06/1.893, allocations: 8 kB / 0.8293 GB, free: 4.484 MB / 0.4952 GB Notification: Performance of matching and sorting (n=339): time 0.4756/2.369, allocations: 28.75 MB / 0.8574 GB, free: 115.9 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/2.369, allocations: 239.2 kB / 0.8576 GB, free: 115.6 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01267/2.381, allocations: 4.555 MB / 0.8621 GB, free: 115.2 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.001116/2.383, allocations: 31.81 kB / 0.8621 GB, free: 115.2 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.004656/2.387, allocations: 4.812 MB / 0.8668 GB, free: 112.3 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.002525/2.39, allocations: 1.235 MB / 0.868 GB, free: 111.6 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001791/2.392, allocations: 0 / 0.868 GB, free: 111.6 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.00107/2.393, allocations: 0.7032 MB / 0.8687 GB, free: 111.2 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009523/2.402, allocations: 3.57 MB / 0.8722 GB, free: 111.2 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01351/2.416, allocations: 8.827 MB / 0.8808 GB, free: 103.4 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01276/2.429, allocations: 5.524 MB / 0.8862 GB, free: 101.7 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002391/2.429, allocations: 57.06 kB / 0.8863 GB, free: 101.7 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.03669/2.466, allocations: 12.6 MB / 0.8986 GB, free: 97.94 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/2.466, allocations: 85.25 kB / 0.8987 GB, free: 97.94 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002829/2.466, allocations: 185.7 kB / 0.8988 GB, free: 97.94 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007344/2.474, allocations: 1.717 MB / 0.9005 GB, free: 97.64 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01513/2.489, allocations: 2.217 MB / 0.9027 GB, free: 97.38 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/2.511, allocations: 10.77 MB / 0.9132 GB, free: 91.66 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01447/2.525, allocations: 371.7 kB / 0.9135 GB, free: 91.63 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002939/2.528, allocations: 0.5429 MB / 0.9141 GB, free: 91.24 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 851 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1141): * Single equations (assignments): 1136 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004245/2.533, allocations: 0.5784 MB / 0.9146 GB, free: 90.66 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02084/2.554, allocations: 6.927 MB / 0.9214 GB, free: 84.87 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002494/2.556, allocations: 0.5013 MB / 0.9219 GB, free: 84.36 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0215/2.578, allocations: 6.941 MB / 0.9287 GB, free: 78.77 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.055e-05/2.578, allocations: 36.86 kB / 0.9287 GB, free: 78.74 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.209e-05/2.578, allocations: 8 kB / 0.9287 GB, free: 78.73 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.44e-05/2.578, allocations: 25.95 kB / 0.9287 GB, free: 78.72 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04655/2.624, allocations: 14.85 MB / 0.9432 GB, free: 66.75 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.937e-05/2.625, allocations: 9.125 kB / 0.9432 GB, free: 66.75 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006505/2.631, allocations: 0.6138 MB / 0.9438 GB, free: 66.27 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006551/2.638, allocations: 1.415 MB / 0.9452 GB, free: 65.27 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001118/2.639, allocations: 11.33 kB / 0.9452 GB, free: 65.26 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01973/2.659, allocations: 9.888 MB / 0.9549 GB, free: 56.41 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/2.659, allocations: 8 kB / 0.9549 GB, free: 56.4 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02969/2.688, allocations: 12.09 MB / 0.9667 GB, free: 45.68 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004781/2.693, allocations: 1.077 MB / 0.9678 GB, free: 44.68 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002323/2.696, allocations: 14.28 kB / 0.9678 GB, free: 44.67 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00661/2.702, allocations: 185.3 kB / 0.9679 GB, free: 44.57 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001555/2.704, allocations: 206.3 kB / 0.9681 GB, free: 44.44 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008904/2.705, allocations: 87.61 kB / 0.9682 GB, free: 44.36 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.008108/2.713, allocations: 3.057 MB / 0.9712 GB, free: 41.72 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.262e-06/2.713, allocations: 4 kB / 0.9712 GB, free: 41.71 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01314/2.726, allocations: 1.472 MB / 0.9727 GB, free: 40.25 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 280 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03081/2.757, allocations: 13.51 MB / 0.9858 GB, free: 26.59 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.02214/2.779, allocations: 8.99 MB / 0.9946 GB, free: 17.61 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/2.779, allocations: 0 / 0.9946 GB, free: 17.61 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.009405/2.789, allocations: 3.564 MB / 0.9981 GB, free: 14.03 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005661/2.794, allocations: 0.5402 MB / 0.9986 GB, free: 13.51 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05401/2.848, allocations: 16.32 MB / 1.015 GB, free: 13.11 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01423/2.863, allocations: 5.202 MB / 1.02 GB, free: 7.914 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3824/3.245, allocations: 3.333 MB / 1.023 GB, free: 121.3 MB / 0.5108 GB Notification: Performance of SimCode: time 1.563e-06/3.245, allocations: 0 / 1.023 GB, free: 121.3 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.358/8.603, allocations: 189.5 MB / 1.208 GB, free: 4.266 MB / 0.5265 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat