Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.2 MB / 245 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.00105, allocations: 106 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.3804/0.3804, allocations: 45.24 MB / 394.7 MB, free: 31.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003505, allocations: 8 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3659, allocations: 63.25 MB / 0.5193 GB, free: 37.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.5093, allocations: 108.4 MB / 0.6251 GB, free: 11.02 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.5096, allocations: 83.92 kB / 0.6252 GB, free: 10.94 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6233/1.133, allocations: 122.3 MB / 0.7446 GB, free: 92.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.304e-06/1.133, allocations: 0 / 0.7446 GB, free: 92.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004293/1.133, allocations: 121.7 kB / 0.7447 GB, free: 92.54 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: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.02263/1.156, allocations: 6.381 MB / 0.751 GB, free: 88.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.843e-05/1.156, allocations: 15.09 kB / 0.751 GB, free: 88.34 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005671/1.162, allocations: 1.057 MB / 0.752 GB, free: 87.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04192/1.204, allocations: 6.964 MB / 0.7588 GB, free: 84.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02235/1.226, allocations: 6.042 MB / 0.7647 GB, free: 78.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006368/1.227, allocations: 451.9 kB / 0.7651 GB, free: 77.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004157/1.231, allocations: 0.5934 MB / 0.7657 GB, free: 77.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0385/1.27, allocations: 15.03 MB / 0.7804 GB, free: 61.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003408/1.27, allocations: 79.3 kB / 0.7805 GB, free: 61.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001707/1.272, allocations: 283.9 kB / 0.7807 GB, free: 60.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001608/1.273, allocations: 1.377 MB / 0.7821 GB, free: 59.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0263/1.3, allocations: 12.68 MB / 0.7945 GB, free: 46.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07751/1.377, allocations: 60.84 MB / 0.8539 GB, free: 52 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0161/1.393, allocations: 6.125 MB / 0.8599 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02119/1.415, allocations: 12.86 MB / 0.8724 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/1.415, allocations: 64.52 kB / 0.8725 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=228): time 7.865e-06/1.415, allocations: 0 / 0.8725 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=270): time 0.3738/1.789, allocations: 27.2 MB / 0.8991 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/1.789, allocations: 211.2 kB / 0.8993 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007395/1.796, allocations: 4.444 MB / 0.9036 GB, free: 128 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007128/1.797, allocations: 66.14 kB / 0.9037 GB, free: 128 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003109/1.8, allocations: 4.042 MB / 0.9076 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001482/1.801, allocations: 1.004 MB / 0.9086 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004281/1.802, allocations: 148.1 kB / 0.9087 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004641/1.802, allocations: 0.6152 MB / 0.9093 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005063/1.807, allocations: 3.008 MB / 0.9123 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007883/1.815, allocations: 7.114 MB / 0.9192 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009743/1.825, allocations: 4.538 MB / 0.9236 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003419/1.826, allocations: 39.03 kB / 0.9237 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02489/1.85, allocations: 11.43 MB / 0.9348 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/1.851, allocations: 69.59 kB / 0.9349 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001721/1.851, allocations: 143.9 kB / 0.935 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003806/1.855, allocations: 1.66 MB / 0.9367 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005785/1.86, allocations: 1.661 MB / 0.9383 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/1.873, allocations: 11.66 MB / 0.9497 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007145/1.88, allocations: 429.8 kB / 0.9501 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001723/1.882, allocations: 437 kB / 0.9505 GB, free: 107.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 59 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (867): * Single equations (assignments): 862 * 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.007382/1.889, allocations: 2.808 MB / 0.9532 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/1.891, allocations: 461.6 kB / 0.9537 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/1.901, allocations: 6.061 MB / 0.9596 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.882e-05/1.901, allocations: 27.53 kB / 0.9596 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/1.901, allocations: 15.55 kB / 0.9596 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/1.901, allocations: 14.17 kB / 0.9597 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02384/1.925, allocations: 13.5 MB / 0.9728 GB, free: 96.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.925, allocations: 4 kB / 0.9728 GB, free: 96.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002231/1.927, allocations: 445.9 kB / 0.9733 GB, free: 96.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003291/1.93, allocations: 1.418 MB / 0.9747 GB, free: 95.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003656/1.931, allocations: 46.91 kB / 0.9747 GB, free: 95.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/1.942, allocations: 10.91 MB / 0.9853 GB, free: 85.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.942, allocations: 8 kB / 0.9854 GB, free: 85.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/1.956, allocations: 9.867 MB / 0.995 GB, free: 77.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002134/1.958, allocations: 0.4969 MB / 0.9955 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002394/1.96, allocations: 40 kB / 0.9955 GB, free: 76.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004183/1.964, allocations: 202.8 kB / 0.9957 GB, free: 76.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000965/1.965, allocations: 155 kB / 0.9959 GB, free: 76.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002358/1.966, allocations: 75.11 kB / 0.9959 GB, free: 76.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005655/1.971, allocations: 3.131 MB / 0.999 GB, free: 73.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.971, allocations: 0 / 0.999 GB, free: 73.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00904/1.98, allocations: 1.42 MB / 1 GB, free: 72.32 MB / 0.5261 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 207 * 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.01439/1.995, allocations: 10.7 MB / 1.011 GB, free: 62.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01125/2.006, allocations: 7.506 MB / 1.018 GB, free: 55.97 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/2.006, allocations: 0 / 1.018 GB, free: 55.97 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004789/2.011, allocations: 3.164 MB / 1.021 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004255/2.015, allocations: 0.6199 MB / 1.022 GB, free: 52.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4193/2.435, allocations: 149.6 MB / 1.168 GB, free: 70.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009873/2.444, allocations: 4.491 MB / 1.172 GB, free: 70.12 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008/2.452, allocations: 2.332 MB / 1.175 GB, free: 70.08 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005205/2.458, allocations: 2.732 MB / 1.177 GB, free: 70.07 MB / 0.5417 GB Notification: Performance of SimCode: time 1.753e-06/2.458, allocations: 2.75 kB / 1.177 GB, free: 70.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1655/2.623, allocations: 109.6 MB / 1.284 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/2.624, allocations: 199.5 kB / 1.285 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.274/8.897, allocations: 0 / 1.285 GB, free: 8.73 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat