Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces",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.00159/0.00159, allocations: 94.42 kB / 16.98 MB, free: 6.398 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.001754/0.001754, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.333/1.333, allocations: 223.2 MB / 241.8 MB, free: 392 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.1972/0.1972, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003047, allocations: 12 kB / 409.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1172, allocations: 61.91 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3102/0.4275, allocations: 62 MB / 0.521 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03824/0.4658, allocations: 14.36 MB / 0.5351 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01549/0.4813, allocations: 310.9 kB / 0.5354 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.4923, allocations: 3.131 MB / 0.5384 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02944/0.5217, allocations: 8.984 MB / 0.5472 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0043/0.5261, allocations: 0.7724 MB / 0.5479 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.06857/0.5947, allocations: 48.53 MB / 0.5953 GB, free: 4.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008769/0.6035, allocations: 5.365 MB / 0.6006 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.6062, allocations: 1.304 MB / 0.6018 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/0.6089, allocations: 1.69 MB / 0.6035 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007882/0.6097, allocations: 172 kB / 0.6037 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/0.6124, allocations: 1.061 MB / 0.6047 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002383/0.6148, allocations: 2.038 MB / 0.6067 GB, free: 9.203 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.6163, allocations: 1.045 MB / 0.6077 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008221/0.6245, allocations: 6.936 MB / 0.6145 GB, free: 1.195 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.6245, allocations: 7.938 kB / 0.6145 GB, free: 1.188 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.139e-06/0.6246, allocations: 0 / 0.6145 GB, free: 1.188 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002919/0.6249, allocations: 0 / 0.6145 GB, free: 1.188 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01283/0.6377, allocations: 5.417 MB / 0.6198 GB, free: 11.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.6378, allocations: 8.031 kB / 0.6198 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002617/0.6404, allocations: 0.8474 MB / 0.6206 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04135/0.6817, allocations: 8.028 MB / 0.6285 GB, free: 2.785 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008924/0.6907, allocations: 3.845 MB / 0.6322 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/0.691, allocations: 283.3 kB / 0.6325 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009596/0.6919, allocations: 383.7 kB / 0.6328 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02044/0.7124, allocations: 11.95 MB / 0.6445 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001413/0.7126, allocations: 55.53 kB / 0.6446 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004394/0.713, allocations: 183.8 kB / 0.6447 GB, free: 1.203 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003497/0.7165, allocations: 2.268 MB / 0.647 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01811/0.7346, allocations: 9.775 MB / 0.6565 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05747/0.7922, allocations: 46.38 MB / 0.7018 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009333/0.8015, allocations: 3.819 MB / 0.7055 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.25/1.052, allocations: 6.309 MB / 0.7117 GB, free: 192.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/1.052, allocations: 57.81 kB / 0.7117 GB, free: 192.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 5.561e-06/1.052, allocations: 1.031 kB / 0.7117 GB, free: 192.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04637/1.098, allocations: 15.09 MB / 0.7265 GB, free: 186.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/1.098, allocations: 201.6 kB / 0.7267 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008883/1.107, allocations: 5.888 MB / 0.7324 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004653/1.108, allocations: 50.7 kB / 0.7325 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002703/1.11, allocations: 3.83 MB / 0.7362 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001077/1.111, allocations: 0.6667 MB / 0.7369 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003114/1.112, allocations: 132 kB / 0.737 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002952/1.112, allocations: 0.5908 MB / 0.7376 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002706/1.115, allocations: 2.076 MB / 0.7396 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004387/1.119, allocations: 6.334 MB / 0.7458 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004144/1.123, allocations: 3.568 MB / 0.7493 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.488e-05/1.123, allocations: 47.95 kB / 0.7493 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01424/1.138, allocations: 8.626 MB / 0.7577 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-05/1.138, allocations: 68.94 kB / 0.7578 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/1.138, allocations: 156.8 kB / 0.7579 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/1.139, allocations: 0.7238 MB / 0.7586 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004334/1.144, allocations: 1.528 MB / 0.7601 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005748/1.15, allocations: 6.44 MB / 0.7664 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005868/1.155, allocations: 345.2 kB / 0.7668 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/1.157, allocations: 420 kB / 0.7672 GB, free: 150.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (810): * Single equations (assignments): 803 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005378/1.162, allocations: 2.515 MB / 0.7696 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001689/1.164, allocations: 462.3 kB / 0.7701 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005399/1.169, allocations: 2.689 MB / 0.7727 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.002e-05/1.169, allocations: 24.72 kB / 0.7727 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.169, allocations: 4 kB / 0.7727 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/1.169, allocations: 10.03 kB / 0.7727 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/1.183, allocations: 7.588 MB / 0.7801 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/1.183, allocations: 7.938 kB / 0.7801 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/1.184, allocations: 299.8 kB / 0.7804 GB, free: 137 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/1.185, allocations: 487.1 kB / 0.7809 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/1.185, allocations: 28 kB / 0.7809 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005147/1.191, allocations: 5.803 MB / 0.7866 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.191, allocations: 7.938 kB / 0.7866 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006237/1.197, allocations: 5.403 MB / 0.7919 GB, free: 124.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002102/1.199, allocations: 0.5419 MB / 0.7924 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008623/1.2, allocations: 35.94 kB / 0.7924 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/1.201, allocations: 72.7 kB / 0.7925 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/1.202, allocations: 104.8 kB / 0.7926 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.49e-05/1.202, allocations: 44.94 kB / 0.7926 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005167/1.207, allocations: 3.802 MB / 0.7964 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.61e-07/1.207, allocations: 4 kB / 0.7964 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006767/1.214, allocations: 1.148 MB / 0.7975 GB, free: 119.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (126): * Single equations (assignments): 121 * 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 {(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.006404/1.22, allocations: 6.582 MB / 0.8039 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007252/1.227, allocations: 5.142 MB / 0.8089 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/1.228, allocations: 4 kB / 0.8089 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/1.229, allocations: 1.48 MB / 0.8104 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003864/1.233, allocations: 0.5841 MB / 0.8109 GB, free: 105.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2818/1.515, allocations: 128 MB / 0.936 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00778/1.523, allocations: 3.952 MB / 0.9398 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006647/1.529, allocations: 2.162 MB / 0.9419 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003761/1.533, allocations: 2.377 MB / 0.9443 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.182e-06/1.533, allocations: 0 / 0.9443 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1236/1.657, allocations: 93.73 MB / 1.036 GB, free: 70.19 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/1.657, allocations: 196.8 kB / 1.036 GB, free: 69.95 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.18/6.837, allocations: 0 / 1.036 GB, free: 69.95 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat