Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001542/0.001542, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.2 MB / 245 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001026/0.001026, allocations: 103.8 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4385/0.4385, allocations: 45.22 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002623/0.0002622, allocations: 8 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3729, allocations: 63.24 MB / 0.5193 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.5239, allocations: 107.8 MB / 0.6246 GB, free: 11.59 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.5242, allocations: 83.94 kB / 0.6246 GB, free: 11.51 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6869/1.211, allocations: 161.1 MB / 0.782 GB, free: 60.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.847e-06/1.211, allocations: 4 kB / 0.782 GB, free: 60.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006526/1.212, allocations: 159.9 kB / 0.7821 GB, free: 60.5 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: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.02977/1.242, allocations: 8.449 MB / 0.7904 GB, free: 51.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/1.242, allocations: 8.031 kB / 0.7904 GB, free: 51.95 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006543/1.248, allocations: 1.309 MB / 0.7916 GB, free: 50.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04409/1.292, allocations: 11.91 MB / 0.8033 GB, free: 38.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0258/1.318, allocations: 9.125 MB / 0.8122 GB, free: 29.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006658/1.319, allocations: 0.5697 MB / 0.8127 GB, free: 28.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004199/1.323, allocations: 0.7614 MB / 0.8135 GB, free: 28.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04373/1.367, allocations: 18.1 MB / 0.8312 GB, free: 8.586 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005165/1.367, allocations: 103.1 kB / 0.8313 GB, free: 8.484 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002615/1.37, allocations: 363.8 kB / 0.8316 GB, free: 8.129 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002022/1.372, allocations: 1.578 MB / 0.8332 GB, free: 6.547 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0332/1.405, allocations: 14.56 MB / 0.8474 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7566/2.162, allocations: 75.42 MB / 0.921 GB, free: 57.61 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03462/2.197, allocations: 7.494 MB / 0.9283 GB, free: 56.92 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009441/2.198, allocations: 0.6545 MB / 0.929 GB, free: 56.35 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.205e-05/2.198, allocations: 62.12 kB / 0.929 GB, free: 56.31 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=239): time 8.165e-06/2.198, allocations: 0 / 0.929 GB, free: 56.31 MB / 0.5262 GB Notification: Performance of matching and sorting (n=263): time 0.0853/2.283, allocations: 26.9 MB / 0.9553 GB, free: 49.99 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/2.283, allocations: 292 kB / 0.9556 GB, free: 49.68 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01487/2.298, allocations: 6.492 MB / 0.9619 GB, free: 49.17 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006664/2.299, allocations: 68.05 kB / 0.962 GB, free: 49.14 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.004999/2.304, allocations: 5.332 MB / 0.9672 GB, free: 46.5 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001647/2.306, allocations: 1.018 MB / 0.9682 GB, free: 45.93 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006142/2.306, allocations: 172.6 kB / 0.9684 GB, free: 45.93 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0004367/2.307, allocations: 0.6654 MB / 0.969 GB, free: 45.6 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003889/2.311, allocations: 2.898 MB / 0.9718 GB, free: 45.58 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006496/2.317, allocations: 8.133 MB / 0.9798 GB, free: 38.8 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007207/2.324, allocations: 4.754 MB / 0.9844 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000214/2.325, allocations: 56.56 kB / 0.9845 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.02911/2.354, allocations: 11.57 MB / 0.9958 GB, free: 33.86 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001604/2.354, allocations: 89.73 kB / 0.9959 GB, free: 33.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003037/2.354, allocations: 183.2 kB / 0.996 GB, free: 33.86 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002654/2.357, allocations: 1.003 MB / 0.997 GB, free: 33.65 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006859/2.364, allocations: 1.927 MB / 0.9989 GB, free: 33.41 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/2.375, allocations: 11.18 MB / 1.01 GB, free: 25.59 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008732/2.384, allocations: 462.9 kB / 1.01 GB, free: 25.42 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/2.386, allocations: 0.5082 MB / 1.011 GB, free: 25.36 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1040): * Single equations (assignments): 1033 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00975/2.395, allocations: 3.516 MB / 1.014 GB, free: 23.36 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002021/2.397, allocations: 0.6247 MB / 1.015 GB, free: 22.72 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008443/2.406, allocations: 4.596 MB / 1.019 GB, free: 18.91 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.616e-05/2.406, allocations: 28 kB / 1.019 GB, free: 18.89 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-05/2.406, allocations: 8 kB / 1.019 GB, free: 18.88 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/2.406, allocations: 14.58 kB / 1.019 GB, free: 18.88 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02678/2.433, allocations: 12.44 MB / 1.031 GB, free: 8.801 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/2.433, allocations: 0 / 1.031 GB, free: 8.801 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/2.435, allocations: 396.7 kB / 1.032 GB, free: 8.48 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001922/2.437, allocations: 0.6674 MB / 1.033 GB, free: 7.98 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/2.437, allocations: 47.56 kB / 1.033 GB, free: 7.938 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009674/2.447, allocations: 10.07 MB / 1.042 GB, free: 14.27 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/2.447, allocations: 0 / 1.042 GB, free: 14.27 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/2.461, allocations: 7.968 MB / 1.05 GB, free: 7.199 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003005/2.464, allocations: 0.6764 MB / 1.051 GB, free: 6.527 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001308/2.466, allocations: 45.09 kB / 1.051 GB, free: 6.484 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/2.468, allocations: 144.5 kB / 1.051 GB, free: 6.383 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000417/2.469, allocations: 157 kB / 1.051 GB, free: 6.285 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/2.469, allocations: 66.73 kB / 1.051 GB, free: 6.223 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.00919/2.478, allocations: 4.637 MB / 1.056 GB, free: 2.445 MB / 0.5418 GB Notification: Performance of sort global known variables: time 3.1e-07/2.478, allocations: 0 / 1.056 GB, free: 2.445 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01208/2.49, allocations: 1.643 MB / 1.057 GB, free: 0.8086 MB / 0.5418 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 (207): * Single equations (assignments): 200 * 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%) 10,(1,100.0%) 10,(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.01519/2.506, allocations: 8.813 MB / 1.066 GB, free: 8.918 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01326/2.519, allocations: 7.493 MB / 1.073 GB, free: 2.324 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/2.519, allocations: 4 kB / 1.073 GB, free: 2.32 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.004078/2.523, allocations: 2.604 MB / 1.076 GB, free: 0 / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006618/2.53, allocations: 0.9269 MB / 1.077 GB, free: 15.28 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5129/3.043, allocations: 193.9 MB / 1.266 GB, free: 19.51 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02078/3.064, allocations: 5.551 MB / 1.271 GB, free: 18.64 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.01487/3.078, allocations: 2.766 MB / 1.274 GB, free: 18.45 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006882/3.085, allocations: 3.631 MB / 1.278 GB, free: 18.45 MB / 0.5887 GB Notification: Performance of SimCode: time 1.303e-06/3.085, allocations: 0 / 1.278 GB, free: 18.45 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5696/3.655, allocations: 135.9 MB / 1.41 GB, free: 145.3 MB / 0.5887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/3.655, allocations: 194.8 kB / 1.411 GB, free: 145.1 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/11.3, allocations: 2.812 kB / 1.411 GB, free: 145.1 MB / 0.5887 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat