Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques",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.0008437/0.0008437, allocations: 101.4 kB / 17 MB, free: 6.418 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.001002/0.001003, allocations: 189.4 kB / 17.89 MB, free: 5.945 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.419/1.419, allocations: 223.2 MB / 241.9 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2186/0.2186, allocations: 44.22 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 15.98 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1295, allocations: 61.91 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3547/0.4843, allocations: 65.67 MB / 0.5247 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03375/0.5181, allocations: 13.73 MB / 0.5381 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01836/0.5365, allocations: 316.6 kB / 0.5384 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01358/0.5501, allocations: 3.47 MB / 0.5418 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0311/0.5812, allocations: 10.22 MB / 0.5518 GB, free: 48 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004673/0.5859, allocations: 0.784 MB / 0.5526 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.07784/0.6638, allocations: 61.94 MB / 0.613 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0105/0.6744, allocations: 5.626 MB / 0.6185 GB, free: 14.06 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00616/0.6806, allocations: 1.603 MB / 0.6201 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005234/0.6858, allocations: 2.461 MB / 0.6225 GB, free: 9.984 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0014/0.6873, allocations: 172 kB / 0.6227 GB, free: 9.816 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003626/0.6909, allocations: 1.096 MB / 0.6237 GB, free: 8.719 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003632/0.6946, allocations: 2.197 MB / 0.6259 GB, free: 6.516 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002384/0.697, allocations: 1.037 MB / 0.6269 GB, free: 5.469 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009134/0.7061, allocations: 6.956 MB / 0.6337 GB, free: 14.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.7062, allocations: 0 / 0.6337 GB, free: 14.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.7062, allocations: 0 / 0.6337 GB, free: 14.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004024/0.7066, allocations: 0 / 0.6337 GB, free: 14.5 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01445/0.7211, allocations: 5.288 MB / 0.6389 GB, free: 9.137 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.7211, allocations: 8.031 kB / 0.6389 GB, free: 9.129 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002721/0.7239, allocations: 0.8514 MB / 0.6397 GB, free: 8.27 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03455/0.7584, allocations: 6.163 MB / 0.6457 GB, free: 2.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/0.7696, allocations: 4.25 MB / 0.6499 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003532/0.77, allocations: 283.3 kB / 0.6501 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001752/0.7717, allocations: 383.7 kB / 0.6505 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02575/0.7975, allocations: 11.85 MB / 0.6621 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003135/0.7978, allocations: 59.52 kB / 0.6621 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001405/0.7993, allocations: 179.8 kB / 0.6623 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004253/0.8035, allocations: 2.268 MB / 0.6645 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02154/0.8251, allocations: 9.658 MB / 0.674 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3636/1.189, allocations: 46.3 MB / 0.7192 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/1.199, allocations: 3.785 MB / 0.7229 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003095/1.202, allocations: 2.018 MB / 0.7248 GB, free: 163 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01034/1.212, allocations: 5.674 MB / 0.7304 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/1.213, allocations: 56.8 kB / 0.7304 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.378e-06/1.213, allocations: 1.375 kB / 0.7304 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.041/1.254, allocations: 15.67 MB / 0.7457 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.691e-05/1.254, allocations: 231 kB / 0.746 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00772/1.261, allocations: 5.661 MB / 0.7515 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003711/1.262, allocations: 48.05 kB / 0.7515 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00227/1.264, allocations: 3.857 MB / 0.7553 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007649/1.265, allocations: 0.6535 MB / 0.7559 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/1.265, allocations: 125.1 kB / 0.7561 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002815/1.265, allocations: 0.5904 MB / 0.7566 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002566/1.268, allocations: 2.053 MB / 0.7586 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004057/1.272, allocations: 6.336 MB / 0.7648 GB, free: 136.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004512/1.277, allocations: 3.535 MB / 0.7683 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.612e-05/1.277, allocations: 47.95 kB / 0.7683 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.01531/1.292, allocations: 8.6 MB / 0.7767 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002266/1.292, allocations: 71.25 kB / 0.7768 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003097/1.293, allocations: 152 kB / 0.7769 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/1.295, allocations: 0.7421 MB / 0.7777 GB, free: 123.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004585/1.299, allocations: 1.513 MB / 0.7791 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006415/1.306, allocations: 6.437 MB / 0.7854 GB, free: 115.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007168/1.313, allocations: 347.6 kB / 0.7858 GB, free: 115 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/1.314, allocations: 417.5 kB / 0.7862 GB, free: 114.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (804): * Single equations (assignments): 797 * Array equations: 5 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005368/1.32, allocations: 2.503 MB / 0.7886 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/1.321, allocations: 473.8 kB / 0.789 GB, free: 111.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005048/1.326, allocations: 2.66 MB / 0.7916 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.776e-05/1.326, allocations: 24 kB / 0.7917 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/1.326, allocations: 4 kB / 0.7917 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/1.326, allocations: 12.31 kB / 0.7917 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/1.341, allocations: 7.583 MB / 0.7991 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.329e-05/1.341, allocations: 4 kB / 0.7991 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/1.343, allocations: 255.6 kB / 0.7993 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/1.344, allocations: 0.4946 MB / 0.7998 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001934/1.344, allocations: 32.58 kB / 0.7998 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00557/1.35, allocations: 5.789 MB / 0.8055 GB, free: 94.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.35, allocations: 7.938 kB / 0.8055 GB, free: 94.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006419/1.356, allocations: 4.925 MB / 0.8103 GB, free: 89.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/1.358, allocations: 0.53 MB / 0.8108 GB, free: 88.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001366/1.359, allocations: 35.98 kB / 0.8109 GB, free: 88.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/1.362, allocations: 75.92 kB / 0.8109 GB, free: 88.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/1.362, allocations: 92.83 kB / 0.811 GB, free: 88.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/1.362, allocations: 47.98 kB / 0.8111 GB, free: 88.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005591/1.368, allocations: 3.615 MB / 0.8146 GB, free: 85.06 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/1.368, allocations: 4 kB / 0.8146 GB, free: 85.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008705/1.376, allocations: 1.122 MB / 0.8157 GB, free: 83.94 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (120): * Single equations (assignments): 115 * 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 {(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.007246/1.384, allocations: 5.575 MB / 0.8212 GB, free: 78.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007157/1.391, allocations: 5.107 MB / 0.8261 GB, free: 73.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.391, allocations: 3.938 kB / 0.8261 GB, free: 73.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001692/1.392, allocations: 1.476 MB / 0.8276 GB, free: 71.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003683/1.396, allocations: 0.6229 MB / 0.8282 GB, free: 71.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07626/1.472, allocations: 44.52 MB / 0.8717 GB, free: 21.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00628/1.479, allocations: 3.861 MB / 0.8754 GB, free: 17.94 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005741/1.485, allocations: 2.137 MB / 0.8775 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003764/1.488, allocations: 2.382 MB / 0.8799 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of SimCode: time 1.743e-06/1.488, allocations: 0 / 0.8799 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4697/1.958, allocations: 93.86 MB / 0.9715 GB, free: 181 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002734/1.958, allocations: 199.9 kB / 0.9717 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.656/6.615, allocations: 0 / 0.9717 GB, free: 180.7 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat