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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.394/1.394, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008642/0.0008641, allocations: 99.39 kB / 292.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3857/0.3857, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003659, allocations: 12 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.395, allocations: 61.9 MB / 0.5096 GB, free: 37.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.5557, allocations: 108.2 MB / 0.6153 GB, free: 2.832 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.556, allocations: 79.94 kB / 0.6154 GB, free: 2.758 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5355/1.092, allocations: 108.1 MB / 0.721 GB, free: 95.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.092, allocations: 0 / 0.721 GB, free: 95.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00038/1.092, allocations: 102.4 kB / 0.7211 GB, free: 95.45 MB / 490.7 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.02024/1.112, allocations: 5.618 MB / 0.7266 GB, free: 92.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/1.112, allocations: 11.72 kB / 0.7266 GB, free: 92.72 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004362/1.117, allocations: 0.8966 MB / 0.7275 GB, free: 92.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02685/1.144, allocations: 6.874 MB / 0.7342 GB, free: 91.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01683/1.16, allocations: 6.418 MB / 0.7405 GB, free: 88.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003644/1.161, allocations: 386 kB / 0.7408 GB, free: 88.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002374/1.163, allocations: 0.5091 MB / 0.7413 GB, free: 88.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02678/1.19, allocations: 12.42 MB / 0.7535 GB, free: 82.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003316/1.19, allocations: 69.78 kB / 0.7535 GB, free: 82.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001652/1.192, allocations: 252.6 kB / 0.7538 GB, free: 81.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001437/1.194, allocations: 1.131 MB / 0.7549 GB, free: 81.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01899/1.213, allocations: 9.81 MB / 0.7645 GB, free: 78.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05799/1.271, allocations: 56.41 MB / 0.8195 GB, free: 21.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/1.281, allocations: 4.262 MB / 0.8237 GB, free: 17.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/1.291, allocations: 5.645 MB / 0.8292 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/1.291, allocations: 51.45 kB / 0.8293 GB, free: 11.65 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 5.27e-06/1.291, allocations: 0 / 0.8293 GB, free: 11.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=162): time 0.04085/1.332, allocations: 15.01 MB / 0.8439 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/1.332, allocations: 230.1 kB / 0.8442 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01067/1.343, allocations: 5.013 MB / 0.849 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003958/1.344, allocations: 49.7 kB / 0.8491 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004122/1.348, allocations: 3.87 MB / 0.8529 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001135/1.349, allocations: 0.6509 MB / 0.8535 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006956/1.35, allocations: 128 kB / 0.8536 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004775/1.35, allocations: 0.5869 MB / 0.8542 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003349/1.353, allocations: 1.973 MB / 0.8561 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006602/1.36, allocations: 6.246 MB / 0.8622 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005835/1.366, allocations: 3.456 MB / 0.8656 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/1.366, allocations: 40 kB / 0.8656 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01877/1.385, allocations: 8.365 MB / 0.8738 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/1.385, allocations: 68 kB / 0.8739 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001737/1.385, allocations: 156 kB / 0.874 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/1.387, allocations: 0.5921 MB / 0.8746 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005345/1.392, allocations: 1.493 MB / 0.8761 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007073/1.399, allocations: 5.822 MB / 0.8817 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006499/1.406, allocations: 343.5 kB / 0.8821 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/1.407, allocations: 419.1 kB / 0.8825 GB, free: 2.457 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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 (809): * Single equations (assignments): 804 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3205/1.728, allocations: 2.52 MB / 0.8849 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/1.729, allocations: 464.5 kB / 0.8854 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005103/1.734, allocations: 2.427 MB / 0.8878 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/1.735, allocations: 21.44 kB / 0.8878 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/1.735, allocations: 5.781 kB / 0.8878 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/1.735, allocations: 9.656 kB / 0.8878 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/1.749, allocations: 7.238 MB / 0.8949 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.749, allocations: 2.938 kB / 0.8949 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/1.75, allocations: 252.1 kB / 0.8951 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009699/1.751, allocations: 369.3 kB / 0.8954 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/1.751, allocations: 33.41 kB / 0.8955 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00472/1.756, allocations: 5.154 MB / 0.9005 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.756, allocations: 4.094 kB / 0.9005 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006062/1.762, allocations: 5.119 MB / 0.9055 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00186/1.764, allocations: 0.5224 MB / 0.906 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005222/1.765, allocations: 35.66 kB / 0.9061 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/1.766, allocations: 72.38 kB / 0.9061 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/1.766, allocations: 95.64 kB / 0.9062 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/1.766, allocations: 45.33 kB / 0.9063 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006205/1.773, allocations: 3.59 MB / 0.9098 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.963e-06/1.773, allocations: 0 / 0.9098 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007499/1.78, allocations: 1.118 MB / 0.9109 GB, free: 118.6 MB / 0.5261 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.007662/1.788, allocations: 6.326 MB / 0.917 GB, free: 115 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00917/1.797, allocations: 4.958 MB / 0.9219 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/1.797, allocations: 1.031 kB / 0.9219 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/1.799, allocations: 1.417 MB / 0.9233 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/1.803, allocations: 0.5803 MB / 0.9238 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.114/1.917, allocations: 148.8 MB / 1.069 GB, free: 9.348 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005686/1.923, allocations: 3.974 MB / 1.073 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005912/1.929, allocations: 2.13 MB / 1.075 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003635/1.933, allocations: 2.388 MB / 1.077 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of SimCode: time 1.202e-06/1.933, allocations: 0 / 1.077 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5202/2.453, allocations: 93.47 MB / 1.169 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/2.453, allocations: 196.2 kB / 1.169 GB, free: 143.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.659/8.112, allocations: 0 / 1.169 GB, free: 143.2 MB / 0.5573 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