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.001042/0.001042, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009553/0.0009553, allocations: 88.31 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1922/0.1922, allocations: 45.15 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.728e-05/2.73e-05, allocations: 4 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 63.25 MB / 0.5115 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4138/0.5248, allocations: 109 MB / 0.6179 GB, free: 1.141 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.5251, allocations: 74.78 kB / 0.618 GB, free: 1.105 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2676/0.7928, allocations: 110.6 MB / 0.726 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7928, allocations: 0 / 0.726 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003768/0.7932, allocations: 104 kB / 0.7261 GB, free: 10.28 MB / 0.5105 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.01558/0.8088, allocations: 5.196 MB / 0.7311 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.8088, allocations: 11.97 kB / 0.7312 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00309/0.8119, allocations: 0.8982 MB / 0.732 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02599/0.8379, allocations: 6.876 MB / 0.7387 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0147/0.8527, allocations: 5.731 MB / 0.7443 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004273/0.8531, allocations: 386 kB / 0.7447 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002168/0.8553, allocations: 0.4998 MB / 0.7452 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3292/1.185, allocations: 12.32 MB / 0.7572 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000252/1.185, allocations: 75.94 kB / 0.7573 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007295/1.186, allocations: 249.5 kB / 0.7575 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001713/1.187, allocations: 1.128 MB / 0.7586 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02157/1.209, allocations: 9.662 MB / 0.7681 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05278/1.262, allocations: 56.33 MB / 0.8231 GB, free: 79.67 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00995/1.272, allocations: 4.33 MB / 0.8273 GB, free: 78.07 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002181/1.274, allocations: 1.951 MB / 0.8292 GB, free: 77.24 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/1.284, allocations: 6.215 MB / 0.8353 GB, free: 74.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/1.284, allocations: 54.56 kB / 0.8353 GB, free: 74.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=154): time 4.218e-06/1.284, allocations: 0 / 0.8353 GB, free: 74.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=166): time 0.03114/1.316, allocations: 12.09 MB / 0.8471 GB, free: 69.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/1.316, allocations: 200.8 kB / 0.8473 GB, free: 69.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006838/1.323, allocations: 4.951 MB / 0.8522 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002453/1.323, allocations: 48.92 kB / 0.8522 GB, free: 67.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001872/1.325, allocations: 3.863 MB / 0.856 GB, free: 64.74 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005195/1.325, allocations: 0.6693 MB / 0.8566 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/1.326, allocations: 132.6 kB / 0.8568 GB, free: 64.17 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002692/1.326, allocations: 0.5869 MB / 0.8573 GB, free: 63.74 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/1.328, allocations: 1.951 MB / 0.8592 GB, free: 63.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003718/1.332, allocations: 6.235 MB / 0.8653 GB, free: 56.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003925/1.336, allocations: 3.48 MB / 0.8687 GB, free: 55.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-05/1.336, allocations: 44.59 kB / 0.8688 GB, free: 55.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.01173/1.348, allocations: 8.294 MB / 0.8769 GB, free: 52.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.227e-05/1.348, allocations: 72.81 kB / 0.8769 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001209/1.348, allocations: 154.7 kB / 0.8771 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/1.349, allocations: 0.5852 MB / 0.8777 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003542/1.352, allocations: 1.494 MB / 0.8791 GB, free: 51.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004665/1.357, allocations: 5.598 MB / 0.8846 GB, free: 46.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004037/1.361, allocations: 337 kB / 0.8849 GB, free: 46.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004021/1.362, allocations: 414.7 kB / 0.8853 GB, free: 45.9 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 (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 (815): * Single equations (assignments): 810 * 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.0006247/1.362, allocations: 0.643 MB / 0.8859 GB, free: 45.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000453/1.363, allocations: 462 kB / 0.8864 GB, free: 44.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003698/1.366, allocations: 2.451 MB / 0.8888 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/1.366, allocations: 16 kB / 0.8888 GB, free: 42.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.366, allocations: 12 kB / 0.8888 GB, free: 42.74 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/1.366, allocations: 6.797 kB / 0.8888 GB, free: 42.74 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/1.378, allocations: 7.138 MB / 0.8958 GB, free: 36.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/1.378, allocations: 4 kB / 0.8958 GB, free: 36.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009696/1.379, allocations: 232.7 kB / 0.896 GB, free: 36.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000835/1.38, allocations: 352 kB / 0.8963 GB, free: 36.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/1.38, allocations: 31.94 kB / 0.8964 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004138/1.384, allocations: 4.928 MB / 0.9012 GB, free: 31.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.384, allocations: 7.953 kB / 0.9012 GB, free: 31.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005529/1.39, allocations: 5.064 MB / 0.9061 GB, free: 27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/1.391, allocations: 0.5243 MB / 0.9066 GB, free: 26.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009508/1.392, allocations: 35.95 kB / 0.9067 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/1.394, allocations: 71.58 kB / 0.9067 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/1.394, allocations: 99.78 kB / 0.9068 GB, free: 26.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.306e-05/1.394, allocations: 47.47 kB / 0.9069 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005901/1.4, allocations: 3.525 MB / 0.9103 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/1.4, allocations: 0 / 0.9103 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005664/1.406, allocations: 1.118 MB / 0.9114 GB, free: 22.09 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (126): * Single equations (assignments): 121 * 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.005833/1.412, allocations: 6.235 MB / 0.9175 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006624/1.419, allocations: 4.944 MB / 0.9223 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.419, allocations: 0 / 0.9223 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/1.42, allocations: 1.403 MB / 0.9237 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/1.423, allocations: 0.5975 MB / 0.9243 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02199/1.445, allocations: 10.39 MB / 0.9344 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006178/1.452, allocations: 4.06 MB / 0.9384 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005568/1.457, allocations: 2.158 MB / 0.9405 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003875/1.461, allocations: 2.398 MB / 0.9428 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.122e-06/1.461, allocations: 0 / 0.9428 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.42/1.881, allocations: 92.75 MB / 1.033 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/1.881, allocations: 166 kB / 1.034 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.374/6.255, allocations: 3.5 kB / 1.034 GB, free: 105.6 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