Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",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.001487/0.001488, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001777/0.001777, allocations: 179.1 kB / 18.71 MB, free: 4.367 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.306/1.306, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.196/0.196, allocations: 44.18 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.84 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2956, allocations: 60.81 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.009835/0.3055, allocations: 9.743 MB / 0.5279 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00637/0.3119, allocations: 2.919 MB / 0.5308 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.3134, allocations: 52.94 kB / 0.5308 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003682/0.3171, allocations: 1.996 MB / 0.5328 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003078/0.3203, allocations: 1.156 MB / 0.5339 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008069/0.3211, allocations: 293.3 kB / 0.5342 GB, free: 8.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003087/0.3242, allocations: 2.329 MB / 0.5365 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/0.3268, allocations: 2.324 MB / 0.5387 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.3281, allocations: 0.8988 MB / 0.5396 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.3295, allocations: 1.177 MB / 0.5407 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003826/0.3299, allocations: 197 kB / 0.5409 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.3312, allocations: 0.704 MB / 0.5416 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001108/0.3324, allocations: 1.163 MB / 0.5428 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.3337, allocations: 1.351 MB / 0.5441 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.338, allocations: 4.442 MB / 0.5484 GB, free: 13.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3381, allocations: 0 / 0.5484 GB, free: 13.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.468e-06/0.3381, allocations: 4 kB / 0.5484 GB, free: 13.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.249e-05/0.3382, allocations: 3.938 kB / 0.5484 GB, free: 13.31 MB / 414.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.004471/0.3426, allocations: 2.943 MB / 0.5513 GB, free: 10.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.3427, allocations: 8.031 kB / 0.5513 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006243/0.3433, allocations: 499.8 kB / 0.5518 GB, free: 9.805 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004672/0.348, allocations: 1.588 MB / 0.5533 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.3503, allocations: 1.359 MB / 0.5547 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.499e-05/0.3504, allocations: 151.9 kB / 0.5548 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003364/0.3507, allocations: 195.9 kB / 0.555 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008424/0.3591, allocations: 6.428 MB / 0.5613 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.681e-05/0.3592, allocations: 15.88 kB / 0.5613 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/0.3595, allocations: 91.84 kB / 0.5614 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001871/0.3613, allocations: 1.403 MB / 0.5627 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00904/0.3704, allocations: 5.491 MB / 0.5681 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02287/0.3933, allocations: 20.42 MB / 0.588 GB, free: 3.746 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003852/0.3972, allocations: 2.077 MB / 0.5901 GB, free: 1.539 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000865/0.3981, allocations: 0.6953 MB / 0.5907 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005386/0.4034, allocations: 3.491 MB / 0.5942 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.4035, allocations: 35 kB / 0.5942 GB, free: 13.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.207e-06/0.4035, allocations: 0 / 0.5942 GB, free: 13.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005036/0.4085, allocations: 1.981 MB / 0.5961 GB, free: 11.17 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.4086, allocations: 63.84 kB / 0.5962 GB, free: 11.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/0.4109, allocations: 1.962 MB / 0.5981 GB, free: 9.129 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.411, allocations: 37.69 kB / 0.5981 GB, free: 9.086 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.4121, allocations: 1.879 MB / 0.6 GB, free: 7.176 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.4123, allocations: 316.1 kB / 0.6003 GB, free: 6.863 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006714/0.413, allocations: 0.6267 MB / 0.6009 GB, free: 6.227 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4132, allocations: 357.9 kB / 0.6012 GB, free: 5.871 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.4143, allocations: 0.8881 MB / 0.6021 GB, free: 4.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002239/0.4166, allocations: 2.782 MB / 0.6048 GB, free: 1.258 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/0.4204, allocations: 3.995 MB / 0.6087 GB, free: 12.33 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-05/0.4205, allocations: 20 kB / 0.6087 GB, free: 12.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004769/0.4253, allocations: 3.546 MB / 0.6122 GB, free: 8.754 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.4253, allocations: 36 kB / 0.6122 GB, free: 8.719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.887e-05/0.4254, allocations: 67.94 kB / 0.6123 GB, free: 8.652 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.399e-05/0.4255, allocations: 91.98 kB / 0.6124 GB, free: 8.562 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/0.4272, allocations: 0.6628 MB / 0.613 GB, free: 7.898 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.525e-05/0.4273, allocations: 131.5 kB / 0.6132 GB, free: 7.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.429, allocations: 419.5 kB / 0.6136 GB, free: 7.355 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/0.4292, allocations: 192 kB / 0.6137 GB, free: 7.168 MB / 478.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.001636/0.4308, allocations: 1.373 MB / 0.6151 GB, free: 5.785 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.431, allocations: 165.8 kB / 0.6152 GB, free: 5.621 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.4313, allocations: 197.2 kB / 0.6154 GB, free: 5.426 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.4313, allocations: 8 kB / 0.6154 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.4314, allocations: 4 kB / 0.6154 GB, free: 5.414 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4314, allocations: 3.984 kB / 0.6154 GB, free: 5.41 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005573/0.437, allocations: 4.133 MB / 0.6195 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.437, allocations: 4 kB / 0.6195 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/0.4374, allocations: 99.81 kB / 0.6196 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.4374, allocations: 8 kB / 0.6196 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/0.4374, allocations: 20.69 kB / 0.6196 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/0.4374, allocations: 15.92 kB / 0.6196 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.4375, allocations: 12 kB / 0.6196 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.4387, allocations: 1.25 MB / 0.6209 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.439, allocations: 250.7 kB / 0.6211 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.4392, allocations: 12 kB / 0.6211 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/0.4397, allocations: 31.97 kB / 0.6211 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.4397, allocations: 51.83 kB / 0.6212 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/0.4398, allocations: 28 kB / 0.6212 GB, free: 15.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001472/0.4413, allocations: 1.287 MB / 0.6225 GB, free: 13.97 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4413, allocations: 0 / 0.6225 GB, free: 13.97 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002165/0.4435, allocations: 0.7037 MB / 0.6232 GB, free: 13.27 MB / 494.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.001621/0.4451, allocations: 1.855 MB / 0.625 GB, free: 11.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002628/0.4477, allocations: 2.05 MB / 0.627 GB, free: 9.277 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4478, allocations: 4.125 kB / 0.627 GB, free: 9.273 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.4483, allocations: 455.8 kB / 0.6274 GB, free: 8.828 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.4494, allocations: 265.1 kB / 0.6277 GB, free: 8.574 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/0.4732, allocations: 21.05 MB / 0.6482 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/0.4753, allocations: 2.323 MB / 0.6505 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001912/0.4772, allocations: 0.9638 MB / 0.6514 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/0.4784, allocations: 1.073 MB / 0.6525 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of SimCode: time 2.305e-06/0.4784, allocations: 0 / 0.6525 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05591/0.5344, allocations: 33.06 MB / 0.6848 GB, free: 11.69 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.03, allocations: 8.547 kB / 0.6848 GB, free: 11.68 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches