Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",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.001424/0.001424, allocations: 103.1 kB / 17.32 MB, free: 5.984 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.001775/0.001775, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.372/1.372, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2042/0.2042, allocations: 44.16 MB / 336.2 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 61.06 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1112, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.03458/0.1458, allocations: 37.69 MB / 0.4946 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01554/0.1614, allocations: 7.529 MB / 0.502 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005894/0.1673, allocations: 155.7 kB / 0.5021 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2123/0.3796, allocations: 1.923 MB / 0.504 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002708/0.3824, allocations: 1.056 MB / 0.5051 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006476/0.383, allocations: 266.5 kB / 0.5053 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00287/0.3859, allocations: 2.348 MB / 0.5076 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002689/0.3886, allocations: 2.457 MB / 0.51 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.3899, allocations: 0.9133 MB / 0.5109 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.3915, allocations: 1.285 MB / 0.5121 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003834/0.3919, allocations: 196.6 kB / 0.5123 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.3934, allocations: 0.7059 MB / 0.513 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.3945, allocations: 1.166 MB / 0.5142 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.3956, allocations: 1.355 MB / 0.5155 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004718/0.4004, allocations: 4.318 MB / 0.5197 GB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4004, allocations: 0 / 0.5197 GB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4004, allocations: 0 / 0.5197 GB, free: 8.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001037/0.4005, allocations: 0 / 0.5197 GB, free: 8.961 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.005345/0.4059, allocations: 2.945 MB / 0.5226 GB, free: 7.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4059, allocations: 9.875 kB / 0.5226 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006566/0.4066, allocations: 495.6 kB / 0.5231 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00474/0.4113, allocations: 1.6 MB / 0.5246 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.4136, allocations: 1.333 MB / 0.5259 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.214e-05/0.4137, allocations: 151.2 kB / 0.5261 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003841/0.4141, allocations: 191.7 kB / 0.5262 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008452/0.4226, allocations: 6.432 MB / 0.5325 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/0.4226, allocations: 12.5 kB / 0.5325 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/0.4229, allocations: 89.8 kB / 0.5326 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001792/0.4247, allocations: 1.405 MB / 0.534 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009512/0.4342, allocations: 5.493 MB / 0.5394 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02495/0.4592, allocations: 20.55 MB / 0.5594 GB, free: 9.285 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00426/0.4635, allocations: 2.093 MB / 0.5615 GB, free: 7.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009289/0.4645, allocations: 0.6896 MB / 0.5622 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005911/0.4704, allocations: 3.507 MB / 0.5656 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.4704, allocations: 35 kB / 0.5656 GB, free: 2.711 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.115e-06/0.4704, allocations: 0 / 0.5656 GB, free: 2.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.00513/0.4756, allocations: 1.984 MB / 0.5675 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.4756, allocations: 59.78 kB / 0.5676 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/0.4786, allocations: 1.966 MB / 0.5695 GB, free: 14.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.4787, allocations: 37.7 kB / 0.5696 GB, free: 14.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.4799, allocations: 1.875 MB / 0.5714 GB, free: 12.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.4802, allocations: 316.2 kB / 0.5717 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008087/0.481, allocations: 0.6185 MB / 0.5723 GB, free: 11.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.4812, allocations: 361.9 kB / 0.5726 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.4825, allocations: 0.892 MB / 0.5735 GB, free: 10.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002496/0.485, allocations: 2.768 MB / 0.5762 GB, free: 6.898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004072/0.4891, allocations: 4.004 MB / 0.5801 GB, free: 2.234 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.859e-05/0.4892, allocations: 24 kB / 0.5802 GB, free: 2.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005981/0.4952, allocations: 3.544 MB / 0.5836 GB, free: 15.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.048e-05/0.4953, allocations: 32 kB / 0.5836 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/0.4954, allocations: 68 kB / 0.5837 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001113/0.4956, allocations: 88 kB / 0.5838 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/0.4978, allocations: 0.6663 MB / 0.5844 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001567/0.498, allocations: 128.9 kB / 0.5846 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/0.5007, allocations: 427.8 kB / 0.585 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003365/0.5011, allocations: 194.8 kB / 0.5852 GB, free: 13.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 360 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002677/0.5037, allocations: 1.369 MB / 0.5865 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.5041, allocations: 157.9 kB / 0.5866 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004159/0.5045, allocations: 197.2 kB / 0.5868 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/0.5045, allocations: 8 kB / 0.5868 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.5046, allocations: 7.938 kB / 0.5868 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.5046, allocations: 3.984 kB / 0.5869 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007395/0.512, allocations: 4.136 MB / 0.5909 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.512, allocations: 12.69 kB / 0.5909 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/0.5124, allocations: 97.84 kB / 0.591 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.5124, allocations: 12 kB / 0.591 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/0.5125, allocations: 20 kB / 0.591 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-06/0.5125, allocations: 10.72 kB / 0.591 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.5125, allocations: 10.62 kB / 0.591 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.514, allocations: 1.24 MB / 0.5923 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004468/0.5145, allocations: 249.2 kB / 0.5925 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/0.5147, allocations: 19.98 kB / 0.5925 GB, free: 5.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005653/0.5153, allocations: 37.38 kB / 0.5926 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-05/0.5154, allocations: 49.52 kB / 0.5926 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.019e-05/0.5155, allocations: 31.98 kB / 0.5926 GB, free: 5.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002025/0.5175, allocations: 1.287 MB / 0.5939 GB, free: 4.512 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.72e-07/0.5175, allocations: 0 / 0.5939 GB, free: 4.512 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003003/0.5205, allocations: 0.7024 MB / 0.5946 GB, free: 3.809 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * 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 (54): * Single equations (assignments): 51 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002149/0.5227, allocations: 1.849 MB / 0.5964 GB, free: 1.871 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003611/0.5263, allocations: 2.25 MB / 0.5986 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.5264, allocations: 0 / 0.5986 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005533/0.5269, allocations: 464.6 kB / 0.599 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.5284, allocations: 260.9 kB / 0.5993 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03467/0.5631, allocations: 23.59 MB / 0.6223 GB, free: 4.723 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003155/0.5663, allocations: 2.319 MB / 0.6246 GB, free: 2.375 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002287/0.5686, allocations: 0.9599 MB / 0.6255 GB, free: 1.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/0.5704, allocations: 1.081 MB / 0.6266 GB, free: 336 kB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5704, allocations: 0 / 0.6266 GB, free: 336 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05658/0.627, allocations: 32.33 MB / 0.6581 GB, free: 192 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.6272, allocations: 187.7 kB / 0.6583 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/3.221, allocations: 7.875 kB / 0.6583 GB, free: 15.93 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches