Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009437/0.0009437, allocations: 98.7 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 197.7 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 45.91 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003104, allocations: 8 kB / 418.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1459, allocations: 63.47 MB / 481.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.4529/0.5988, allocations: 105.6 MB / 0.5734 GB, free: 9.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.07237/0.6713, allocations: 23.37 MB / 0.5962 GB, free: 1.863 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03275/0.7041, allocations: 0.5222 MB / 0.5967 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02183/0.726, allocations: 5.389 MB / 0.602 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05723/0.7832, allocations: 15.06 MB / 0.6167 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008436/0.7917, allocations: 1.213 MB / 0.6179 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.4958/1.288, allocations: 95.85 MB / 0.7115 GB, free: 93.86 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01632/1.304, allocations: 9.717 MB / 0.721 GB, free: 93.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005106/1.309, allocations: 1.967 MB / 0.7229 GB, free: 93.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005475/1.315, allocations: 2.645 MB / 0.7255 GB, free: 93.06 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002286/1.317, allocations: 272 kB / 0.7257 GB, free: 93.05 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004108/1.321, allocations: 1.125 MB / 0.7268 GB, free: 93.05 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004583/1.326, allocations: 3.155 MB / 0.7299 GB, free: 93.05 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003683/1.329, allocations: 1.557 MB / 0.7314 GB, free: 93.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01396/1.343, allocations: 10.68 MB / 0.7419 GB, free: 89.37 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.343, allocations: 1.531 kB / 0.7419 GB, free: 89.37 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.847e-06/1.343, allocations: 3.062 kB / 0.7419 GB, free: 89.37 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0006205/1.344, allocations: 0 / 0.7419 GB, free: 89.37 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.03145/1.376, allocations: 8.246 MB / 0.7499 GB, free: 84.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/1.376, allocations: 11.72 kB / 0.7499 GB, free: 84.66 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007493/1.383, allocations: 1.241 MB / 0.7512 GB, free: 84.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0805/1.464, allocations: 14.15 MB / 0.765 GB, free: 72.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01561/1.479, allocations: 6.275 MB / 0.7711 GB, free: 67.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004113/1.48, allocations: 457.2 kB / 0.7715 GB, free: 67.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002978/1.483, allocations: 0.6047 MB / 0.7721 GB, free: 67.08 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03528/1.518, allocations: 17.82 MB / 0.7895 GB, free: 53.15 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003038/1.518, allocations: 73.06 kB / 0.7896 GB, free: 53.11 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000955/1.519, allocations: 285.8 kB / 0.7899 GB, free: 53.03 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005029/1.524, allocations: 3.145 MB / 0.7929 GB, free: 50.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02904/1.553, allocations: 14.66 MB / 0.8073 GB, free: 40.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0772/1.631, allocations: 65.7 MB / 0.8714 GB, free: 1.566 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01778/1.649, allocations: 6.417 MB / 0.8777 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007593/1.649, allocations: 0.6517 MB / 0.8783 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/1.649, allocations: 59.31 kB / 0.8784 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=231): time 5.14e-06/1.649, allocations: 1.75 kB / 0.8784 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=255): time 0.07549/1.725, allocations: 28.4 MB / 0.9061 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/1.725, allocations: 295.9 kB / 0.9064 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01393/1.739, allocations: 7.887 MB / 0.9141 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008072/1.74, allocations: 61.7 kB / 0.9142 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005284/1.745, allocations: 5.362 MB / 0.9194 GB, free: 176 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001655/1.747, allocations: 0.9881 MB / 0.9204 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006636/1.748, allocations: 169.6 kB / 0.9205 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0004982/1.748, allocations: 0.6615 MB / 0.9212 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004748/1.753, allocations: 2.983 MB / 0.9241 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008431/1.761, allocations: 8.164 MB / 0.9321 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3099/2.071, allocations: 4.812 MB / 0.9368 GB, free: 235.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001867/2.071, allocations: 51.69 kB / 0.9368 GB, free: 235.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.02889/2.1, allocations: 11.91 MB / 0.9484 GB, free: 233.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/2.101, allocations: 85.52 kB / 0.9485 GB, free: 233.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004204/2.101, allocations: 184 kB / 0.9487 GB, free: 233.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004373/2.105, allocations: 1.325 MB / 0.95 GB, free: 233.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00772/2.113, allocations: 1.936 MB / 0.9519 GB, free: 233.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01597/2.129, allocations: 12.86 MB / 0.9644 GB, free: 225 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008984/2.138, allocations: 474.8 kB / 0.9649 GB, free: 224.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002079/2.14, allocations: 0.5093 MB / 0.9654 GB, free: 224.8 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 839 * Number of states: 0 () * Number of discrete variables: 74 (frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1022): * Single equations (assignments): 1015 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009803/2.15, allocations: 3.518 MB / 0.9688 GB, free: 223.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001918/2.152, allocations: 0.6245 MB / 0.9694 GB, free: 223.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009927/2.162, allocations: 4.967 MB / 0.9743 GB, free: 221.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.642e-05/2.162, allocations: 32.39 kB / 0.9743 GB, free: 221.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.023e-05/2.162, allocations: 15.27 kB / 0.9743 GB, free: 221.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.96e-05/2.162, allocations: 12.28 kB / 0.9743 GB, free: 221.4 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.033/2.195, allocations: 13.12 MB / 0.9872 GB, free: 215.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.993e-05/2.195, allocations: 8.859 kB / 0.9872 GB, free: 215.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/2.197, allocations: 398.3 kB / 0.9876 GB, free: 215.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002756/2.2, allocations: 0.9912 MB / 0.9885 GB, free: 214.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003604/2.2, allocations: 43.7 kB / 0.9886 GB, free: 214.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/2.212, allocations: 11.8 MB / 1 GB, free: 203.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/2.212, allocations: 0 / 1 GB, free: 203.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/2.226, allocations: 8.465 MB / 1.008 GB, free: 196.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002988/2.229, allocations: 0.7075 MB / 1.009 GB, free: 195.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002342/2.231, allocations: 44 kB / 1.009 GB, free: 195.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004205/2.235, allocations: 161.9 kB / 1.009 GB, free: 195.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006944/2.236, allocations: 153.7 kB / 1.009 GB, free: 195.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003788/2.236, allocations: 64 kB / 1.009 GB, free: 195.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.009825/2.246, allocations: 5.115 MB / 1.014 GB, free: 190.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.81e-07/2.246, allocations: 0 / 1.014 GB, free: 190.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01049/2.257, allocations: 1.683 MB / 1.016 GB, free: 188.6 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (195): * Single equations (assignments): 188 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(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.01339/2.27, allocations: 9.296 MB / 1.025 GB, free: 179.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01229/2.283, allocations: 7.642 MB / 1.033 GB, free: 171.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/2.283, allocations: 0 / 1.033 GB, free: 171.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003484/2.286, allocations: 2.683 MB / 1.035 GB, free: 168.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005645/2.292, allocations: 0.9169 MB / 1.036 GB, free: 167.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3991/2.691, allocations: 195.1 MB / 1.227 GB, free: 227.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008537/2.7, allocations: 5.571 MB / 1.232 GB, free: 225.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007597/2.707, allocations: 2.733 MB / 1.235 GB, free: 225.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006335/2.714, allocations: 3.631 MB / 1.238 GB, free: 222.7 MB / 0.6075 GB Notification: Performance of SimCode: time 8.72e-07/2.714, allocations: 2.344 kB / 1.238 GB, free: 222.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.23/2.944, allocations: 138.9 MB / 1.374 GB, free: 90.22 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/2.944, allocations: 198.8 kB / 1.374 GB, free: 89.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.068/9.012, allocations: 4.062 kB / 1.374 GB, free: 89.98 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat