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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 99.98 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.215/0.215, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/2.988e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1337, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4513/0.585, allocations: 107 MB / 0.6063 GB, free: 14.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.5853, allocations: 75.97 kB / 0.6064 GB, free: 14.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6857/1.271, allocations: 132.4 MB / 0.7357 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.246e-06/1.271, allocations: 0 / 0.7357 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004947/1.272, allocations: 135.4 kB / 0.7358 GB, free: 110.2 MB / 0.5105 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.02593/1.298, allocations: 6.338 MB / 0.742 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/1.298, allocations: 7.312 kB / 0.742 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005582/1.303, allocations: 1.117 MB / 0.7431 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03628/1.34, allocations: 9.42 MB / 0.7523 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0212/1.361, allocations: 8.094 MB / 0.7602 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005643/1.361, allocations: 494 kB / 0.7607 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003526/1.365, allocations: 0.6425 MB / 0.7613 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03871/1.404, allocations: 15.11 MB / 0.7761 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005543/1.404, allocations: 104.3 kB / 0.7762 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002723/1.407, allocations: 315.1 kB / 0.7765 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001889/1.409, allocations: 1.34 MB / 0.7778 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02416/1.433, allocations: 11.81 MB / 0.7893 GB, free: 97.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07782/1.511, allocations: 67.57 MB / 0.8553 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/1.524, allocations: 5.249 MB / 0.8604 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003252/1.527, allocations: 2.609 MB / 0.863 GB, free: 33.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/1.527, allocations: 37.52 kB / 0.863 GB, free: 33.81 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/1.527, allocations: 59.28 kB / 0.8631 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 6.241e-06/1.527, allocations: 0 / 0.8631 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208): time 0.05583/1.583, allocations: 16.79 MB / 0.8795 GB, free: 17.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.583, allocations: 256.8 kB / 0.8797 GB, free: 17.35 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0159/1.599, allocations: 5.927 MB / 0.8855 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006492/1.6, allocations: 60.98 kB / 0.8856 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005102/1.605, allocations: 4.666 MB / 0.8901 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001431/1.607, allocations: 0.828 MB / 0.8909 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/1.608, allocations: 156 kB / 0.8911 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001055/1.609, allocations: 0.6326 MB / 0.8917 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00621/1.615, allocations: 2.393 MB / 0.894 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01265/1.628, allocations: 7.332 MB / 0.9012 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/1.639, allocations: 4.19 MB / 0.9053 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002422/1.639, allocations: 52 kB / 0.9053 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.4443/2.083, allocations: 10.01 MB / 0.9151 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001788/2.084, allocations: 79.84 kB / 0.9152 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004147/2.084, allocations: 176.1 kB / 0.9154 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002469/2.086, allocations: 0.7944 MB / 0.9161 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006854/2.093, allocations: 1.758 MB / 0.9179 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/2.104, allocations: 8.275 MB / 0.9259 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007698/2.112, allocations: 414 kB / 0.9263 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00169/2.114, allocations: 488.5 kB / 0.9268 GB, free: 102.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.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.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (952): * Single equations (assignments): 946 * 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.002166/2.116, allocations: 0.7283 MB / 0.9275 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001288/2.117, allocations: 0.553 MB / 0.928 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00687/2.124, allocations: 3.354 MB / 0.9313 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.51e-05/2.124, allocations: 22.53 kB / 0.9313 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/2.124, allocations: 9.688 kB / 0.9314 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/2.124, allocations: 8.953 kB / 0.9314 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01869/2.143, allocations: 9.512 MB / 0.9407 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/2.143, allocations: 0 / 0.9407 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/2.144, allocations: 300.5 kB / 0.9409 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001277/2.146, allocations: 0.4932 MB / 0.9414 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/2.146, allocations: 38.98 kB / 0.9415 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00667/2.152, allocations: 7.387 MB / 0.9487 GB, free: 97.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/2.152, allocations: 6.844 kB / 0.9487 GB, free: 97.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007946/2.16, allocations: 6.171 MB / 0.9547 GB, free: 96.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002289/2.163, allocations: 0.6142 MB / 0.9553 GB, free: 96.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000648/2.163, allocations: 37.44 kB / 0.9553 GB, free: 96.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/2.165, allocations: 103.7 kB / 0.9554 GB, free: 96.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/2.165, allocations: 124.7 kB / 0.9556 GB, free: 96.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/2.166, allocations: 53.66 kB / 0.9556 GB, free: 96.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006472/2.172, allocations: 4.21 MB / 0.9597 GB, free: 94.85 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.6e-07/2.172, allocations: 0 / 0.9597 GB, free: 94.85 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008232/2.18, allocations: 1.389 MB / 0.9611 GB, free: 94.7 MB / 0.5261 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 () * 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.008731/2.189, allocations: 7.01 MB / 0.9679 GB, free: 91.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009455/2.199, allocations: 6.157 MB / 0.9739 GB, free: 89.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/2.199, allocations: 3.812 kB / 0.9739 GB, free: 89.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002452/2.201, allocations: 1.94 MB / 0.9758 GB, free: 88.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004982/2.206, allocations: 0.7625 MB / 0.9766 GB, free: 88.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03618/2.242, allocations: 13.02 MB / 0.9893 GB, free: 83.69 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006335/2.249, allocations: 4.766 MB / 0.9939 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00673/2.255, allocations: 2.537 MB / 0.9964 GB, free: 82.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004209/2.26, allocations: 3.036 MB / 0.9994 GB, free: 79.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.302e-06/2.26, allocations: 0 / 0.9994 GB, free: 79.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1827/2.442, allocations: 115.1 MB / 1.112 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/2.443, allocations: 163.3 kB / 1.112 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.808/9.251, allocations: 4 kB / 1.112 GB, free: 14.01 MB / 0.5573 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