Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_ForcesAndTorques",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.001473/0.001472, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 221.5 MB / 230.7 MB, free: 7.547 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.000892/0.0008919, allocations: 103.4 kB / 281.6 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2841/0.2841, allocations: 44.15 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.789e-05/1.792e-05, allocations: 4 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1206, allocations: 61.92 MB / 0.4948 GB, free: 1.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3786/0.4992, allocations: 110.2 MB / 0.6023 GB, free: 2.207 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.4994, allocations: 75.95 kB / 0.6024 GB, free: 2.133 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5788/1.078, allocations: 134.7 MB / 0.734 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.014e-06/1.078, allocations: 0 / 0.734 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003729/1.079, allocations: 144.1 kB / 0.7341 GB, free: 105.3 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: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.01934/1.098, allocations: 6.887 MB / 0.7408 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/1.098, allocations: 14.61 kB / 0.7409 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02909/1.127, allocations: 7.187 MB / 0.7479 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01811/1.145, allocations: 7.291 MB / 0.755 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004096/1.146, allocations: 237.5 kB / 0.7552 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003437/1.149, allocations: 428.3 kB / 0.7556 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01997/1.169, allocations: 9.866 MB / 0.7653 GB, free: 98.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03097/1.2, allocations: 15.04 MB / 0.7799 GB, free: 90.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000505/1.201, allocations: 93.39 kB / 0.78 GB, free: 90.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003109/1.204, allocations: 41.84 kB / 0.7801 GB, free: 90.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002233/1.206, allocations: 1.629 MB / 0.7817 GB, free: 89.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07557/1.282, allocations: 73.19 MB / 0.8531 GB, free: 19.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006195/1.288, allocations: 5.995 MB / 0.859 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003773/1.292, allocations: 3.799 MB / 0.8627 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007731/1.293, allocations: 0.7073 MB / 0.8634 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/1.293, allocations: 69.06 kB / 0.8635 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=268): time 5.911e-06/1.293, allocations: 3.938 kB / 0.8635 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of matching and sorting (n=312): time 0.06156/1.354, allocations: 29.66 MB / 0.8924 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/1.354, allocations: 240.2 kB / 0.8927 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008347/1.363, allocations: 4.743 MB / 0.8973 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007598/1.364, allocations: 25.7 kB / 0.8973 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003906/1.368, allocations: 5.001 MB / 0.9022 GB, free: 396 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.3247/1.692, allocations: 1.143 MB / 0.9033 GB, free: 124 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009894/1.693, allocations: 0 / 0.9033 GB, free: 124 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006384/1.694, allocations: 0.6976 MB / 0.904 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00637/1.7, allocations: 3.337 MB / 0.9073 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01029/1.711, allocations: 8.693 MB / 0.9157 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/1.722, allocations: 5.324 MB / 0.9209 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004686/1.722, allocations: 53.84 kB / 0.921 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1206) (initialization): time 0.03106/1.753, allocations: 12.33 MB / 0.933 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000232/1.754, allocations: 92.64 kB / 0.9331 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002879/1.754, allocations: 190.4 kB / 0.9333 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004154/1.758, allocations: 1.718 MB / 0.935 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008617/1.767, allocations: 2.224 MB / 0.9372 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/1.78, allocations: 10.78 MB / 0.9477 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008815/1.789, allocations: 355.5 kB / 0.948 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002691/1.792, allocations: 0.5458 MB / 0.9486 GB, free: 111.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 83 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceArrow.color[3],forceAndTorque2.forceArrow.color[2],forceAndTorque2.forceArrow.color[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceArrow.color[3],forceAndTorque1.forceArrow.color[2],forceAndTorque1.forceArrow.color[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1134): * Single equations (assignments): 1129 * 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.002622/1.794, allocations: 0.6051 MB / 0.9492 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01014/1.804, allocations: 6.355 MB / 0.9554 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/1.806, allocations: 0.5095 MB / 0.9559 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/1.816, allocations: 6.268 MB / 0.962 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.513e-05/1.816, allocations: 39.42 kB / 0.962 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/1.816, allocations: 6.875 kB / 0.962 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.223e-05/1.816, allocations: 24.02 kB / 0.962 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02185/1.838, allocations: 13.92 MB / 0.9756 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/1.838, allocations: 3.188 kB / 0.9756 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002922/1.841, allocations: 0.5896 MB / 0.9762 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00338/1.844, allocations: 1.408 MB / 0.9776 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004841/1.845, allocations: 10.67 kB / 0.9776 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/1.856, allocations: 9.9 MB / 0.9873 GB, free: 95.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.856, allocations: 3.562 kB / 0.9873 GB, free: 95.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/1.871, allocations: 10.77 MB / 0.9978 GB, free: 90.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/1.873, allocations: 0.5333 MB / 0.9983 GB, free: 89.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001968/1.875, allocations: 7.094 kB / 0.9983 GB, free: 89.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003661/1.879, allocations: 156.5 kB / 0.9985 GB, free: 89.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008446/1.88, allocations: 182.6 kB / 0.9986 GB, free: 89.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002411/1.88, allocations: 79.61 kB / 0.9987 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006251/1.886, allocations: 3.18 MB / 1.002 GB, free: 86.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.41e-07/1.886, allocations: 0 / 1.002 GB, free: 86.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01112/1.897, allocations: 1.438 MB / 1.003 GB, free: 85.03 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (254): * Single equations (assignments): 249 * 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.01511/1.912, allocations: 11.89 MB / 1.015 GB, free: 74.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01309/1.926, allocations: 8.422 MB / 1.023 GB, free: 66.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/1.926, allocations: 4 kB / 1.023 GB, free: 66.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005118/1.931, allocations: 3.226 MB / 1.026 GB, free: 64.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004314/1.935, allocations: 0.5807 MB / 1.027 GB, free: 63.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03639/1.972, allocations: 15.22 MB / 1.042 GB, free: 50.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006763/1.978, allocations: 5.206 MB / 1.047 GB, free: 46.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007719/1.986, allocations: 2.984 MB / 1.05 GB, free: 44.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005161/1.991, allocations: 3.275 MB / 1.053 GB, free: 41.58 MB / 0.5261 GB Notification: Performance of SimCode: time 1.082e-06/1.991, allocations: 0 / 1.053 GB, free: 41.58 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5219/2.513, allocations: 118 MB / 1.168 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/2.513, allocations: 137.4 kB / 1.168 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.243/8.756, allocations: 3.797 kB / 1.168 GB, free: 116.9 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_ForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_ForcesAndTorques.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat