Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces",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.001617/0.001617, 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.427/1.427, allocations: 221.3 MB / 236 MB, free: 2.98 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.001047/0.001048, allocations: 80.11 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.2199/0.2199, allocations: 44.14 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.922e-05/3.94e-05, allocations: 4.219 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1541, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4768/0.6309, allocations: 109 MB / 0.6083 GB, free: 12.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.6313, allocations: 75.97 kB / 0.6083 GB, free: 12.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7278/1.359, allocations: 141.4 MB / 0.7464 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.294e-06/1.359, allocations: 0 / 0.7464 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004976/1.36, allocations: 141.6 kB / 0.7466 GB, free: 110.6 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: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.02432/1.384, allocations: 6.886 MB / 0.7533 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.384, allocations: 10.19 kB / 0.7533 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005698/1.39, allocations: 1.219 MB / 0.7545 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03628/1.426, allocations: 9.506 MB / 0.7638 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02424/1.45, allocations: 8.37 MB / 0.772 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006961/1.451, allocations: 0.5218 MB / 0.7725 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004416/1.456, allocations: 0.7078 MB / 0.7732 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0442/1.5, allocations: 16.51 MB / 0.7893 GB, free: 98.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000849/1.501, allocations: 102.1 kB / 0.7894 GB, free: 98.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004106/1.505, allocations: 339.8 kB / 0.7897 GB, free: 98.76 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002137/1.507, allocations: 1.503 MB / 0.7912 GB, free: 98.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02684/1.534, allocations: 13 MB / 0.8039 GB, free: 93.83 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07569/1.61, allocations: 75.41 MB / 0.8775 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/1.623, allocations: 6.283 MB / 0.8836 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003635/1.627, allocations: 3.44 MB / 0.887 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/1.627, allocations: 43.88 kB / 0.887 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/1.627, allocations: 63.33 kB / 0.8871 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=229): time 5.18e-06/1.627, allocations: 0 / 0.8871 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=262): time 0.06451/1.692, allocations: 24.13 MB / 0.9107 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002026/1.692, allocations: 282.9 kB / 0.9109 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3908/2.083, allocations: 6.234 MB / 0.917 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008184/2.084, allocations: 64.73 kB / 0.9171 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006331/2.09, allocations: 4.992 MB / 0.922 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001689/2.092, allocations: 1.018 MB / 0.923 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000854/2.093, allocations: 171.4 kB / 0.9231 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005746/2.093, allocations: 0.6708 MB / 0.9238 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005846/2.099, allocations: 3.021 MB / 0.9267 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01038/2.109, allocations: 8.262 MB / 0.9348 GB, free: 106 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/2.12, allocations: 4.945 MB / 0.9396 GB, free: 106 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006021/2.121, allocations: 55 kB / 0.9397 GB, free: 106 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.02652/2.147, allocations: 12.16 MB / 0.9516 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000489/2.148, allocations: 85.81 kB / 0.9516 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005703/2.148, allocations: 189.7 kB / 0.9518 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004435/2.153, allocations: 1.36 MB / 0.9531 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01018/2.163, allocations: 1.979 MB / 0.9551 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01709/2.18, allocations: 11.21 MB / 0.966 GB, free: 97.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01057/2.191, allocations: 480.9 kB / 0.9665 GB, free: 97.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002535/2.193, allocations: 0.5244 MB / 0.967 GB, free: 97.64 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 71 (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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,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],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.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],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 (1043): * Single equations (assignments): 1037 * 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%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003874/2.197, allocations: 0.7783 MB / 0.9678 GB, free: 97.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002197/2.2, allocations: 0.597 MB / 0.9683 GB, free: 96.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/2.21, allocations: 5.24 MB / 0.9735 GB, free: 94.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.07e-05/2.211, allocations: 26.25 kB / 0.9735 GB, free: 94.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.008e-05/2.211, allocations: 11.88 kB / 0.9735 GB, free: 94.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.647e-05/2.211, allocations: 13.55 kB / 0.9735 GB, free: 94.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02876/2.239, allocations: 12.9 MB / 0.9861 GB, free: 90.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-05/2.24, allocations: 0 / 0.9861 GB, free: 90.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002152/2.242, allocations: 428.9 kB / 0.9865 GB, free: 90.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002768/2.244, allocations: 1.045 MB / 0.9875 GB, free: 89.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003715/2.245, allocations: 53.45 kB / 0.9876 GB, free: 89.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/2.256, allocations: 10.2 MB / 0.9975 GB, free: 83.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/2.256, allocations: 2.375 kB / 0.9975 GB, free: 83.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/2.269, allocations: 8.975 MB / 1.006 GB, free: 79.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002828/2.272, allocations: 0.6533 MB / 1.007 GB, free: 79.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002154/2.274, allocations: 48.02 kB / 1.007 GB, free: 79.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003856/2.278, allocations: 151 kB / 1.007 GB, free: 79.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005794/2.278, allocations: 154.9 kB / 1.007 GB, free: 79.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003216/2.279, allocations: 68.98 kB / 1.007 GB, free: 78.99 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009574/2.288, allocations: 4.428 MB / 1.012 GB, free: 77.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.61e-07/2.288, allocations: 0 / 1.012 GB, free: 77.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0115/2.3, allocations: 1.59 MB / 1.013 GB, free: 77.31 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 198 * 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,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01505/2.315, allocations: 9.851 MB / 1.023 GB, free: 69.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01182/2.327, allocations: 7.688 MB / 1.03 GB, free: 62.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/2.327, allocations: 0 / 1.03 GB, free: 62.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003927/2.331, allocations: 2.747 MB / 1.033 GB, free: 59.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005147/2.336, allocations: 0.813 MB / 1.034 GB, free: 59.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04384/2.38, allocations: 14.94 MB / 1.048 GB, free: 46.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01087/2.391, allocations: 5.157 MB / 1.053 GB, free: 42.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009774/2.401, allocations: 2.827 MB / 1.056 GB, free: 40.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008048/2.409, allocations: 3.306 MB / 1.059 GB, free: 37.66 MB / 0.5261 GB Notification: Performance of SimCode: time 3.126e-06/2.409, allocations: 0 / 1.059 GB, free: 37.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5466/2.955, allocations: 130 MB / 1.186 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/2.956, allocations: 166.1 kB / 1.187 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.282/10.24, allocations: 4 kB / 1.187 GB, free: 106.5 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat