Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",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.001208/0.001208, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 173.7 kB / 16.57 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3553/0.3553, allocations: 43.55 MB / 314.5 MB, free: 8.773 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005243/0.0005244, allocations: 16 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1341, allocations: 58.86 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.3155/0.4497, allocations: 80.07 MB / 0.5107 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05045/0.5002, allocations: 18.03 MB / 0.5283 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02662/0.5269, allocations: 394.1 kB / 0.5286 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02116/0.5481, allocations: 4.027 MB / 0.5326 GB, free: 212 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05295/0.6011, allocations: 11.37 MB / 0.5437 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008093/0.6092, allocations: 0.8951 MB / 0.5446 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04557/0.6548, allocations: 27.31 MB / 0.5712 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01178/0.6666, allocations: 7.026 MB / 0.5781 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005203/0.6719, allocations: 1.58 MB / 0.5796 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00549/0.6774, allocations: 2.196 MB / 0.5818 GB, free: 1.527 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001639/0.6791, allocations: 236 kB / 0.582 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003386/0.6825, allocations: 1.092 MB / 0.5831 GB, free: 208 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003479/0.686, allocations: 2.564 MB / 0.5856 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002357/0.6884, allocations: 1.329 MB / 0.5869 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.7018, allocations: 9.021 MB / 0.5957 GB, free: 3.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.7018, allocations: 4 kB / 0.5957 GB, free: 3.246 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.7018, allocations: 0 / 0.5957 GB, free: 3.246 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006516/0.7025, allocations: 0 / 0.5957 GB, free: 3.246 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02028/0.7228, allocations: 6.723 MB / 0.6023 GB, free: 12.45 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.7228, allocations: 8.031 kB / 0.6023 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005343/0.7282, allocations: 1.133 MB / 0.6034 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04687/0.7751, allocations: 8.291 MB / 0.6115 GB, free: 2.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/0.788, allocations: 4.589 MB / 0.6159 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004151/0.7884, allocations: 389.8 kB / 0.6163 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002639/0.7911, allocations: 0.4958 MB / 0.6168 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3795/1.171, allocations: 16.42 MB / 0.6328 GB, free: 136.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002498/1.171, allocations: 70.12 kB / 0.6329 GB, free: 136.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008825/1.172, allocations: 238.8 kB / 0.6331 GB, free: 136.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005411/1.177, allocations: 3.158 MB / 0.6362 GB, free: 136.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03223/1.21, allocations: 14.02 MB / 0.6499 GB, free: 133.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1014/1.311, allocations: 60.42 MB / 0.7089 GB, free: 92.24 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02023/1.331, allocations: 8.105 MB / 0.7168 GB, free: 87.69 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003637/1.332, allocations: 62.22 kB / 0.7169 GB, free: 87.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.534e-05/1.332, allocations: 72.42 kB / 0.717 GB, free: 87.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 6.993e-06/1.332, allocations: 0 / 0.717 GB, free: 87.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=332): time 0.08893/1.421, allocations: 35 MB / 0.7511 GB, free: 52.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.421, allocations: 218.1 kB / 0.7513 GB, free: 51.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/1.431, allocations: 6.605 MB / 0.7578 GB, free: 45.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001593/1.433, allocations: 75.3 kB / 0.7579 GB, free: 45.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003195/1.436, allocations: 4.594 MB / 0.7624 GB, free: 40.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002315/1.438, allocations: 1.23 MB / 0.7636 GB, free: 39.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005129/1.439, allocations: 172 kB / 0.7637 GB, free: 39.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004635/1.439, allocations: 0.6657 MB / 0.7644 GB, free: 38.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005558/1.445, allocations: 3.858 MB / 0.7681 GB, free: 34.76 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009695/1.455, allocations: 8.656 MB / 0.7766 GB, free: 23.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009648/1.464, allocations: 5.658 MB / 0.7821 GB, free: 18.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001734/1.464, allocations: 48 kB / 0.7822 GB, free: 18.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.03165/1.496, allocations: 13.91 MB / 0.7957 GB, free: 4.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005099/1.497, allocations: 83.98 kB / 0.7958 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005019/1.497, allocations: 168 kB / 0.796 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004899/1.502, allocations: 1.794 MB / 0.7977 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008318/1.511, allocations: 2.039 MB / 0.7997 GB, free: 0 / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/1.531, allocations: 12.36 MB / 0.8118 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00995/1.541, allocations: 0.5267 MB / 0.8123 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002436/1.544, allocations: 0.5007 MB / 0.8128 GB, free: 2.359 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1046): * Single equations (assignments): 1041 * 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.01046/1.554, allocations: 3.166 MB / 0.8159 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003094/1.557, allocations: 0.5554 MB / 0.8164 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01994/1.577, allocations: 7.702 MB / 0.824 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.382e-05/1.578, allocations: 32 kB / 0.824 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.085e-05/1.578, allocations: 12 kB / 0.824 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.554e-05/1.578, allocations: 19.89 kB / 0.824 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3851/1.963, allocations: 16.7 MB / 0.8403 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/1.963, allocations: 4.625 kB / 0.8403 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003135/1.966, allocations: 0.6 MB / 0.8409 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003746/1.97, allocations: 1.524 MB / 0.8424 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005695/1.97, allocations: 60.45 kB / 0.8425 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01432/1.985, allocations: 11.58 MB / 0.8538 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.985, allocations: 6.75 kB / 0.8538 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0283/2.013, allocations: 13.12 MB / 0.8666 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005197/2.018, allocations: 1.233 MB / 0.8678 GB, free: 142.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002202/2.021, allocations: 60.25 kB / 0.8679 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004862/2.025, allocations: 270.7 kB / 0.8681 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009953/2.026, allocations: 205.3 kB / 0.8683 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005831/2.027, allocations: 91.19 kB / 0.8684 GB, free: 142.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01449/2.042, allocations: 4.234 MB / 0.8725 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.092e-06/2.042, allocations: 0 / 0.8725 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0164/2.058, allocations: 1.703 MB / 0.8742 GB, free: 141.1 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (278): * Single equations (assignments): 273 * 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.03011/2.088, allocations: 14.5 MB / 0.8884 GB, free: 134.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01615/2.104, allocations: 9.431 MB / 0.8976 GB, free: 128.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/2.104, allocations: 0 / 0.8976 GB, free: 128.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00663/2.111, allocations: 3.953 MB / 0.9014 GB, free: 125.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004847/2.116, allocations: 0.6679 MB / 0.9021 GB, free: 124.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4452/2.561, allocations: 180.5 MB / 1.078 GB, free: 110.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01083/2.572, allocations: 4.998 MB / 1.083 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.01173/2.584, allocations: 2.932 MB / 1.086 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006615/2.591, allocations: 3.139 MB / 1.089 GB, free: 106.2 MB / 0.5137 GB Notification: Performance of SimCode: time 2.264e-06/2.591, allocations: 2.078 kB / 1.089 GB, free: 106.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.488/3.079, allocations: 131.1 MB / 1.217 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001499/3.079, allocations: 210.4 kB / 1.217 GB, free: 128 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.845/8.923, allocations: 0 / 1.217 GB, free: 128 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat