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.001113/0.001113, allocations: 94.92 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 205.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2073/0.2073, allocations: 45.92 MB / 344 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.000336, allocations: 8 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1436, allocations: 63.47 MB / 481.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3264/0.47, allocations: 62.03 MB / 0.5308 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03981/0.5098, allocations: 14.4 MB / 0.5449 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01773/0.5276, allocations: 311.5 kB / 0.5452 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0129/0.5405, allocations: 3.133 MB / 0.5482 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03611/0.5767, allocations: 8.982 MB / 0.557 GB, free: 8.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005495/0.5822, allocations: 0.7712 MB / 0.5578 GB, free: 8.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.06949/0.6517, allocations: 48.61 MB / 0.6052 GB, free: 8.578 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008538/0.6603, allocations: 5.571 MB / 0.6107 GB, free: 2.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/0.6634, allocations: 1.296 MB / 0.6119 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00311/0.6665, allocations: 1.694 MB / 0.6136 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009617/0.6675, allocations: 172 kB / 0.6138 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.6702, allocations: 1.049 MB / 0.6148 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002366/0.6726, allocations: 2.038 MB / 0.6168 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.674, allocations: 1.037 MB / 0.6178 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007848/0.6819, allocations: 6.948 MB / 0.6246 GB, free: 4.672 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6819, allocations: 0 / 0.6246 GB, free: 4.672 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.6819, allocations: 0 / 0.6246 GB, free: 4.672 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002949/0.6822, allocations: 0 / 0.6246 GB, free: 4.672 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01341/0.6957, allocations: 5.452 MB / 0.6299 GB, free: 15.15 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.6957, allocations: 8.031 kB / 0.6299 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003083/0.6988, allocations: 0.8475 MB / 0.6307 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04236/0.7412, allocations: 8.036 MB / 0.6386 GB, free: 6.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.7513, allocations: 3.837 MB / 0.6423 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002791/0.7516, allocations: 291.3 kB / 0.6426 GB, free: 2.055 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/0.7531, allocations: 375.8 kB / 0.643 GB, free: 1.688 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02413/0.7772, allocations: 11.95 MB / 0.6546 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001956/0.7774, allocations: 63.42 kB / 0.6547 GB, free: 4.828 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005877/0.778, allocations: 183.8 kB / 0.6549 GB, free: 4.648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00407/0.7821, allocations: 2.272 MB / 0.6571 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02174/0.8039, allocations: 9.794 MB / 0.6666 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4249/1.229, allocations: 46.46 MB / 0.712 GB, free: 155 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/1.24, allocations: 3.808 MB / 0.7157 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01252/1.252, allocations: 5.731 MB / 0.7213 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/1.252, allocations: 49.61 kB / 0.7214 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 3.767e-06/1.252, allocations: 0 / 0.7214 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04182/1.294, allocations: 16 MB / 0.737 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/1.294, allocations: 228.1 kB / 0.7372 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008187/1.302, allocations: 5.904 MB / 0.743 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003922/1.303, allocations: 52.42 kB / 0.743 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00239/1.305, allocations: 3.848 MB / 0.7468 GB, free: 141.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008492/1.306, allocations: 0.6532 MB / 0.7474 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/1.306, allocations: 131.1 kB / 0.7476 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003225/1.307, allocations: 0.5894 MB / 0.7481 GB, free: 140 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/1.309, allocations: 2.05 MB / 0.7501 GB, free: 139.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004577/1.314, allocations: 6.309 MB / 0.7563 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004882/1.319, allocations: 3.529 MB / 0.7597 GB, free: 129 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.435e-05/1.319, allocations: 44 kB / 0.7598 GB, free: 129 MB / 0.5294 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.01436/1.333, allocations: 8.602 MB / 0.7682 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.201e-05/1.333, allocations: 76.03 kB / 0.7683 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001967/1.334, allocations: 158.2 kB / 0.7684 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/1.335, allocations: 0.7402 MB / 0.7691 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004873/1.34, allocations: 1.509 MB / 0.7706 GB, free: 118 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006259/1.346, allocations: 6.559 MB / 0.777 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00684/1.353, allocations: 347.6 kB / 0.7773 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/1.355, allocations: 416 kB / 0.7777 GB, free: 110.4 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.004831/1.359, allocations: 2.507 MB / 0.7802 GB, free: 107.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.36, allocations: 472.1 kB / 0.7806 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004069/1.365, allocations: 2.653 MB / 0.7832 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/1.365, allocations: 23.95 kB / 0.7832 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.365, allocations: 4 kB / 0.7832 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/1.365, allocations: 3.984 kB / 0.7833 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/1.379, allocations: 7.607 MB / 0.7907 GB, free: 97.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/1.379, allocations: 4 kB / 0.7907 GB, free: 97.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/1.38, allocations: 259.6 kB / 0.7909 GB, free: 96.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/1.381, allocations: 0.4897 MB / 0.7914 GB, free: 96.31 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/1.381, allocations: 32.7 kB / 0.7914 GB, free: 96.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005206/1.386, allocations: 5.891 MB / 0.7972 GB, free: 90.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.386, allocations: 7.938 kB / 0.7972 GB, free: 90.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006364/1.393, allocations: 5.43 MB / 0.8025 GB, free: 84.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002147/1.395, allocations: 0.5419 MB / 0.803 GB, free: 84.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006991/1.396, allocations: 29.17 kB / 0.8031 GB, free: 84.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.397, allocations: 79.89 kB / 0.8031 GB, free: 83.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/1.397, allocations: 100.8 kB / 0.8032 GB, free: 83.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/1.397, allocations: 45.25 kB / 0.8033 GB, free: 83.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005845/1.403, allocations: 3.818 MB / 0.807 GB, free: 80 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.71e-07/1.403, allocations: 0 / 0.807 GB, free: 80 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008884/1.412, allocations: 1.131 MB / 0.8081 GB, free: 78.87 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.008283/1.421, allocations: 6.634 MB / 0.8146 GB, free: 72.13 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01003/1.431, allocations: 5.104 MB / 0.8196 GB, free: 67.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.797e-05/1.431, allocations: 0 / 0.8196 GB, free: 67.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002292/1.433, allocations: 1.484 MB / 0.821 GB, free: 65.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005616/1.439, allocations: 0.5919 MB / 0.8216 GB, free: 64.94 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3462/1.785, allocations: 128.2 MB / 0.9468 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008426/1.793, allocations: 3.963 MB / 0.9507 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.007162/1.801, allocations: 2.146 MB / 0.9528 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003634/1.804, allocations: 2.38 MB / 0.9551 GB, free: 165 MB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/1.804, allocations: 0 / 0.9551 GB, free: 165 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1453/1.95, allocations: 92.92 MB / 1.046 GB, free: 87.97 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/1.95, allocations: 205.3 kB / 1.046 GB, free: 87.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.861/6.811, allocations: 4 kB / 1.046 GB, free: 87.72 MB / 0.5606 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