Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009489/0.0009489, allocations: 99.55 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008937/0.0008937, allocations: 182.1 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 241.8 MB, free: 14.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2129/0.2129, allocations: 44.22 MB / 337.1 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.0002769, allocations: 13.02 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1202, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.3359/0.4561, allocations: 85.44 MB / 0.5439 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04514/0.5013, allocations: 19.14 MB / 0.5626 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01944/0.5208, allocations: 428.5 kB / 0.563 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0164/0.5372, allocations: 4.343 MB / 0.5673 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04646/0.5837, allocations: 12.22 MB / 0.5792 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008553/0.5923, allocations: 1.002 MB / 0.5802 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.1033/0.6957, allocations: 72.12 MB / 0.6506 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01035/0.7061, allocations: 7.258 MB / 0.6577 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00302/0.7091, allocations: 1.627 MB / 0.6593 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003175/0.7123, allocations: 2.216 MB / 0.6614 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008361/0.7132, allocations: 220 kB / 0.6617 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.7158, allocations: 1.108 MB / 0.6627 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00238/0.7182, allocations: 2.611 MB / 0.6653 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.7196, allocations: 1.31 MB / 0.6666 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009237/0.7288, allocations: 8.838 MB / 0.6752 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.569e-05/0.7289, allocations: 0 / 0.6752 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7289, allocations: 3.938 kB / 0.6752 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003439/0.7293, allocations: 0 / 0.6752 GB, free: 3.043 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.01595/0.7452, allocations: 6.794 MB / 0.6818 GB, free: 12.16 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.7453, allocations: 12.03 kB / 0.6818 GB, free: 12.15 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002781/0.7481, allocations: 1.057 MB / 0.6829 GB, free: 11.08 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05934/0.8074, allocations: 11.11 MB / 0.6937 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01323/0.8207, allocations: 4.996 MB / 0.6986 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003538/0.8211, allocations: 369.5 kB / 0.699 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002099/0.8232, allocations: 0.4996 MB / 0.6994 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2998/1.123, allocations: 14.79 MB / 0.7139 GB, free: 192.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000347/1.123, allocations: 74.02 kB / 0.714 GB, free: 192.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/1.125, allocations: 236.1 kB / 0.7142 GB, free: 192 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006015/1.131, allocations: 2.726 MB / 0.7168 GB, free: 191.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02924/1.16, allocations: 12.08 MB / 0.7286 GB, free: 187.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06727/1.227, allocations: 56.87 MB / 0.7842 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01138/1.239, allocations: 4.477 MB / 0.7886 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/1.239, allocations: 37.58 kB / 0.7886 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.521e-05/1.239, allocations: 51.56 kB / 0.7886 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=186): time 9.368e-06/1.239, allocations: 4 kB / 0.7886 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=204): time 0.04924/1.288, allocations: 20.85 MB / 0.809 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/1.288, allocations: 252.7 kB / 0.8092 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008665/1.297, allocations: 7.081 MB / 0.8162 GB, free: 103 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005442/1.298, allocations: 61.7 kB / 0.8162 GB, free: 103 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002488/1.3, allocations: 4.671 MB / 0.8208 GB, free: 98.31 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001122/1.301, allocations: 0.8114 MB / 0.8216 GB, free: 97.51 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/1.302, allocations: 157 kB / 0.8217 GB, free: 97.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003264/1.302, allocations: 0.6325 MB / 0.8223 GB, free: 96.72 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00366/1.306, allocations: 2.553 MB / 0.8248 GB, free: 94.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005306/1.311, allocations: 7.46 MB / 0.8321 GB, free: 84.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00508/1.316, allocations: 4.263 MB / 0.8363 GB, free: 80 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.948e-05/1.316, allocations: 48 kB / 0.8363 GB, free: 79.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1005) (initialization): time 0.01715/1.333, allocations: 10.46 MB / 0.8466 GB, free: 69.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000205/1.334, allocations: 80 kB / 0.8466 GB, free: 69.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002911/1.334, allocations: 176 kB / 0.8468 GB, free: 69.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002595/1.337, allocations: 1.039 MB / 0.8478 GB, free: 68.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005422/1.342, allocations: 1.77 MB / 0.8495 GB, free: 66.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009249/1.351, allocations: 9.737 MB / 0.859 GB, free: 56.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00654/1.358, allocations: 431.4 kB / 0.8595 GB, free: 55.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/1.359, allocations: 488 kB / 0.8599 GB, free: 55.38 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (939): * Single equations (assignments): 933 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005947/1.365, allocations: 3.041 MB / 0.8629 GB, free: 52.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001386/1.367, allocations: 0.5476 MB / 0.8634 GB, free: 51.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006713/1.373, allocations: 3.766 MB / 0.8671 GB, free: 47.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.858e-05/1.373, allocations: 20 kB / 0.8671 GB, free: 47.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.632e-05/1.373, allocations: 8 kB / 0.8671 GB, free: 47.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.713e-05/1.374, allocations: 7.969 kB / 0.8671 GB, free: 47.94 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02198/1.395, allocations: 10.2 MB / 0.8771 GB, free: 37.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.396, allocations: 0 / 0.8771 GB, free: 37.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/1.397, allocations: 327.5 kB / 0.8774 GB, free: 37.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/1.399, allocations: 0.74 MB / 0.8781 GB, free: 36.65 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/1.399, allocations: 35.98 kB / 0.8782 GB, free: 36.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007604/1.407, allocations: 8.854 MB / 0.8868 GB, free: 27.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.407, allocations: 32 / 0.8868 GB, free: 27.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008038/1.415, allocations: 6.747 MB / 0.8934 GB, free: 20.56 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/1.417, allocations: 0.6343 MB / 0.894 GB, free: 19.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001314/1.418, allocations: 35.98 kB / 0.8941 GB, free: 19.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002603/1.421, allocations: 121.2 kB / 0.8942 GB, free: 19.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004075/1.421, allocations: 137.3 kB / 0.8943 GB, free: 19.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/1.421, allocations: 52 kB / 0.8944 GB, free: 19.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006962/1.428, allocations: 4.573 MB / 0.8988 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.72e-07/1.428, allocations: 0 / 0.8988 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008524/1.437, allocations: 1.427 MB / 0.9002 GB, free: 13.58 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * 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 (153): * Single equations (assignments): 147 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00889/1.446, allocations: 7.595 MB / 0.9076 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2392/1.685, allocations: 6.462 MB / 0.9139 GB, free: 179 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.685, allocations: 2.25 kB / 0.9139 GB, free: 179 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003985/1.689, allocations: 2.085 MB / 0.916 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005379/1.694, allocations: 0.7646 MB / 0.9167 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1383/1.833, allocations: 177.4 MB / 1.09 GB, free: 20.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007714/1.841, allocations: 4.798 MB / 1.095 GB, free: 16.35 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006816/1.847, allocations: 2.512 MB / 1.097 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004483/1.852, allocations: 3.026 MB / 1.1 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/1.852, allocations: 0 / 1.1 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4018/2.254, allocations: 117.7 MB / 1.215 GB, free: 92.69 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/2.254, allocations: 198.9 kB / 1.215 GB, free: 92.45 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.688/7.942, allocations: 0 / 1.215 GB, free: 92.45 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldTorques.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat does not exist to compare? outputFormat=mat