Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001038/0.001038, allocations: 193.6 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009406/0.0009406, allocations: 96.17 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 45.15 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.159e-05/2.162e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1286, allocations: 63.24 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4245/0.5531, allocations: 108.3 MB / 0.6103 GB, free: 10.19 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.5535, allocations: 80.2 kB / 0.6103 GB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2828/0.8363, allocations: 108.4 MB / 0.7162 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8363, allocations: 0 / 0.7162 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003867/0.8367, allocations: 104 kB / 0.7163 GB, free: 5.785 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01786/0.8546, allocations: 5.18 MB / 0.7214 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.8547, allocations: 12.03 kB / 0.7214 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02693/0.8816, allocations: 6.876 MB / 0.7281 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01564/0.8973, allocations: 5.735 MB / 0.7337 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/0.8977, allocations: 164 kB / 0.7339 GB, free: 3.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002724/0.9004, allocations: 299.9 kB / 0.7341 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01346/0.9139, allocations: 6.787 MB / 0.7408 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02177/0.9357, allocations: 10.87 MB / 0.7514 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003273/0.9361, allocations: 79.25 kB / 0.7515 GB, free: 424 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001768/0.9379, allocations: 40 kB / 0.7515 GB, free: 384 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3276/1.265, allocations: 1.125 MB / 0.7526 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05719/1.323, allocations: 54.38 MB / 0.8057 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/1.326, allocations: 3.137 MB / 0.8088 GB, free: 87.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/1.328, allocations: 1.845 MB / 0.8106 GB, free: 87.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.082e-05/1.328, allocations: 29.97 kB / 0.8106 GB, free: 87.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/1.328, allocations: 48.66 kB / 0.8106 GB, free: 87.03 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=151): time 3.948e-06/1.328, allocations: 0 / 0.8106 GB, free: 87.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165): time 0.02684/1.355, allocations: 15.84 MB / 0.8261 GB, free: 82.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/1.355, allocations: 206.1 kB / 0.8263 GB, free: 82.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005397/1.36, allocations: 3.931 MB / 0.8301 GB, free: 81.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003389/1.361, allocations: 31.42 kB / 0.8302 GB, free: 81.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00228/1.363, allocations: 3.92 MB / 0.834 GB, free: 78.35 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008116/1.364, allocations: 0.6578 MB / 0.8346 GB, free: 77.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/1.364, allocations: 0 / 0.8346 GB, free: 77.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003347/1.364, allocations: 0.602 MB / 0.8352 GB, free: 77.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/1.367, allocations: 1.898 MB / 0.8371 GB, free: 76.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004403/1.371, allocations: 6.286 MB / 0.8432 GB, free: 70.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004676/1.376, allocations: 3.449 MB / 0.8466 GB, free: 69.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.677e-05/1.376, allocations: 48.94 kB / 0.8466 GB, free: 69.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.01239/1.388, allocations: 7.543 MB / 0.854 GB, free: 66.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.498e-05/1.389, allocations: 72.56 kB / 0.8541 GB, free: 66.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001394/1.389, allocations: 160.9 kB / 0.8542 GB, free: 66.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/1.39, allocations: 0.5846 MB / 0.8548 GB, free: 66.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004229/1.394, allocations: 1.561 MB / 0.8563 GB, free: 66.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004954/1.399, allocations: 5.407 MB / 0.8616 GB, free: 62.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004525/1.404, allocations: 215.6 kB / 0.8618 GB, free: 62.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006941/1.404, allocations: 431.9 kB / 0.8622 GB, free: 62.64 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * Number of states: 0 () * Number of discrete variables: 49 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (847): * Single equations (assignments): 842 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007874/1.405, allocations: 0.4934 MB / 0.8627 GB, free: 62.24 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003742/1.409, allocations: 2.642 MB / 0.8653 GB, free: 61.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005183/1.409, allocations: 401.9 kB / 0.8657 GB, free: 61.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003706/1.413, allocations: 2.287 MB / 0.8679 GB, free: 60.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-05/1.413, allocations: 21.28 kB / 0.8679 GB, free: 60.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.413, allocations: 3.406 kB / 0.8679 GB, free: 60.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/1.413, allocations: 9.438 kB / 0.8679 GB, free: 60.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/1.424, allocations: 6.351 MB / 0.8741 GB, free: 57.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.424, allocations: 0 / 0.8741 GB, free: 57.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/1.426, allocations: 233.2 kB / 0.8744 GB, free: 57.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008483/1.426, allocations: 336 kB / 0.8747 GB, free: 57.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/1.427, allocations: 7.469 kB / 0.8747 GB, free: 57.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/1.431, allocations: 4.734 MB / 0.8793 GB, free: 52.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.431, allocations: 0 / 0.8793 GB, free: 52.81 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005375/1.436, allocations: 4.555 MB / 0.8838 GB, free: 48.74 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/1.437, allocations: 446.3 kB / 0.8842 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007461/1.438, allocations: 4 kB / 0.8842 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/1.44, allocations: 48.91 kB / 0.8842 GB, free: 48.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/1.44, allocations: 87.88 kB / 0.8843 GB, free: 48.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.075e-05/1.44, allocations: 36 kB / 0.8844 GB, free: 48.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004884/1.445, allocations: 2.652 MB / 0.8869 GB, free: 45.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/1.445, allocations: 3.938 kB / 0.8869 GB, free: 45.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006558/1.451, allocations: 0.9636 MB / 0.8879 GB, free: 44.91 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 120 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006227/1.457, allocations: 5.343 MB / 0.8931 GB, free: 40.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007084/1.465, allocations: 4.736 MB / 0.8977 GB, free: 35.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.465, allocations: 0 / 0.8977 GB, free: 35.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/1.466, allocations: 1.393 MB / 0.8991 GB, free: 34.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/1.469, allocations: 500 kB / 0.8996 GB, free: 34.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02715/1.496, allocations: 10.05 MB / 0.9094 GB, free: 25.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005976/1.502, allocations: 3.969 MB / 0.9133 GB, free: 22.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005724/1.508, allocations: 2.19 MB / 0.9154 GB, free: 21.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003643/1.512, allocations: 2.362 MB / 0.9177 GB, free: 18.89 MB / 0.5261 GB Notification: Performance of SimCode: time 1.313e-06/1.512, allocations: 0 / 0.9177 GB, free: 18.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4385/1.95, allocations: 82.05 MB / 0.9978 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/1.951, allocations: 140.4 kB / 0.998 GB, free: 117 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.262/6.213, allocations: 0 / 0.998 GB, free: 117 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat