Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002219/0.002219, allocations: 198.7 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.576/1.576, allocations: 227.2 MB / 245 MB, free: 5.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008742/0.0008742, allocations: 94.67 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.3803/0.3803, allocations: 45.22 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.0002619, allocations: 8 kB / 468.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3332, allocations: 63.25 MB / 0.5193 GB, free: 37.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.4877, allocations: 107.9 MB / 0.6246 GB, free: 11.41 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.488, allocations: 87.92 kB / 0.6247 GB, free: 11.33 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6741/1.162, allocations: 161.3 MB / 0.7822 GB, free: 60.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.266e-06/1.162, allocations: 0 / 0.7822 GB, free: 60.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004981/1.163, allocations: 167.9 kB / 0.7824 GB, free: 60 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02967/1.192, allocations: 8.469 MB / 0.7907 GB, free: 51.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/1.192, allocations: 8.031 kB / 0.7907 GB, free: 51.43 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006113/1.199, allocations: 1.314 MB / 0.792 GB, free: 50.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04392/1.242, allocations: 11.92 MB / 0.8036 GB, free: 38.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0245/1.267, allocations: 9.134 MB / 0.8125 GB, free: 28.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005421/1.268, allocations: 0.5697 MB / 0.8131 GB, free: 28.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003964/1.272, allocations: 0.7768 MB / 0.8138 GB, free: 27.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04425/1.316, allocations: 18.12 MB / 0.8315 GB, free: 8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006364/1.317, allocations: 103.1 kB / 0.8316 GB, free: 7.898 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00301/1.32, allocations: 359.8 kB / 0.832 GB, free: 7.547 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002099/1.322, allocations: 1.582 MB / 0.8335 GB, free: 5.961 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03514/1.357, allocations: 14.57 MB / 0.8477 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7334/2.09, allocations: 75.46 MB / 0.9214 GB, free: 56.07 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01835/2.109, allocations: 7.309 MB / 0.9286 GB, free: 55.38 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000676/2.109, allocations: 0.647 MB / 0.9292 GB, free: 54.82 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/2.109, allocations: 63.52 kB / 0.9293 GB, free: 54.78 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=231): time 6.502e-06/2.109, allocations: 0 / 0.9293 GB, free: 54.78 MB / 0.5262 GB Notification: Performance of matching and sorting (n=255): time 0.07733/2.187, allocations: 26.37 MB / 0.955 GB, free: 48.52 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/2.187, allocations: 284.9 kB / 0.9553 GB, free: 48.2 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01944/2.206, allocations: 6.531 MB / 0.9617 GB, free: 47.7 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0008466/2.207, allocations: 64.55 kB / 0.9617 GB, free: 47.67 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.005737/2.213, allocations: 5.366 MB / 0.967 GB, free: 45.03 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001894/2.215, allocations: 0.9821 MB / 0.9679 GB, free: 44.47 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/2.216, allocations: 178.8 kB / 0.9681 GB, free: 44.47 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0006416/2.217, allocations: 0.663 MB / 0.9688 GB, free: 44.15 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005159/2.222, allocations: 2.856 MB / 0.9715 GB, free: 44.12 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008809/2.231, allocations: 8.094 MB / 0.9794 GB, free: 37.34 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007557/2.238, allocations: 4.712 MB / 0.984 GB, free: 36.24 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002397/2.239, allocations: 53.12 kB / 0.9841 GB, free: 36.24 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1110) (initialization): time 0.02566/2.264, allocations: 11.53 MB / 0.9954 GB, free: 32.67 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002204/2.265, allocations: 85.72 kB / 0.9954 GB, free: 32.67 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004119/2.265, allocations: 187.8 kB / 0.9956 GB, free: 32.67 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003021/2.268, allocations: 1.029 MB / 0.9966 GB, free: 32.47 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007467/2.276, allocations: 1.951 MB / 0.9985 GB, free: 32.23 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/2.287, allocations: 11.44 MB / 1.01 GB, free: 24.29 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009222/2.296, allocations: 459.2 kB / 1.01 GB, free: 24.13 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002074/2.299, allocations: 0.5168 MB / 1.011 GB, free: 24.06 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 74 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1030): * Single equations (assignments): 1023 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01304/2.312, allocations: 3.524 MB / 1.014 GB, free: 22.46 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002521/2.314, allocations: 0.6217 MB / 1.015 GB, free: 22.12 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/2.325, allocations: 4.515 MB / 1.019 GB, free: 18.96 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.829e-05/2.325, allocations: 24 kB / 1.019 GB, free: 18.94 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-05/2.325, allocations: 12 kB / 1.019 GB, free: 18.93 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.836e-05/2.325, allocations: 11.11 kB / 1.019 GB, free: 18.93 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02964/2.355, allocations: 12.33 MB / 1.031 GB, free: 8.941 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.228e-05/2.355, allocations: 0 / 1.031 GB, free: 8.941 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00218/2.357, allocations: 404 kB / 1.032 GB, free: 8.625 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/2.359, allocations: 0.7012 MB / 1.032 GB, free: 8.102 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000404/2.36, allocations: 43.14 kB / 1.032 GB, free: 8.062 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009861/2.37, allocations: 10.32 MB / 1.042 GB, free: 14.18 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/2.37, allocations: 0 / 1.042 GB, free: 14.18 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/2.383, allocations: 7.815 MB / 1.05 GB, free: 7.254 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003295/2.386, allocations: 0.6797 MB / 1.051 GB, free: 6.578 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00248/2.389, allocations: 40 kB / 1.051 GB, free: 6.539 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004176/2.393, allocations: 145.8 kB / 1.051 GB, free: 6.438 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007907/2.394, allocations: 145.8 kB / 1.051 GB, free: 6.352 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/2.394, allocations: 60 kB / 1.051 GB, free: 6.293 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.0111/2.405, allocations: 4.664 MB / 1.056 GB, free: 2.492 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.362e-06/2.405, allocations: 0 / 1.056 GB, free: 2.492 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01195/2.417, allocations: 1.647 MB / 1.057 GB, free: 0.8555 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 (195): * Single equations (assignments): 188 * 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%) 11,(1,100.0%) 11,(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.01484/2.432, allocations: 8.662 MB / 1.066 GB, free: 9.094 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0146/2.447, allocations: 7.414 MB / 1.073 GB, free: 2.566 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/2.447, allocations: 0 / 1.073 GB, free: 2.566 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.004436/2.451, allocations: 2.568 MB / 1.075 GB, free: 260 kB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009152/2.461, allocations: 1.093 MB / 1.076 GB, free: 0 / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4922/2.953, allocations: 194.4 MB / 1.266 GB, free: 19.04 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01056/2.963, allocations: 5.567 MB / 1.272 GB, free: 18.17 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.007549/2.971, allocations: 2.727 MB / 1.274 GB, free: 18 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00518/2.976, allocations: 3.635 MB / 1.278 GB, free: 18 MB / 0.5887 GB Notification: Performance of SimCode: time 1.272e-06/2.976, allocations: 0 / 1.278 GB, free: 18 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5691/3.545, allocations: 135.7 MB / 1.41 GB, free: 145.6 MB / 0.5887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/3.546, allocations: 200.2 kB / 1.411 GB, free: 145.4 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/11.85, allocations: 0 / 1.411 GB, free: 145.4 MB / 0.5887 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat