Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_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.005456/0.005456, allocations: 99.89 kB / 15.87 MB, free: 6.309 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.001264/0.001264, allocations: 196.2 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 222.6 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3133/0.3133, allocations: 43.5 MB / 313.5 MB, free: 8.254 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00129/0.001291, allocations: 66.56 kB / 382.1 MB, free: 8.387 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.103, allocations: 57.78 MB / 439.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2037/0.3068, allocations: 38.5 MB / 478.4 MB, free: 27.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01458/0.3214, allocations: 7.641 MB / 486.1 MB, free: 22.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006414/0.3279, allocations: 155.9 kB / 486.2 MB, free: 22.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003023/0.3309, allocations: 2.007 MB / 488.2 MB, free: 21.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00217/0.3331, allocations: 1.124 MB / 489.3 MB, free: 21.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.3337, allocations: 262.7 kB / 489.6 MB, free: 21.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002524/0.3362, allocations: 3.583 MB / 493.2 MB, free: 20.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002437/0.3386, allocations: 2.347 MB / 495.5 MB, free: 19.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009996/0.3397, allocations: 0.841 MB / 496.4 MB, free: 19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.341, allocations: 1.336 MB / 497.7 MB, free: 18.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002861/0.3413, allocations: 158 kB / 497.9 MB, free: 18.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.3424, allocations: 0.693 MB / 498.6 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001066/0.3435, allocations: 1.161 MB / 499.7 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.3446, allocations: 1.39 MB / 0.4894 GB, free: 16.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004667/0.3493, allocations: 4.486 MB / 0.4937 GB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3493, allocations: 0 / 0.4937 GB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3494, allocations: 3.938 kB / 0.4937 GB, free: 15.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.128e-05/0.3494, allocations: 0 / 0.4937 GB, free: 15.37 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.005798/0.3553, allocations: 3.08 MB / 0.4968 GB, free: 13.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3553, allocations: 9.219 kB / 0.4968 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006698/0.356, allocations: 0.5102 MB / 0.4973 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005202/0.3612, allocations: 1.605 MB / 0.4988 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.3636, allocations: 1.383 MB / 0.5002 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.3637, allocations: 161.2 kB / 0.5003 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003585/0.3641, allocations: 201.7 kB / 0.5005 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.3743, allocations: 6.784 MB / 0.5071 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/0.3744, allocations: 17.59 kB / 0.5072 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002607/0.3746, allocations: 89.44 kB / 0.5073 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002151/0.3768, allocations: 1.485 MB / 0.5087 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008546/0.3853, allocations: 5.801 MB / 0.5144 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02556/0.4109, allocations: 21.6 MB / 0.5355 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004304/0.4153, allocations: 2.245 MB / 0.5377 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.4163, allocations: 0.7861 MB / 0.5384 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005841/0.4222, allocations: 3.749 MB / 0.5421 GB, free: 7.297 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.4222, allocations: 39.12 kB / 0.5421 GB, free: 7.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 4.178e-06/0.4222, allocations: 4 kB / 0.5421 GB, free: 7.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005315/0.4275, allocations: 2.193 MB / 0.5443 GB, free: 5.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.4276, allocations: 59.97 kB / 0.5443 GB, free: 4.977 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002749/0.4304, allocations: 2.028 MB / 0.5463 GB, free: 2.949 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.979e-05/0.4304, allocations: 41.69 kB / 0.5463 GB, free: 2.902 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.4317, allocations: 1.957 MB / 0.5483 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000297/0.432, allocations: 363.4 kB / 0.5486 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008699/0.4329, allocations: 0.6549 MB / 0.5492 GB, free: 15.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.4331, allocations: 365.9 kB / 0.5496 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.4344, allocations: 0.9627 MB / 0.5505 GB, free: 14.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002781/0.4372, allocations: 2.926 MB / 0.5534 GB, free: 10.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004335/0.4415, allocations: 4.239 MB / 0.5575 GB, free: 5.453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-05/0.4416, allocations: 23.94 kB / 0.5575 GB, free: 5.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006882/0.4485, allocations: 3.781 MB / 0.5612 GB, free: 1.645 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.932e-05/0.4486, allocations: 36 kB / 0.5613 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-05/0.4486, allocations: 68 kB / 0.5613 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.705e-05/0.4487, allocations: 95.94 kB / 0.5614 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/0.4507, allocations: 0.7135 MB / 0.5621 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.93e-05/0.4508, allocations: 131.5 kB / 0.5623 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.4529, allocations: 455.5 kB / 0.5627 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/0.4531, allocations: 196 kB / 0.5629 GB, free: 15.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.002695/0.4558, allocations: 1.431 MB / 0.5643 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/0.4562, allocations: 169.8 kB / 0.5644 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.4581, allocations: 1.197 MB / 0.5656 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/0.4582, allocations: 12 kB / 0.5656 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4582, allocations: 4 kB / 0.5656 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.4582, allocations: 3.984 kB / 0.5656 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007848/0.466, allocations: 4.978 MB / 0.5705 GB, free: 7.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.4661, allocations: 8.906 kB / 0.5705 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004762/0.4666, allocations: 135.7 kB / 0.5706 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.617e-05/0.4666, allocations: 19.94 kB / 0.5706 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.4666, allocations: 27.98 kB / 0.5707 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.257e-05/0.4667, allocations: 15.94 kB / 0.5707 GB, free: 7.754 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.899e-05/0.4667, allocations: 15.94 kB / 0.5707 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.4685, allocations: 1.501 MB / 0.5722 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004006/0.4689, allocations: 266.6 kB / 0.5724 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.4691, allocations: 31.92 kB / 0.5724 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000538/0.4696, allocations: 35.97 kB / 0.5725 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.4698, allocations: 71.69 kB / 0.5725 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.998e-05/0.4698, allocations: 43.98 kB / 0.5726 GB, free: 5.633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00176/0.4716, allocations: 1.32 MB / 0.5739 GB, free: 4.289 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4716, allocations: 0 / 0.5739 GB, free: 4.289 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002547/0.4742, allocations: 0.7543 MB / 0.5746 GB, free: 3.531 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.002182/0.4763, allocations: 2.122 MB / 0.5767 GB, free: 1.262 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003076/0.4794, allocations: 2.231 MB / 0.5789 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4794, allocations: 0 / 0.5789 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006545/0.4801, allocations: 0.5417 MB / 0.5794 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.4813, allocations: 256.3 kB / 0.5796 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03262/0.514, allocations: 25.28 MB / 0.6043 GB, free: 1.695 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002257/0.5163, allocations: 2.405 MB / 0.6067 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002175/0.5185, allocations: 1.016 MB / 0.6077 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/0.5198, allocations: 1.14 MB / 0.6088 GB, free: 13.11 MB / 494.1 MB Notification: Performance of SimCode: time 7.22e-07/0.5198, allocations: 0 / 0.6088 GB, free: 13.11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2591/0.7789, allocations: 33.74 MB / 0.6417 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/0.7791, allocations: 195.4 kB / 0.6419 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/3.139, allocations: 0 / 0.6419 GB, free: 159.1 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches