Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009759/0.0009757, allocations: 96.59 kB / 17 MB, free: 6.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 190.2 kB / 17.9 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 45.92 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003121, allocations: 8 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 63.47 MB / 481.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3461/0.4881, allocations: 65.68 MB / 0.5345 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03792/0.526, allocations: 13.76 MB / 0.5479 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0197/0.5458, allocations: 316 kB / 0.5482 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01261/0.5584, allocations: 3.466 MB / 0.5516 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03593/0.5944, allocations: 10.19 MB / 0.5616 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005894/0.6003, allocations: 0.7836 MB / 0.5623 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08442/0.6848, allocations: 62.08 MB / 0.623 GB, free: 7.246 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01118/0.696, allocations: 5.617 MB / 0.6284 GB, free: 1.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004222/0.7003, allocations: 1.603 MB / 0.63 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0047/0.705, allocations: 2.465 MB / 0.6324 GB, free: 13.49 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001353/0.7064, allocations: 172 kB / 0.6326 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003409/0.7099, allocations: 1.073 MB / 0.6336 GB, free: 12.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003438/0.7133, allocations: 2.201 MB / 0.6358 GB, free: 10.04 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002346/0.7157, allocations: 1.041 MB / 0.6368 GB, free: 8.988 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009323/0.725, allocations: 6.94 MB / 0.6436 GB, free: 2.031 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.445e-06/0.7251, allocations: 4 kB / 0.6436 GB, free: 2.027 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.7251, allocations: 3.938 kB / 0.6436 GB, free: 2.023 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003575/0.7255, allocations: 0 / 0.6436 GB, free: 2.023 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.01451/0.74, allocations: 5.308 MB / 0.6488 GB, free: 12.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.7401, allocations: 8.031 kB / 0.6488 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002951/0.743, allocations: 0.8475 MB / 0.6496 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03331/0.7764, allocations: 6.171 MB / 0.6556 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/0.7866, allocations: 4.036 MB / 0.6596 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003897/0.787, allocations: 287.3 kB / 0.6598 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002244/0.7893, allocations: 383.6 kB / 0.6602 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02721/0.8165, allocations: 11.85 MB / 0.6718 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003116/0.8169, allocations: 55.53 kB / 0.6718 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001458/0.8184, allocations: 179.8 kB / 0.672 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003921/0.8223, allocations: 2.276 MB / 0.6742 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02096/0.8433, allocations: 9.646 MB / 0.6836 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3743/1.218, allocations: 46.29 MB / 0.7289 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/1.228, allocations: 3.791 MB / 0.7326 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003266/1.232, allocations: 2.009 MB / 0.7345 GB, free: 155 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/1.243, allocations: 5.668 MB / 0.7401 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/1.243, allocations: 51.67 kB / 0.7401 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 5.781e-06/1.243, allocations: 1.344 kB / 0.7401 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04373/1.287, allocations: 15.69 MB / 0.7554 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/1.287, allocations: 220.7 kB / 0.7556 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006981/1.294, allocations: 5.663 MB / 0.7612 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003004/1.294, allocations: 48.98 kB / 0.7612 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001863/1.296, allocations: 3.849 MB / 0.765 GB, free: 138 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005762/1.297, allocations: 0.6529 MB / 0.7656 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/1.297, allocations: 129.2 kB / 0.7657 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002675/1.297, allocations: 0.5867 MB / 0.7663 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002367/1.3, allocations: 2.066 MB / 0.7683 GB, free: 134.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003783/1.303, allocations: 6.331 MB / 0.7745 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003725/1.307, allocations: 3.534 MB / 0.778 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.985e-05/1.307, allocations: 44 kB / 0.778 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.01191/1.319, allocations: 8.589 MB / 0.7864 GB, free: 114.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.039e-05/1.319, allocations: 75.95 kB / 0.7865 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/1.319, allocations: 152.1 kB / 0.7866 GB, free: 114 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/1.321, allocations: 0.7432 MB / 0.7873 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003944/1.325, allocations: 1.517 MB / 0.7888 GB, free: 111.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005821/1.331, allocations: 6.439 MB / 0.7951 GB, free: 105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005585/1.336, allocations: 352.4 kB / 0.7954 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009219/1.337, allocations: 426.6 kB / 0.7958 GB, free: 104.3 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.004747/1.342, allocations: 2.513 MB / 0.7983 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/1.343, allocations: 473.9 kB / 0.7987 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004068/1.347, allocations: 2.64 MB / 0.8013 GB, free: 98.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/1.347, allocations: 24 kB / 0.8014 GB, free: 98.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/1.347, allocations: 7.938 kB / 0.8014 GB, free: 98.58 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/1.347, allocations: 7.969 kB / 0.8014 GB, free: 98.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/1.359, allocations: 7.586 MB / 0.8088 GB, free: 90.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/1.359, allocations: 0 / 0.8088 GB, free: 90.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/1.36, allocations: 255.6 kB / 0.809 GB, free: 90.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/1.361, allocations: 0.4935 MB / 0.8095 GB, free: 90.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/1.361, allocations: 32.94 kB / 0.8095 GB, free: 90.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005097/1.366, allocations: 5.782 MB / 0.8152 GB, free: 84.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.366, allocations: 7.953 kB / 0.8152 GB, free: 84.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005864/1.372, allocations: 4.929 MB / 0.82 GB, free: 79.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/1.374, allocations: 0.534 MB / 0.8205 GB, free: 78.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004519/1.374, allocations: 35.98 kB / 0.8206 GB, free: 78.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/1.375, allocations: 71.92 kB / 0.8206 GB, free: 78.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/1.376, allocations: 96.81 kB / 0.8207 GB, free: 78.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.623e-05/1.376, allocations: 43.98 kB / 0.8208 GB, free: 78.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004762/1.38, allocations: 3.627 MB / 0.8243 GB, free: 74.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.38, allocations: 384 / 0.8243 GB, free: 74.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005908/1.386, allocations: 1.127 MB / 0.8254 GB, free: 73.59 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.006336/1.393, allocations: 5.573 MB / 0.8308 GB, free: 67.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007297/1.4, allocations: 5.104 MB / 0.8358 GB, free: 62.86 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.4, allocations: 4 kB / 0.8358 GB, free: 62.85 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001726/1.402, allocations: 1.476 MB / 0.8373 GB, free: 61.36 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004835/1.407, allocations: 0.6234 MB / 0.8379 GB, free: 60.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07732/1.484, allocations: 44.52 MB / 0.8814 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005845/1.49, allocations: 3.873 MB / 0.8851 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004996/1.495, allocations: 2.133 MB / 0.8872 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003074/1.498, allocations: 2.382 MB / 0.8895 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of SimCode: time 1.262e-06/1.498, allocations: 0 / 0.8895 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4056/1.904, allocations: 93.86 MB / 0.9812 GB, free: 133.6 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001265/1.904, allocations: 207 kB / 0.9814 GB, free: 133.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.761/6.664, allocations: 0 / 0.9814 GB, free: 133.4 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat