Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 199.1 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.391/1.391, allocations: 227.2 MB / 245 MB, free: 5.785 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009001/0.0009001, allocations: 110.9 kB / 297.3 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3333/0.3333, allocations: 45.23 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000309/0.0003088, allocations: 11.98 kB / 468.5 MB, free: 7.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3852, allocations: 63.24 MB / 0.5193 GB, free: 37.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.5327, allocations: 110 MB / 0.6267 GB, free: 9.414 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/0.5331, allocations: 91.92 kB / 0.6268 GB, free: 9.328 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5709/1.104, allocations: 128.7 MB / 0.7525 GB, free: 88.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.706e-06/1.104, allocations: 0 / 0.7525 GB, free: 88.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003178/1.104, allocations: 122.8 kB / 0.7526 GB, free: 88.4 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: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02243/1.127, allocations: 6.968 MB / 0.7594 GB, free: 83.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.127, allocations: 6.906 kB / 0.7594 GB, free: 83.82 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005146/1.132, allocations: 1.11 MB / 0.7605 GB, free: 82.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02722/1.159, allocations: 7.062 MB / 0.7674 GB, free: 75.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01569/1.175, allocations: 6.356 MB / 0.7736 GB, free: 69.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003302/1.175, allocations: 480.5 kB / 0.774 GB, free: 68.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002341/1.178, allocations: 0.6247 MB / 0.7747 GB, free: 68.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02796/1.206, allocations: 15.74 MB / 0.79 GB, free: 50.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002432/1.206, allocations: 87.2 kB / 0.7901 GB, free: 50.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001098/1.207, allocations: 303.9 kB / 0.7904 GB, free: 50.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00156/1.209, allocations: 1.474 MB / 0.7918 GB, free: 49.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02414/1.233, allocations: 12.77 MB / 0.8043 GB, free: 36.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08209/1.315, allocations: 70.62 MB / 0.8733 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01873/1.334, allocations: 7.16 MB / 0.8803 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2725/1.606, allocations: 8.794 MB / 0.8889 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/1.606, allocations: 64.34 kB / 0.8889 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=246): time 4.739e-06/1.606, allocations: 1.094 kB / 0.8889 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=288): time 0.07848/1.685, allocations: 30.66 MB / 0.9189 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.685, allocations: 243 kB / 0.9191 GB, free: 121 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01111/1.696, allocations: 5.934 MB / 0.9249 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008299/1.697, allocations: 66.7 kB / 0.9249 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004766/1.702, allocations: 4.548 MB / 0.9294 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002141/1.704, allocations: 1.091 MB / 0.9305 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007305/1.705, allocations: 169.7 kB / 0.9306 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004317/1.705, allocations: 0.6623 MB / 0.9313 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004738/1.71, allocations: 3.278 MB / 0.9345 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009552/1.719, allocations: 8.29 MB / 0.9426 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008654/1.728, allocations: 5.112 MB / 0.9476 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003196/1.729, allocations: 51.69 kB / 0.9476 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1101) (initialization): time 0.02902/1.758, allocations: 12.81 MB / 0.9601 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003526/1.758, allocations: 85.7 kB / 0.9602 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004535/1.758, allocations: 173.6 kB / 0.9604 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004396/1.763, allocations: 1.673 MB / 0.962 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007463/1.77, allocations: 2 MB / 0.9639 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/1.784, allocations: 11.52 MB / 0.9752 GB, free: 89.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007914/1.792, allocations: 0.4889 MB / 0.9757 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002116/1.794, allocations: 0.5017 MB / 0.9762 GB, free: 88.99 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 67 (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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force1.forceColor[3],force1.forceColor[2],force1.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 (1031): * Single equations (assignments): 1026 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008788/1.803, allocations: 3.048 MB / 0.9791 GB, free: 86.31 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002014/1.805, allocations: 0.5668 MB / 0.9797 GB, free: 85.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/1.818, allocations: 6.265 MB / 0.9858 GB, free: 80.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-05/1.818, allocations: 33.36 kB / 0.9858 GB, free: 80.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.898e-05/1.818, allocations: 8 kB / 0.9859 GB, free: 80.65 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.154e-05/1.818, allocations: 18.86 kB / 0.9859 GB, free: 80.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03256/1.851, allocations: 14.2 MB / 0.9997 GB, free: 69.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.464e-05/1.851, allocations: 4 kB / 0.9997 GB, free: 69.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002718/1.854, allocations: 0.5365 MB / 1 GB, free: 68.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003675/1.857, allocations: 1.396 MB / 1.002 GB, free: 67.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000808/1.858, allocations: 60 kB / 1.002 GB, free: 67.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/1.871, allocations: 10.74 MB / 1.012 GB, free: 58.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/1.871, allocations: 14.3 kB / 1.012 GB, free: 58.17 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01572/1.887, allocations: 11.03 MB / 1.023 GB, free: 47.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002358/1.889, allocations: 0.6457 MB / 1.024 GB, free: 47.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002018/1.891, allocations: 51.98 kB / 1.024 GB, free: 47.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003902/1.895, allocations: 191.4 kB / 1.024 GB, free: 47.08 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007826/1.896, allocations: 182.8 kB / 1.024 GB, free: 46.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004437/1.896, allocations: 79.83 kB / 1.024 GB, free: 46.83 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009546/1.906, allocations: 4.256 MB / 1.028 GB, free: 42.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.22e-07/1.906, allocations: 0 / 1.028 GB, free: 42.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009851/1.916, allocations: 1.552 MB / 1.03 GB, free: 41.04 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (232): * Single equations (assignments): 227 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0157/1.931, allocations: 12.42 MB / 1.042 GB, free: 28.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01264/1.944, allocations: 8.148 MB / 1.05 GB, free: 20.24 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/1.944, allocations: 0 / 1.05 GB, free: 20.24 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005573/1.95, allocations: 3.196 MB / 1.053 GB, free: 17.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005573/1.955, allocations: 0.6903 MB / 1.054 GB, free: 16.35 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4579/2.413, allocations: 183.7 MB / 1.233 GB, free: 31.02 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008564/2.422, allocations: 4.766 MB / 1.238 GB, free: 30.16 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008502/2.43, allocations: 2.809 MB / 1.24 GB, free: 30.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005863/2.436, allocations: 3.024 MB / 1.243 GB, free: 29.76 MB / 0.5573 GB Notification: Performance of SimCode: time 1.603e-06/2.436, allocations: 4 kB / 1.243 GB, free: 29.76 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5539/2.99, allocations: 126.3 MB / 1.367 GB, free: 144.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/2.991, allocations: 188 kB / 1.367 GB, free: 144.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/9.899, allocations: 3.938 kB / 1.367 GB, free: 144.4 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat