Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",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.001495/0.001495, allocations: 180.5 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.564/1.564, allocations: 221.3 MB / 236 MB, free: 2.961 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.0009819/0.0009824, allocations: 87.8 kB / 287 MB, free: 244 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.2432/0.2432, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.418e-05/4.421e-05, allocations: 4 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1414, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4503/0.5918, allocations: 108.2 MB / 0.6075 GB, free: 13.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.5921, allocations: 75.97 kB / 0.6075 GB, free: 12.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7459/1.338, allocations: 161.9 MB / 0.7656 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.134e-06/1.338, allocations: 3.875 kB / 0.7656 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005249/1.339, allocations: 163.1 kB / 0.7658 GB, free: 108.4 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: 2857 * Number of variables: 2857 Notification: Performance of Generate backend data structure: time 0.03452/1.373, allocations: 8.038 MB / 0.7736 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/1.373, allocations: 12.88 kB / 0.7737 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005665/1.379, allocations: 1.42 MB / 0.775 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03953/1.418, allocations: 9.686 MB / 0.7845 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02255/1.441, allocations: 8.95 MB / 0.7932 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005414/1.442, allocations: 0.6137 MB / 0.7938 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003618/1.445, allocations: 0.8243 MB / 0.7946 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03952/1.485, allocations: 19.88 MB / 0.8141 GB, free: 88.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003315/1.485, allocations: 111 kB / 0.8142 GB, free: 88.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001268/1.486, allocations: 390 kB / 0.8145 GB, free: 88.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001797/1.488, allocations: 1.777 MB / 0.8163 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03027/1.519, allocations: 16.33 MB / 0.8322 GB, free: 70.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09254/1.611, allocations: 83.34 MB / 0.9136 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3584/1.97, allocations: 8.111 MB / 0.9215 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007367/1.977, allocations: 4.726 MB / 0.9261 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/1.977, allocations: 64.86 kB / 0.9262 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.877e-05/1.977, allocations: 68.75 kB / 0.9263 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 6.542e-06/1.977, allocations: 0 / 0.9263 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=364): time 0.1141/2.091, allocations: 34.03 MB / 0.9595 GB, free: 108 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/2.092, allocations: 273.2 kB / 0.9598 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01752/2.109, allocations: 6.918 MB / 0.9665 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001193/2.11, allocations: 83.83 kB / 0.9666 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005819/2.116, allocations: 5.554 MB / 0.972 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002325/2.119, allocations: 1.366 MB / 0.9734 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/2.12, allocations: 189.6 kB / 0.9735 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005908/2.121, allocations: 0.7188 MB / 0.9742 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005493/2.126, allocations: 4.05 MB / 0.9782 GB, free: 98.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007505/2.134, allocations: 9.57 MB / 0.9875 GB, free: 89.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008358/2.142, allocations: 6.171 MB / 0.9936 GB, free: 88.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001429/2.142, allocations: 56.03 kB / 0.9936 GB, free: 88.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.0315/2.174, allocations: 15.68 MB / 1.009 GB, free: 83.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/2.174, allocations: 90.69 kB / 1.009 GB, free: 83.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002383/2.174, allocations: 194.4 kB / 1.009 GB, free: 83.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005403/2.18, allocations: 2.44 MB / 1.012 GB, free: 81.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007813/2.187, allocations: 2.284 MB / 1.014 GB, free: 79.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01806/2.205, allocations: 16.88 MB / 1.03 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009799/2.215, allocations: 0.5699 MB / 1.031 GB, free: 63.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002317/2.218, allocations: 0.5746 MB / 1.031 GB, free: 63.17 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[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.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.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],forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],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 (1167): * Single equations (assignments): 1161 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002886/2.221, allocations: 0.8535 MB / 1.032 GB, free: 62.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001828/2.222, allocations: 0.6826 MB / 1.033 GB, free: 61.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/2.237, allocations: 8.717 MB / 1.041 GB, free: 54.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.753e-05/2.238, allocations: 39.59 kB / 1.041 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.293e-05/2.238, allocations: 12 kB / 1.041 GB, free: 54.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.423e-05/2.238, allocations: 20.55 kB / 1.041 GB, free: 54.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03647/2.274, allocations: 18.99 MB / 1.06 GB, free: 39.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.157e-05/2.274, allocations: 4 kB / 1.06 GB, free: 39.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003197/2.277, allocations: 0.6384 MB / 1.061 GB, free: 38.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005044/2.282, allocations: 2.124 MB / 1.063 GB, free: 37.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005675/2.283, allocations: 67.28 kB / 1.063 GB, free: 37.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01713/2.3, allocations: 15.67 MB / 1.078 GB, free: 23.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/2.3, allocations: 4 kB / 1.078 GB, free: 23.17 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01996/2.32, allocations: 13.79 MB / 1.092 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002762/2.323, allocations: 0.7498 MB / 1.092 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002216/2.325, allocations: 64.75 kB / 1.092 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004491/2.33, allocations: 279.7 kB / 1.093 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00093/2.331, allocations: 218.6 kB / 1.093 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002899/2.331, allocations: 94.42 kB / 1.093 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009064/2.34, allocations: 4.92 MB / 1.098 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/2.34, allocations: 0 / 1.098 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01149/2.352, allocations: 1.975 MB / 1.1 GB, free: 1.027 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 283 * 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 {(4,75.0%) 18,(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.02556/2.377, allocations: 14.67 MB / 1.114 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.364/2.741, allocations: 10.24 MB / 1.124 GB, free: 121.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/2.741, allocations: 0.7812 kB / 1.124 GB, free: 121.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008194/2.75, allocations: 4.307 MB / 1.128 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006174/2.756, allocations: 0.9189 MB / 1.129 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04768/2.803, allocations: 18.58 MB / 1.147 GB, free: 118 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009089/2.813, allocations: 5.92 MB / 1.153 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00941/2.822, allocations: 3.264 MB / 1.156 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009187/2.831, allocations: 3.943 MB / 1.16 GB, free: 116.2 MB / 0.5417 GB Notification: Performance of SimCode: time 1.884e-06/2.831, allocations: 0 / 1.16 GB, free: 116.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2238/3.055, allocations: 158.9 MB / 1.315 GB, free: 14 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003129/3.056, allocations: 178.7 kB / 1.315 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.428/12.48, allocations: 0 / 1.315 GB, free: 13.77 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForceAndTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForceAndTorque.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat