Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 96.09 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 185 kB / 17.87 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.2 MB / 241.8 MB, free: 408 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1986/0.1986, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 12.92 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3461/0.4876, allocations: 85.46 MB / 0.5439 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04647/0.5341, allocations: 19.14 MB / 0.5626 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01744/0.5516, allocations: 425.8 kB / 0.563 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01721/0.5689, allocations: 4.34 MB / 0.5673 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04346/0.6124, allocations: 12.22 MB / 0.5792 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006444/0.6189, allocations: 1.002 MB / 0.5802 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.1025/0.7214, allocations: 72.09 MB / 0.6506 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01185/0.7333, allocations: 7.24 MB / 0.6577 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003706/0.737, allocations: 1.62 MB / 0.6592 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003877/0.7409, allocations: 2.196 MB / 0.6614 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.7423, allocations: 223.9 kB / 0.6616 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.7455, allocations: 1.1 MB / 0.6627 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.004047/0.7496, allocations: 2.618 MB / 0.6652 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002599/0.7522, allocations: 1.302 MB / 0.6665 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.7634, allocations: 8.813 MB / 0.6751 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7634, allocations: 0 / 0.6751 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7635, allocations: 4 kB / 0.6751 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004857/0.764, allocations: 0 / 0.6751 GB, free: 2.969 MB / 0.4981 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.01885/0.7828, allocations: 6.767 MB / 0.6817 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.7829, allocations: 8.031 kB / 0.6817 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003866/0.7868, allocations: 1.05 MB / 0.6827 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06186/0.8487, allocations: 11.12 MB / 0.6936 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01456/0.8633, allocations: 4.984 MB / 0.6985 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005093/0.8638, allocations: 369.5 kB / 0.6988 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002426/0.8663, allocations: 0.4918 MB / 0.6993 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3111/1.177, allocations: 14.75 MB / 0.7137 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004762/1.178, allocations: 79.17 kB / 0.7138 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001695/1.18, allocations: 235.1 kB / 0.714 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006322/1.186, allocations: 2.72 MB / 0.7167 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02876/1.215, allocations: 12.01 MB / 0.7284 GB, free: 186 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06196/1.277, allocations: 56.71 MB / 0.7838 GB, free: 134.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/1.287, allocations: 4.508 MB / 0.7882 GB, free: 129.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/1.287, allocations: 37.09 kB / 0.7882 GB, free: 129.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/1.287, allocations: 55.56 kB / 0.7883 GB, free: 129.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=190): time 5.951e-06/1.287, allocations: 3.984 kB / 0.7883 GB, free: 129.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=208): time 0.04675/1.334, allocations: 20.77 MB / 0.8086 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/1.334, allocations: 256.8 kB / 0.8088 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007498/1.342, allocations: 7.136 MB / 0.8158 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004338/1.342, allocations: 55.73 kB / 0.8158 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002286/1.344, allocations: 4.666 MB / 0.8204 GB, free: 96.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008331/1.345, allocations: 0.8305 MB / 0.8212 GB, free: 95.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/1.346, allocations: 153.3 kB / 0.8213 GB, free: 95.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002875/1.346, allocations: 0.6364 MB / 0.822 GB, free: 94.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002996/1.349, allocations: 2.545 MB / 0.8244 GB, free: 92.44 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004564/1.353, allocations: 7.444 MB / 0.8317 GB, free: 82.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004908/1.358, allocations: 4.264 MB / 0.8359 GB, free: 78.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.498e-05/1.358, allocations: 48 kB / 0.8359 GB, free: 78.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1009) (initialization): time 0.01811/1.377, allocations: 10.44 MB / 0.8461 GB, free: 67.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.577e-05/1.377, allocations: 76 kB / 0.8462 GB, free: 67.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000148/1.377, allocations: 176 kB / 0.8464 GB, free: 67.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002165/1.379, allocations: 1.016 MB / 0.8473 GB, free: 66.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005468/1.385, allocations: 1.848 MB / 0.8492 GB, free: 64.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008985/1.394, allocations: 9.578 MB / 0.8585 GB, free: 54.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008313/1.402, allocations: 415.3 kB / 0.8589 GB, free: 54.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001376/1.403, allocations: 484 kB / 0.8594 GB, free: 53.84 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.00546/1.409, allocations: 3.037 MB / 0.8623 GB, free: 50.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/1.41, allocations: 0.5591 MB / 0.8629 GB, free: 50.22 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005378/1.415, allocations: 3.731 MB / 0.8665 GB, free: 46.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/1.415, allocations: 31.92 kB / 0.8665 GB, free: 46.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/1.415, allocations: 12 kB / 0.8666 GB, free: 46.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/1.416, allocations: 7.969 kB / 0.8666 GB, free: 46.42 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/1.431, allocations: 10.15 MB / 0.8765 GB, free: 36.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.431, allocations: 0 / 0.8765 GB, free: 36.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/1.432, allocations: 399.4 kB / 0.8769 GB, free: 35.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/1.434, allocations: 0.7088 MB / 0.8776 GB, free: 35.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/1.434, allocations: 40 kB / 0.8776 GB, free: 35.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007389/1.442, allocations: 8.654 MB / 0.886 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.442, allocations: 0 / 0.886 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007759/1.449, allocations: 6.709 MB / 0.8926 GB, free: 19.28 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/1.451, allocations: 0.642 MB / 0.8932 GB, free: 18.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005927/1.452, allocations: 35.98 kB / 0.8933 GB, free: 18.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/1.454, allocations: 124.8 kB / 0.8934 GB, free: 18.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000338/1.454, allocations: 117.3 kB / 0.8935 GB, free: 18.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/1.454, allocations: 52.94 kB / 0.8935 GB, free: 18.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006199/1.46, allocations: 4.602 MB / 0.898 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/1.46, allocations: 0 / 0.898 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007271/1.468, allocations: 1.432 MB / 0.8994 GB, free: 12.28 MB / 0.5294 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.008053/1.476, allocations: 7.564 MB / 0.9068 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2458/1.722, allocations: 6.452 MB / 0.9131 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.722, allocations: 2.281 kB / 0.9131 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003591/1.725, allocations: 2.062 MB / 0.9151 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005354/1.731, allocations: 0.7542 MB / 0.9159 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1331/1.864, allocations: 177.6 MB / 1.089 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005288/1.869, allocations: 4.778 MB / 1.094 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006343/1.875, allocations: 2.54 MB / 1.096 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003825/1.879, allocations: 3.049 MB / 1.099 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of SimCode: time 1.383e-06/1.879, allocations: 0 / 1.099 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4331/2.312, allocations: 118.1 MB / 1.215 GB, free: 110 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/2.313, allocations: 199 kB / 1.215 GB, free: 109.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.581/7.894, allocations: 3.938 kB / 1.215 GB, free: 109.8 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat