Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001032, allocations: 196.5 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.231/1.231, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009201/0.0009202, allocations: 97 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1822/0.1822, allocations: 45.14 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.154e-05/4.164e-05, allocations: 4 kB / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 63.25 MB / 0.5115 GB, free: 6.672 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.377/0.4778, allocations: 108.9 MB / 0.6178 GB, free: 1.246 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.4781, allocations: 81.94 kB / 0.6179 GB, free: 1.203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2843/0.7624, allocations: 124.3 MB / 0.7393 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7624, allocations: 0 / 0.7393 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003457/0.7628, allocations: 120 kB / 0.7394 GB, free: 12.54 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.01683/0.7796, allocations: 6.025 MB / 0.7453 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.7797, allocations: 8.031 kB / 0.7453 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002489/0.7822, allocations: 1.071 MB / 0.7463 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3207/1.103, allocations: 7 MB / 0.7532 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01879/1.122, allocations: 5.999 MB / 0.759 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005317/1.122, allocations: 458.9 kB / 0.7595 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002957/1.125, allocations: 0.6059 MB / 0.7601 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03219/1.157, allocations: 15.1 MB / 0.7748 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002022/1.158, allocations: 84.83 kB / 0.7749 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007972/1.159, allocations: 296.1 kB / 0.7752 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001473/1.16, allocations: 1.357 MB / 0.7765 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02242/1.182, allocations: 12.38 MB / 0.7886 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06378/1.246, allocations: 64.83 MB / 0.8519 GB, free: 63.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01605/1.262, allocations: 7.076 MB / 0.8588 GB, free: 61.13 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003857/1.266, allocations: 3.302 MB / 0.862 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/1.266, allocations: 38.17 kB / 0.8621 GB, free: 59.76 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/1.266, allocations: 62.22 kB / 0.8621 GB, free: 59.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=218): time 4.799e-06/1.266, allocations: 0 / 0.8621 GB, free: 59.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=260): time 0.06003/1.327, allocations: 25.38 MB / 0.8869 GB, free: 45.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.795e-05/1.327, allocations: 217.1 kB / 0.8871 GB, free: 45.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007925/1.335, allocations: 5.323 MB / 0.8923 GB, free: 40.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007345/1.335, allocations: 61.7 kB / 0.8924 GB, free: 40.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002098/1.337, allocations: 4.215 MB / 0.8965 GB, free: 36.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000977/1.338, allocations: 0.9887 MB / 0.8975 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/1.339, allocations: 152 kB / 0.8976 GB, free: 35.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002981/1.339, allocations: 0.6288 MB / 0.8982 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00352/1.343, allocations: 3.128 MB / 0.9013 GB, free: 32.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005203/1.348, allocations: 7.589 MB / 0.9087 GB, free: 23.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00558/1.353, allocations: 4.82 MB / 0.9134 GB, free: 19.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.919e-05/1.353, allocations: 48 kB / 0.9134 GB, free: 19.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=990) (initialization): time 0.01801/1.371, allocations: 12.01 MB / 0.9252 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.449e-05/1.372, allocations: 72 kB / 0.9252 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000117/1.372, allocations: 160 kB / 0.9254 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003458/1.375, allocations: 1.669 MB / 0.927 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005635/1.381, allocations: 1.821 MB / 0.9288 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/1.394, allocations: 11.39 MB / 0.9399 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006661/1.4, allocations: 466.3 kB / 0.9403 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/1.402, allocations: 463.1 kB / 0.9408 GB, free: 10.79 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * Number of states: 0 () * Number of discrete variables: 62 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (918): * Single equations (assignments): 913 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001341/1.403, allocations: 0.7006 MB / 0.9415 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/1.404, allocations: 0.509 MB / 0.942 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/1.415, allocations: 6.161 MB / 0.948 GB, free: 4.086 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.187e-05/1.415, allocations: 28 kB / 0.948 GB, free: 4.059 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.816e-05/1.415, allocations: 8 kB / 0.948 GB, free: 4.051 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-05/1.415, allocations: 15.95 kB / 0.948 GB, free: 4.035 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.346/1.761, allocations: 13.68 MB / 0.9614 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.761, allocations: 4.438 kB / 0.9614 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002741/1.764, allocations: 0.4927 MB / 0.9619 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003923/1.768, allocations: 1.412 MB / 0.9633 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004157/1.768, allocations: 44.83 kB / 0.9633 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01325/1.782, allocations: 10.58 MB / 0.9736 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.782, allocations: 1.203 kB / 0.9736 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/1.796, allocations: 10.13 MB / 0.9835 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002432/1.798, allocations: 0.5873 MB / 0.9841 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008464/1.799, allocations: 47.55 kB / 0.9841 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002404/1.801, allocations: 221 kB / 0.9844 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004786/1.802, allocations: 148.8 kB / 0.9845 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001906/1.802, allocations: 66.75 kB / 0.9846 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005704/1.808, allocations: 3.772 MB / 0.9882 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.8e-07/1.808, allocations: 2.625 kB / 0.9883 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006982/1.815, allocations: 1.475 MB / 0.9897 GB, free: 109.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 197 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01322/1.828, allocations: 10.96 MB / 1 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01061/1.839, allocations: 7.789 MB / 1.008 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/1.839, allocations: 0 / 1.008 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004548/1.843, allocations: 3.192 MB / 1.011 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003903/1.847, allocations: 0.6566 MB / 1.012 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03262/1.88, allocations: 13.67 MB / 1.025 GB, free: 98.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007428/1.887, allocations: 4.547 MB / 1.03 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00634/1.894, allocations: 2.584 MB / 1.032 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003978/1.898, allocations: 2.825 MB / 1.035 GB, free: 94.66 MB / 0.5417 GB Notification: Performance of SimCode: time 1.894e-06/1.898, allocations: 0 / 1.035 GB, free: 94.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1667/2.064, allocations: 117.5 MB / 1.15 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/2.065, allocations: 181.7 kB / 1.15 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.175/7.24, allocations: 0 / 1.15 GB, free: 14.12 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat