Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001722/0.001722, 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.483/1.483, allocations: 227.2 MB / 245 MB, free: 5.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009783/0.0009786, allocations: 104.4 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3532/0.3532, allocations: 45.23 MB / 394.6 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003043, allocations: 8 kB / 468.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3574, allocations: 63.25 MB / 0.5193 GB, free: 37.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1578/0.5153, allocations: 111.8 MB / 0.6284 GB, free: 7.59 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.5157, allocations: 87.92 kB / 0.6285 GB, free: 7.508 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6663/1.182, allocations: 140.4 MB / 0.7656 GB, free: 77.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.419e-06/1.182, allocations: 0 / 0.7656 GB, free: 77.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003744/1.183, allocations: 139.9 kB / 0.7658 GB, free: 77.5 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: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.0257/1.208, allocations: 7.495 MB / 0.7731 GB, free: 69.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/1.208, allocations: 12.02 kB / 0.7731 GB, free: 69.91 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005681/1.214, allocations: 1.248 MB / 0.7743 GB, free: 68.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02809/1.242, allocations: 7.186 MB / 0.7813 GB, free: 61.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0208/1.263, allocations: 6.693 MB / 0.7879 GB, free: 54.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005839/1.264, allocations: 0.5257 MB / 0.7884 GB, free: 54.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004203/1.268, allocations: 0.7028 MB / 0.7891 GB, free: 53.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04156/1.309, allocations: 17.49 MB / 0.8061 GB, free: 34.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005049/1.31, allocations: 87.22 kB / 0.8062 GB, free: 34.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002846/1.313, allocations: 339.8 kB / 0.8065 GB, free: 34.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002177/1.315, allocations: 1.624 MB / 0.8081 GB, free: 32.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02982/1.345, allocations: 14.17 MB / 0.822 GB, free: 18.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4964/1.841, allocations: 76.52 MB / 0.8967 GB, free: 69.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02043/1.862, allocations: 7.945 MB / 0.9044 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02047/1.882, allocations: 10.11 MB / 0.9143 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.415e-05/1.882, allocations: 61.03 kB / 0.9144 GB, free: 67.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=277): time 7.253e-06/1.882, allocations: 1.625 kB / 0.9144 GB, free: 67.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=319): time 0.0882/1.971, allocations: 33.2 MB / 0.9468 GB, free: 60.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.76e-05/1.971, allocations: 237.7 kB / 0.947 GB, free: 60.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01291/1.984, allocations: 6.302 MB / 0.9532 GB, free: 59.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009391/1.985, allocations: 74.05 kB / 0.9532 GB, free: 59.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004735/1.989, allocations: 4.895 MB / 0.958 GB, free: 56.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002081/1.992, allocations: 1.2 MB / 0.9592 GB, free: 55.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009582/1.993, allocations: 180.4 kB / 0.9594 GB, free: 55.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004686/1.993, allocations: 0.6822 MB / 0.96 GB, free: 55.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00571/1.999, allocations: 3.502 MB / 0.9635 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01041/2.009, allocations: 8.732 MB / 0.972 GB, free: 45.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009836/2.019, allocations: 5.429 MB / 0.9773 GB, free: 44.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001677/2.019, allocations: 53.12 kB / 0.9773 GB, free: 44.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1168) (initialization): time 0.02589/2.045, allocations: 13.51 MB / 0.9905 GB, free: 37.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/2.045, allocations: 84 kB / 0.9906 GB, free: 37.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002406/2.046, allocations: 189.5 kB / 0.9908 GB, free: 37.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003746/2.049, allocations: 1.704 MB / 0.9925 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007629/2.057, allocations: 2.158 MB / 0.9946 GB, free: 34.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/2.069, allocations: 11.71 MB / 1.006 GB, free: 23.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008871/2.078, allocations: 0.507 MB / 1.006 GB, free: 23.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002335/2.081, allocations: 0.5288 MB / 1.007 GB, free: 22.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 841 * Number of states: 0 () * Number of discrete variables: 77 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1096): * Single equations (assignments): 1091 * 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.008837/2.089, allocations: 3.341 MB / 1.01 GB, free: 19.94 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001667/2.091, allocations: 0.6008 MB / 1.011 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/2.103, allocations: 6.72 MB / 1.017 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.504e-05/2.103, allocations: 35.47 kB / 1.017 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-05/2.103, allocations: 8 kB / 1.017 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.85e-05/2.103, allocations: 16.38 kB / 1.017 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03092/2.134, allocations: 15.78 MB / 1.033 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.684e-05/2.134, allocations: 8 kB / 1.033 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002919/2.137, allocations: 0.6168 MB / 1.033 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00441/2.141, allocations: 1.502 MB / 1.035 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006937/2.142, allocations: 60 kB / 1.035 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01497/2.157, allocations: 10.92 MB / 1.046 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/2.157, allocations: 11.94 kB / 1.046 GB, free: 4.551 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01885/2.176, allocations: 12.13 MB / 1.058 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002899/2.179, allocations: 0.6882 MB / 1.058 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002175/2.181, allocations: 67.27 kB / 1.058 GB, free: 7.387 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00361/2.185, allocations: 203.7 kB / 1.058 GB, free: 7.188 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007868/2.186, allocations: 197.9 kB / 1.059 GB, free: 6.996 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002649/2.186, allocations: 85.33 kB / 1.059 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01087/2.197, allocations: 4.514 MB / 1.063 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.31e-07/2.197, allocations: 0 / 1.063 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01195/2.209, allocations: 1.685 MB / 1.065 GB, free: 0.7461 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (261): * Single equations (assignments): 256 * 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.02126/2.23, allocations: 13.7 MB / 1.078 GB, free: 2.777 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01767/2.248, allocations: 8.706 MB / 1.087 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/2.248, allocations: 0 / 1.087 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.007713/2.255, allocations: 3.41 MB / 1.09 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006078/2.262, allocations: 0.7565 MB / 1.091 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5321/2.794, allocations: 194.2 MB / 1.28 GB, free: 35.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01147/2.805, allocations: 5.196 MB / 1.285 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01025/2.816, allocations: 2.991 MB / 1.288 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007842/2.823, allocations: 3.319 MB / 1.292 GB, free: 33.97 MB / 0.6042 GB Notification: Performance of SimCode: time 2.515e-06/2.823, allocations: 1.969 kB / 1.292 GB, free: 33.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5808/3.404, allocations: 135.5 MB / 1.424 GB, free: 176 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/3.405, allocations: 203.5 kB / 1.424 GB, free: 175.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.461/10.87, allocations: 0 / 1.424 GB, free: 175.8 MB / 0.6042 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForcesAndTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat