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.001525/0.001526, allocations: 179.9 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.442/1.442, allocations: 221.3 MB / 236 MB, free: 2.969 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.0009428/0.0009429, allocations: 95.73 kB / 287 MB, free: 252 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.2114/0.2114, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.28e-05/3.299e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1324, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4434/0.5758, allocations: 110.8 MB / 0.61 GB, free: 10.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.5761, allocations: 75.97 kB / 0.6101 GB, free: 10.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6844/1.261, allocations: 138 MB / 0.7449 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.817e-06/1.261, allocations: 5.781 kB / 0.7449 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004222/1.261, allocations: 141.4 kB / 0.745 GB, free: 110.8 MB / 0.5105 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.02405/1.285, allocations: 6.89 MB / 0.7517 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/1.285, allocations: 10.25 kB / 0.7518 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005103/1.29, allocations: 1.254 MB / 0.753 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02798/1.318, allocations: 7.183 MB / 0.76 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01991/1.338, allocations: 7.293 MB / 0.7671 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005909/1.339, allocations: 0.5314 MB / 0.7676 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003904/1.343, allocations: 0.7047 MB / 0.7683 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04421/1.387, allocations: 17.35 MB / 0.7853 GB, free: 99.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006214/1.388, allocations: 90.78 kB / 0.7854 GB, free: 99.87 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003379/1.391, allocations: 339.2 kB / 0.7857 GB, free: 99.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002368/1.394, allocations: 1.635 MB / 0.7873 GB, free: 99.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03104/1.425, allocations: 13.96 MB / 0.8009 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09664/1.521, allocations: 76.69 MB / 0.8758 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0199/1.541, allocations: 7.894 MB / 0.8835 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005122/1.546, allocations: 4.036 MB / 0.8874 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01864/1.565, allocations: 10.1 MB / 0.8973 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/1.565, allocations: 64.5 kB / 0.8974 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=277): time 5.34e-06/1.565, allocations: 0 / 0.8974 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319): time 0.4637/2.029, allocations: 28.64 MB / 0.9253 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/2.029, allocations: 242 kB / 0.9256 GB, free: 113 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01501/2.044, allocations: 6.255 MB / 0.9317 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/2.045, allocations: 70.64 kB / 0.9318 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004765/2.05, allocations: 4.903 MB / 0.9365 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002197/2.052, allocations: 1.2 MB / 0.9377 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007266/2.053, allocations: 182.2 kB / 0.9379 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005493/2.054, allocations: 0.6883 MB / 0.9386 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007456/2.061, allocations: 3.445 MB / 0.9419 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01187/2.073, allocations: 8.706 MB / 0.9504 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009363/2.082, allocations: 5.428 MB / 0.9557 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001987/2.083, allocations: 54.06 kB / 0.9558 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.02675/2.109, allocations: 13.43 MB / 0.9689 GB, free: 98.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002832/2.11, allocations: 84.66 kB / 0.969 GB, free: 98.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004315/2.11, allocations: 190.9 kB / 0.9692 GB, free: 98.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004231/2.114, allocations: 1.699 MB / 0.9708 GB, free: 97.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00788/2.122, allocations: 2.178 MB / 0.9729 GB, free: 97.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/2.137, allocations: 11.37 MB / 0.984 GB, free: 91.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01041/2.147, allocations: 0.5109 MB / 0.9845 GB, free: 91.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002405/2.15, allocations: 0.5331 MB / 0.9851 GB, free: 91.47 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * 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 (1102): * Single equations (assignments): 1097 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003769/2.153, allocations: 0.8071 MB / 0.9859 GB, free: 90.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002457/2.156, allocations: 0.6095 MB / 0.9864 GB, free: 90.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/2.17, allocations: 6.677 MB / 0.993 GB, free: 88.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.624e-05/2.17, allocations: 31.59 kB / 0.993 GB, free: 88.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-05/2.17, allocations: 15.05 kB / 0.993 GB, free: 88.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.259e-05/2.17, allocations: 13.55 kB / 0.993 GB, free: 88.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04002/2.21, allocations: 15.73 MB / 1.008 GB, free: 82.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/2.21, allocations: 3.938 kB / 1.008 GB, free: 82.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003041/2.213, allocations: 0.6235 MB / 1.009 GB, free: 82.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003382/2.217, allocations: 1.419 MB / 1.01 GB, free: 82.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000495/2.217, allocations: 64.05 kB / 1.01 GB, free: 82.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/2.229, allocations: 10.59 MB / 1.021 GB, free: 75.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/2.23, allocations: 15.38 kB / 1.021 GB, free: 75.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01729/2.247, allocations: 12.06 MB / 1.033 GB, free: 64.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003286/2.25, allocations: 0.6862 MB / 1.033 GB, free: 64.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003037/2.253, allocations: 57.8 kB / 1.033 GB, free: 64.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004699/2.258, allocations: 205.5 kB / 1.034 GB, free: 64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008299/2.259, allocations: 197 kB / 1.034 GB, free: 63.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003543/2.259, allocations: 88.84 kB / 1.034 GB, free: 63.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01014/2.269, allocations: 4.464 MB / 1.038 GB, free: 59.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.332e-06/2.269, allocations: 0 / 1.038 GB, free: 59.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01299/2.282, allocations: 1.679 MB / 1.04 GB, free: 58.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (261): * Single equations (assignments): 256 * 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.01758/2.3, allocations: 13.62 MB / 1.053 GB, free: 45.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01365/2.314, allocations: 8.601 MB / 1.061 GB, free: 37.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/2.314, allocations: 2.625 kB / 1.061 GB, free: 37.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005769/2.32, allocations: 3.384 MB / 1.065 GB, free: 34.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005655/2.325, allocations: 0.7504 MB / 1.066 GB, free: 34.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04227/2.368, allocations: 15.83 MB / 1.081 GB, free: 20.44 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01033/2.378, allocations: 5.2 MB / 1.086 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009955/2.388, allocations: 3.004 MB / 1.089 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007382/2.395, allocations: 3.319 MB / 1.092 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of SimCode: time 1.753e-06/2.395, allocations: 0 / 1.092 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5966/2.992, allocations: 135.3 MB / 1.224 GB, free: 71.31 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/2.992, allocations: 175.5 kB / 1.225 GB, free: 71.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/10.61, allocations: 0 / 1.225 GB, free: 71.09 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