Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 198.3 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.419/1.419, allocations: 227.2 MB / 245 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 99.25 kB / 297.3 MB, free: 6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3743/0.3743, allocations: 45.23 MB / 394.6 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003249, allocations: 11.98 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3645, allocations: 63.25 MB / 0.5193 GB, free: 37.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.5209, allocations: 110 MB / 0.6267 GB, free: 9.426 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.5212, allocations: 79.94 kB / 0.6268 GB, free: 9.352 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7274/1.249, allocations: 145 MB / 0.7684 GB, free: 74.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.246e-06/1.249, allocations: 0 / 0.7684 GB, free: 74.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007001/1.249, allocations: 143.9 kB / 0.7685 GB, free: 74.62 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: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.03009/1.28, allocations: 7.584 MB / 0.7759 GB, free: 66.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/1.28, allocations: 12.03 kB / 0.7759 GB, free: 66.94 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007341/1.287, allocations: 1.223 MB / 0.7771 GB, free: 65.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03653/1.324, allocations: 9.487 MB / 0.7864 GB, free: 56.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02446/1.348, allocations: 7.652 MB / 0.7939 GB, free: 48.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008704/1.349, allocations: 0.5255 MB / 0.7944 GB, free: 47.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005607/1.355, allocations: 0.7028 MB / 0.7951 GB, free: 47.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04549/1.4, allocations: 16.64 MB / 0.8113 GB, free: 29.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008006/1.401, allocations: 107 kB / 0.8114 GB, free: 28.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004122/1.405, allocations: 339.8 kB / 0.8118 GB, free: 28.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002519/1.408, allocations: 1.495 MB / 0.8132 GB, free: 27.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02874/1.437, allocations: 13.2 MB / 0.8261 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8/2.237, allocations: 75.41 MB / 0.8997 GB, free: 63.98 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01516/2.252, allocations: 6.319 MB / 0.9059 GB, free: 63.27 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002834/2.252, allocations: 46.61 kB / 0.906 GB, free: 63.27 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.106e-05/2.252, allocations: 56.59 kB / 0.906 GB, free: 63.23 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=229): time 9.678e-06/2.252, allocations: 0 / 0.906 GB, free: 63.23 MB / 0.5262 GB Notification: Performance of matching and sorting (n=262): time 0.07778/2.33, allocations: 28.05 MB / 0.9334 GB, free: 56.23 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/2.33, allocations: 290.1 kB / 0.9337 GB, free: 55.91 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01319/2.344, allocations: 6.303 MB / 0.9398 GB, free: 55.42 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.000638/2.344, allocations: 64.59 kB / 0.9399 GB, free: 55.39 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.004456/2.349, allocations: 4.989 MB / 0.9448 GB, free: 52.86 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001827/2.351, allocations: 1.018 MB / 0.9458 GB, free: 52.29 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/2.352, allocations: 171.8 kB / 0.9459 GB, free: 52.29 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0007263/2.352, allocations: 0.667 MB / 0.9466 GB, free: 51.96 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00575/2.358, allocations: 3.079 MB / 0.9496 GB, free: 51.94 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008513/2.367, allocations: 8.326 MB / 0.9577 GB, free: 45.15 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007325/2.374, allocations: 4.953 MB / 0.9626 GB, free: 44.29 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000185/2.374, allocations: 51.28 kB / 0.9626 GB, free: 44.29 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.02531/2.4, allocations: 12.28 MB / 0.9746 GB, free: 40.7 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002693/2.4, allocations: 84.44 kB / 0.9747 GB, free: 40.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003805/2.4, allocations: 191.3 kB / 0.9749 GB, free: 40.7 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003672/2.404, allocations: 1.359 MB / 0.9762 GB, free: 40.46 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007628/2.412, allocations: 1.979 MB / 0.9781 GB, free: 40.22 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/2.424, allocations: 11.5 MB / 0.9894 GB, free: 33.18 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00933/2.434, allocations: 483.9 kB / 0.9898 GB, free: 33.01 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002219/2.436, allocations: 0.5139 MB / 0.9903 GB, free: 32.95 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1043): * Single equations (assignments): 1037 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009518/2.446, allocations: 3.3 MB / 0.9935 GB, free: 30.12 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001606/2.447, allocations: 0.5966 MB / 0.9941 GB, free: 29.52 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009458/2.457, allocations: 5.266 MB / 0.9993 GB, free: 25.26 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-05/2.457, allocations: 31.95 kB / 0.9993 GB, free: 25.23 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.021e-05/2.457, allocations: 10.47 kB / 0.9993 GB, free: 25.22 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-05/2.457, allocations: 19 kB / 0.9993 GB, free: 25.21 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02683/2.484, allocations: 12.94 MB / 1.012 GB, free: 14.79 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/2.484, allocations: 6.469 kB / 1.012 GB, free: 14.79 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/2.486, allocations: 424.4 kB / 1.012 GB, free: 14.45 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002648/2.489, allocations: 1.053 MB / 1.013 GB, free: 13.71 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003076/2.489, allocations: 47.94 kB / 1.013 GB, free: 13.67 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01074/2.5, allocations: 10.46 MB / 1.024 GB, free: 3.996 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/2.5, allocations: 4 kB / 1.024 GB, free: 3.992 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01792/2.518, allocations: 9.286 MB / 1.033 GB, free: 12.73 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003862/2.522, allocations: 0.6667 MB / 1.033 GB, free: 12.07 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001953/2.524, allocations: 47.95 kB / 1.033 GB, free: 12.02 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003487/2.527, allocations: 147.1 kB / 1.034 GB, free: 11.93 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006114/2.528, allocations: 156.8 kB / 1.034 GB, free: 11.84 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/2.528, allocations: 68.69 kB / 1.034 GB, free: 11.77 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01008/2.538, allocations: 4.491 MB / 1.038 GB, free: 8.105 MB / 0.5418 GB Notification: Performance of sort global known variables: time 8.41e-07/2.538, allocations: 0 / 1.038 GB, free: 8.105 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01255/2.551, allocations: 1.595 MB / 1.04 GB, free: 6.516 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (204): * Single equations (assignments): 198 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02201/2.573, allocations: 10.34 MB / 1.05 GB, free: 14.66 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0142/2.587, allocations: 7.768 MB / 1.057 GB, free: 6.918 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/2.587, allocations: 0 / 1.057 GB, free: 6.918 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.004513/2.591, allocations: 2.786 MB / 1.06 GB, free: 4.098 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006201/2.598, allocations: 0.8169 MB / 1.061 GB, free: 3.324 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6247/3.222, allocations: 192 MB / 1.248 GB, free: 61.04 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02242/3.245, allocations: 5.163 MB / 1.253 GB, free: 60.16 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.01709/3.262, allocations: 2.821 MB / 1.256 GB, free: 60.11 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01151/3.274, allocations: 3.31 MB / 1.259 GB, free: 60.11 MB / 0.6043 GB Notification: Performance of SimCode: time 2.595e-06/3.274, allocations: 0 / 1.259 GB, free: 60.11 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6973/3.971, allocations: 130.4 MB / 1.387 GB, free: 173.5 MB / 0.6043 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/3.971, allocations: 193.6 kB / 1.387 GB, free: 173.3 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.251/11.22, allocations: 0 / 1.387 GB, free: 173.3 MB / 0.6043 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat