Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 96.23 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.3 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 45.92 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002573/0.0002576, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1357, allocations: 63.46 MB / 481.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3386/0.4743, allocations: 85.47 MB / 0.5537 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05373/0.5281, allocations: 19.18 MB / 0.5724 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01994/0.5481, allocations: 427 kB / 0.5728 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01627/0.5644, allocations: 4.347 MB / 0.5771 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04428/0.6088, allocations: 12.2 MB / 0.589 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006925/0.6157, allocations: 1.002 MB / 0.59 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.105/0.7207, allocations: 72.21 MB / 0.6605 GB, free: 0 / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01168/0.7325, allocations: 7.22 MB / 0.6675 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00412/0.7366, allocations: 1.623 MB / 0.6691 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004027/0.7407, allocations: 2.196 MB / 0.6713 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001265/0.742, allocations: 227.9 kB / 0.6715 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.745, allocations: 1.085 MB / 0.6725 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002963/0.748, allocations: 2.611 MB / 0.6751 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002057/0.7501, allocations: 1.302 MB / 0.6764 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.7604, allocations: 8.81 MB / 0.685 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.7605, allocations: 0 / 0.685 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.605e-06/0.7605, allocations: 0 / 0.685 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000388/0.7609, allocations: 0 / 0.685 GB, free: 6.805 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.01679/0.7777, allocations: 6.802 MB / 0.6916 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.7777, allocations: 12.03 kB / 0.6916 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002945/0.7807, allocations: 1.05 MB / 0.6926 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06092/0.8416, allocations: 11.12 MB / 0.7035 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.254/1.096, allocations: 4.976 MB / 0.7084 GB, free: 186.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007155/1.096, allocations: 367.1 kB / 0.7087 GB, free: 186.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002134/1.099, allocations: 0.4956 MB / 0.7092 GB, free: 186.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02871/1.127, allocations: 14.75 MB / 0.7236 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002854/1.128, allocations: 76.69 kB / 0.7237 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007826/1.128, allocations: 238 kB / 0.7239 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004419/1.133, allocations: 2.72 MB / 0.7266 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02211/1.155, allocations: 12.01 MB / 0.7383 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05715/1.212, allocations: 56.71 MB / 0.7937 GB, free: 115.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/1.222, allocations: 4.518 MB / 0.7981 GB, free: 111 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/1.223, allocations: 39.39 kB / 0.7981 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/1.223, allocations: 51.56 kB / 0.7982 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=190): time 4.588e-06/1.223, allocations: 0 / 0.7982 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=208): time 0.0458/1.268, allocations: 20.78 MB / 0.8185 GB, free: 89.87 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.635e-05/1.268, allocations: 256.8 kB / 0.8187 GB, free: 89.56 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008235/1.277, allocations: 7.119 MB / 0.8257 GB, free: 82.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005899/1.277, allocations: 61.3 kB / 0.8257 GB, free: 82.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002639/1.28, allocations: 4.674 MB / 0.8303 GB, free: 77.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008742/1.281, allocations: 0.8207 MB / 0.8311 GB, free: 76.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002874/1.281, allocations: 159.9 kB / 0.8312 GB, free: 76.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003059/1.281, allocations: 0.6325 MB / 0.8319 GB, free: 76.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003036/1.285, allocations: 2.545 MB / 0.8343 GB, free: 73.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004428/1.289, allocations: 7.452 MB / 0.8416 GB, free: 63.67 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004358/1.293, allocations: 4.259 MB / 0.8458 GB, free: 59.42 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.154e-05/1.293, allocations: 56 kB / 0.8458 GB, free: 59.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1009) (initialization): time 0.0138/1.307, allocations: 10.44 MB / 0.856 GB, free: 48.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.079e-05/1.307, allocations: 83.98 kB / 0.8561 GB, free: 48.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/1.308, allocations: 172 kB / 0.8563 GB, free: 48.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002129/1.31, allocations: 1.014 MB / 0.8573 GB, free: 47.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005105/1.315, allocations: 1.852 MB / 0.8591 GB, free: 45.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00884/1.324, allocations: 9.55 MB / 0.8684 GB, free: 35.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008815/1.333, allocations: 439 kB / 0.8688 GB, free: 35.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/1.334, allocations: 480 kB / 0.8693 GB, free: 34.97 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],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 (946): * Single equations (assignments): 940 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005855/1.34, allocations: 3.033 MB / 0.8722 GB, free: 31.92 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001365/1.341, allocations: 0.5515 MB / 0.8728 GB, free: 31.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006713/1.348, allocations: 3.735 MB / 0.8764 GB, free: 27.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.392e-05/1.348, allocations: 20 kB / 0.8764 GB, free: 27.58 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.627e-05/1.348, allocations: 8 kB / 0.8764 GB, free: 27.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-05/1.348, allocations: 23.91 kB / 0.8765 GB, free: 27.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02164/1.37, allocations: 10.16 MB / 0.8864 GB, free: 17.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.692e-05/1.37, allocations: 0 / 0.8864 GB, free: 17.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/1.372, allocations: 399.4 kB / 0.8868 GB, free: 16.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002179/1.374, allocations: 0.7153 MB / 0.8875 GB, free: 16.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003388/1.374, allocations: 35.98 kB / 0.8875 GB, free: 16.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00846/1.383, allocations: 8.651 MB / 0.8959 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.383, allocations: 0 / 0.8959 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008985/1.392, allocations: 6.711 MB / 0.9025 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002382/1.394, allocations: 0.6422 MB / 0.9031 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00164/1.396, allocations: 39.98 kB / 0.9032 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/1.399, allocations: 111.9 kB / 0.9033 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004008/1.399, allocations: 125 kB / 0.9034 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001974/1.4, allocations: 55.81 kB / 0.9034 GB, free: 15.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.009907/1.41, allocations: 4.602 MB / 0.9079 GB, free: 10.83 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.31e-07/1.41, allocations: 0 / 0.9079 GB, free: 10.83 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009048/1.419, allocations: 1.419 MB / 0.9093 GB, free: 9.414 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (160): * Single equations (assignments): 154 * 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%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01251/1.431, allocations: 7.553 MB / 0.9167 GB, free: 1.809 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2956/1.727, allocations: 6.458 MB / 0.923 GB, free: 186 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.727, allocations: 1.375 kB / 0.923 GB, free: 186 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003721/1.731, allocations: 2.068 MB / 0.925 GB, free: 185.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005376/1.736, allocations: 0.75 MB / 0.9258 GB, free: 185.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1395/1.876, allocations: 177.6 MB / 1.099 GB, free: 21.28 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006008/1.882, allocations: 4.779 MB / 1.104 GB, free: 16.47 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00654/1.888, allocations: 2.526 MB / 1.106 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004731/1.893, allocations: 3.057 MB / 1.109 GB, free: 10.88 MB / 0.545 GB Notification: Performance of SimCode: time 2.164e-06/1.893, allocations: 0 / 1.109 GB, free: 10.88 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4846/2.378, allocations: 118 MB / 1.225 GB, free: 96.14 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001294/2.378, allocations: 201 kB / 1.225 GB, free: 95.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.605/7.983, allocations: 9.469 kB / 1.225 GB, free: 95.89 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat