Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 196.1 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.296/1.296, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000892/0.0008921, allocations: 86.47 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1843/0.1843, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.831e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.09912, allocations: 63.24 MB / 0.5115 GB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3884/0.4876, allocations: 110.5 MB / 0.6193 GB, free: 15.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4879, allocations: 75.97 kB / 0.6194 GB, free: 15.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2942/0.7821, allocations: 130.1 MB / 0.7464 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7822, allocations: 0 / 0.7464 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002996/0.7825, allocations: 124 kB / 0.7466 GB, free: 5.172 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.2851/1.068, allocations: 6.38 MB / 0.7528 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.471e-05/1.068, allocations: 13 kB / 0.7528 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00427/1.072, allocations: 1.108 MB / 0.7539 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0289/1.101, allocations: 7.058 MB / 0.7608 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01685/1.118, allocations: 6.301 MB / 0.7669 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006161/1.118, allocations: 478.4 kB / 0.7674 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003181/1.122, allocations: 0.6238 MB / 0.768 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03117/1.153, allocations: 15.6 MB / 0.7832 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002966/1.153, allocations: 81.89 kB / 0.7833 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001444/1.155, allocations: 304.3 kB / 0.7836 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001775/1.156, allocations: 1.422 MB / 0.785 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0237/1.18, allocations: 12.76 MB / 0.7974 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05935/1.24, allocations: 66.92 MB / 0.8628 GB, free: 54.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/1.253, allocations: 6.358 MB / 0.869 GB, free: 52.74 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003444/1.257, allocations: 3.353 MB / 0.8723 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/1.268, allocations: 7.981 MB / 0.8801 GB, free: 47.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/1.269, allocations: 56.06 kB / 0.8801 GB, free: 47.53 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=227): time 5.711e-06/1.269, allocations: 2.25 kB / 0.8801 GB, free: 47.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=269): time 0.05561/1.324, allocations: 24.82 MB / 0.9044 GB, free: 26.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/1.324, allocations: 231.4 kB / 0.9046 GB, free: 26.69 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007798/1.332, allocations: 5.627 MB / 0.9101 GB, free: 21.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006424/1.333, allocations: 72.2 kB / 0.9102 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002851/1.336, allocations: 4.426 MB / 0.9145 GB, free: 17.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001449/1.337, allocations: 1.032 MB / 0.9155 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000456/1.338, allocations: 156 kB / 0.9156 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003121/1.338, allocations: 0.6378 MB / 0.9163 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003974/1.342, allocations: 3.065 MB / 0.9193 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005343/1.347, allocations: 7.759 MB / 0.9268 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005913/1.353, allocations: 4.813 MB / 0.9315 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/1.353, allocations: 52 kB / 0.9316 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.02433/1.378, allocations: 12.09 MB / 0.9434 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/1.378, allocations: 76.94 kB / 0.9435 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002053/1.378, allocations: 166.9 kB / 0.9436 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00394/1.382, allocations: 1.687 MB / 0.9453 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007011/1.389, allocations: 1.852 MB / 0.9471 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/1.403, allocations: 11.35 MB / 0.9582 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006217/1.41, allocations: 478.7 kB / 0.9586 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/1.411, allocations: 487.9 kB / 0.9591 GB, free: 4.969 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 755 * Number of states: 0 () * Number of discrete variables: 65 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (960): * Single equations (assignments): 955 * 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.001119/1.412, allocations: 0.7109 MB / 0.9598 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00079/1.413, allocations: 0.5438 MB / 0.9603 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2638/1.676, allocations: 6.015 MB / 0.9662 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.455e-05/1.676, allocations: 31.62 kB / 0.9662 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/1.677, allocations: 9.281 kB / 0.9662 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.443e-05/1.677, allocations: 12.98 kB / 0.9662 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02334/1.7, allocations: 13.6 MB / 0.9795 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/1.7, allocations: 3.375 kB / 0.9795 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002304/1.702, allocations: 497.2 kB / 0.98 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003314/1.706, allocations: 1.415 MB / 0.9814 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002439/1.706, allocations: 47.62 kB / 0.9814 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/1.717, allocations: 10.6 MB / 0.9918 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.717, allocations: 7.469 kB / 0.9918 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/1.729, allocations: 10.31 MB / 1.002 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/1.731, allocations: 0.6156 MB / 1.002 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006945/1.731, allocations: 47.09 kB / 1.002 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/1.733, allocations: 182.1 kB / 1.003 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004092/1.734, allocations: 166.8 kB / 1.003 GB, free: 120 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/1.734, allocations: 70.7 kB / 1.003 GB, free: 120 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005959/1.74, allocations: 4.024 MB / 1.007 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.21e-07/1.74, allocations: 2.25 kB / 1.007 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007509/1.747, allocations: 1.506 MB / 1.008 GB, free: 119.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (211): * Single equations (assignments): 206 * 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.01238/1.76, allocations: 11.51 MB / 1.02 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009724/1.77, allocations: 7.677 MB / 1.027 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.77, allocations: 2.812 kB / 1.027 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004224/1.774, allocations: 3.065 MB / 1.03 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/1.778, allocations: 0.7044 MB / 1.031 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02899/1.807, allocations: 14.15 MB / 1.045 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004482/1.811, allocations: 4.743 MB / 1.049 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00605/1.817, allocations: 2.642 MB / 1.052 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003926/1.821, allocations: 2.951 MB / 1.055 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.863e-06/1.821, allocations: 3.594 kB / 1.055 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4199/2.241, allocations: 122.4 MB / 1.174 GB, free: 89.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/2.241, allocations: 178 kB / 1.174 GB, free: 88.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.744/7.985, allocations: 0 / 1.174 GB, free: 88.98 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat