Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.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.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force",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.001117/0.001117, allocations: 100.2 kB / 16.99 MB, free: 5.941 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.00132/0.001319, allocations: 183 kB / 17.87 MB, free: 5.609 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.45/1.45, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2315/0.2315, allocations: 44.23 MB / 337.1 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004496, allocations: 8 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1392, allocations: 61.92 MB / 471.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3325/0.4718, allocations: 76.41 MB / 0.5351 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04103/0.5129, allocations: 17.15 MB / 0.5519 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01979/0.5327, allocations: 384.7 kB / 0.5522 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01335/0.5461, allocations: 3.86 MB / 0.556 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03863/0.5848, allocations: 10.92 MB / 0.5667 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005926/0.5907, allocations: 0.8822 MB / 0.5675 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.06637/0.6571, allocations: 49.01 MB / 0.6154 GB, free: 240 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/0.6678, allocations: 7.268 MB / 0.6225 GB, free: 8.883 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002768/0.6706, allocations: 1.553 MB / 0.624 GB, free: 7.324 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/0.6731, allocations: 2.048 MB / 0.626 GB, free: 5.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006565/0.6737, allocations: 212 kB / 0.6262 GB, free: 5.062 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.6758, allocations: 0.9871 MB / 0.6272 GB, free: 4.074 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002073/0.6779, allocations: 2.466 MB / 0.6296 GB, free: 1.602 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.6791, allocations: 1.255 MB / 0.6308 GB, free: 344 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008236/0.6873, allocations: 8.322 MB / 0.6389 GB, free: 7.996 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.6874, allocations: 0 / 0.6389 GB, free: 7.996 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6874, allocations: 3.938 kB / 0.6389 GB, free: 7.992 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000285/0.6877, allocations: 4 kB / 0.6389 GB, free: 7.988 MB / 478.1 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.0148/0.7025, allocations: 6.665 MB / 0.6454 GB, free: 1.238 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.7025, allocations: 8.031 kB / 0.6454 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003013/0.7056, allocations: 1.05 MB / 0.6465 GB, free: 172 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04311/0.7487, allocations: 8.206 MB / 0.6545 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/0.7592, allocations: 4.352 MB / 0.6587 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003694/0.7596, allocations: 369.3 kB / 0.6591 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001812/0.7614, allocations: 479.7 kB / 0.6595 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02877/0.7902, allocations: 15.13 MB / 0.6743 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001785/0.7904, allocations: 63.45 kB / 0.6744 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007648/0.7912, allocations: 223.8 kB / 0.6746 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005685/0.7969, allocations: 2.871 MB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02594/0.8229, allocations: 12.76 MB / 0.6899 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3244/1.147, allocations: 58.85 MB / 0.7473 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01761/1.165, allocations: 7.392 MB / 0.7546 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01458/1.18, allocations: 8.855 MB / 0.7632 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/1.18, allocations: 64.27 kB / 0.7633 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=246): time 4.699e-06/1.18, allocations: 0 / 0.7633 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=288): time 0.07741/1.257, allocations: 32.19 MB / 0.7947 GB, free: 118.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/1.257, allocations: 235.6 kB / 0.7949 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/1.267, allocations: 6.935 MB / 0.8017 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007942/1.268, allocations: 72.05 kB / 0.8018 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002548/1.271, allocations: 4.519 MB / 0.8062 GB, free: 106.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001399/1.272, allocations: 1.085 MB / 0.8072 GB, free: 105.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004929/1.273, allocations: 171.9 kB / 0.8074 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003412/1.273, allocations: 0.6719 MB / 0.8081 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004309/1.277, allocations: 3.378 MB / 0.8113 GB, free: 101 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00628/1.284, allocations: 8.356 MB / 0.8195 GB, free: 90.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00681/1.291, allocations: 5.192 MB / 0.8246 GB, free: 85.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/1.291, allocations: 48 kB / 0.8246 GB, free: 84.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.024/1.315, allocations: 13.05 MB / 0.8374 GB, free: 71.92 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002452/1.315, allocations: 80 kB / 0.8374 GB, free: 71.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003705/1.315, allocations: 176.5 kB / 0.8376 GB, free: 71.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004635/1.32, allocations: 1.781 MB / 0.8394 GB, free: 69.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006745/1.327, allocations: 1.973 MB / 0.8413 GB, free: 67.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/1.341, allocations: 12.19 MB / 0.8532 GB, free: 55.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007875/1.349, allocations: 493.1 kB / 0.8537 GB, free: 54.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001865/1.351, allocations: 0.5077 MB / 0.8541 GB, free: 54.48 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],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 (1026): * Single equations (assignments): 1019 * Array equations: 5 * 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.006372/1.358, allocations: 3.041 MB / 0.8571 GB, free: 51.42 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001714/1.359, allocations: 0.563 MB / 0.8577 GB, free: 50.85 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/1.37, allocations: 6.483 MB / 0.864 GB, free: 44.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.873e-05/1.37, allocations: 33.17 kB / 0.864 GB, free: 44.31 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/1.37, allocations: 8 kB / 0.864 GB, free: 44.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.954e-05/1.37, allocations: 11.95 kB / 0.8641 GB, free: 44.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02473/1.395, allocations: 14.55 MB / 0.8783 GB, free: 29.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-05/1.395, allocations: 4 kB / 0.8783 GB, free: 29.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002358/1.397, allocations: 495.2 kB / 0.8787 GB, free: 29.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003535/1.401, allocations: 1.51 MB / 0.8802 GB, free: 27.69 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004086/1.401, allocations: 53.17 kB / 0.8803 GB, free: 27.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01265/1.414, allocations: 11.4 MB / 0.8914 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/1.414, allocations: 8 kB / 0.8914 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/1.428, allocations: 11.37 MB / 0.9025 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/1.43, allocations: 0.6497 MB / 0.9031 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001423/1.432, allocations: 51.95 kB / 0.9032 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002835/1.435, allocations: 191.7 kB / 0.9034 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006088/1.435, allocations: 174.8 kB / 0.9035 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/1.436, allocations: 83.98 kB / 0.9036 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.2816/1.717, allocations: 4.469 MB / 0.908 GB, free: 171 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.51e-07/1.717, allocations: 0 / 0.908 GB, free: 171 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009208/1.726, allocations: 1.583 MB / 0.9095 GB, free: 171 MB / 0.5294 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.01983/1.746, allocations: 12.76 MB / 0.922 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01438/1.761, allocations: 8.3 MB / 0.9301 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.84e-05/1.761, allocations: 4 kB / 0.9301 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005116/1.766, allocations: 3.297 MB / 0.9333 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004899/1.771, allocations: 0.7032 MB / 0.934 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06162/1.832, allocations: 154.5 MB / 1.085 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007327/1.84, allocations: 4.768 MB / 1.09 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008677/1.849, allocations: 2.811 MB / 1.092 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004968/1.854, allocations: 3.01 MB / 1.095 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/1.854, allocations: 0 / 1.095 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4311/2.285, allocations: 125.7 MB / 1.218 GB, free: 101.6 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/2.285, allocations: 205.4 kB / 1.218 GB, free: 101.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.55/7.835, allocations: 0 / 1.218 GB, free: 101.3 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat