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.001408/0.001408, allocations: 106 kB / 15.98 MB, free: 6.34 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.001602/0.001602, allocations: 194 kB / 16.91 MB, free: 6.184 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.491/1.491, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.3606/0.3606, allocations: 43.49 MB / 313.6 MB, free: 8.539 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.001573/0.001573, allocations: 67.91 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1406, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2386/0.3792, allocations: 38.5 MB / 478.6 MB, free: 27.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01899/0.3983, allocations: 7.607 MB / 486.2 MB, free: 22.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009902/0.4082, allocations: 153.3 kB / 486.4 MB, free: 22.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003995/0.4122, allocations: 1.932 MB / 488.3 MB, free: 22.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003152/0.4154, allocations: 1.113 MB / 489.4 MB, free: 21.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008302/0.4163, allocations: 270.8 kB / 489.7 MB, free: 21.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002962/0.4193, allocations: 2.476 MB / 492.1 MB, free: 20.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/0.4216, allocations: 2.486 MB / 494.6 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.423, allocations: 0.9501 MB / 495.6 MB, free: 19.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.4245, allocations: 1.384 MB / 497 MB, free: 18.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004061/0.425, allocations: 217.3 kB / 497.2 MB, free: 18.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.4263, allocations: 0.7062 MB / 497.9 MB, free: 18.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.4274, allocations: 1.235 MB / 499.1 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.4285, allocations: 1.446 MB / 0.4888 GB, free: 17.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005742/0.4343, allocations: 4.556 MB / 0.4933 GB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.4343, allocations: 1.031 kB / 0.4933 GB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4343, allocations: 0 / 0.4933 GB, free: 15.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001652/0.4345, allocations: 0 / 0.4933 GB, free: 15.38 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.00794/0.4424, allocations: 3.077 MB / 0.4963 GB, free: 13.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.4425, allocations: 13.61 kB / 0.4963 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001057/0.4436, allocations: 0.5092 MB / 0.4968 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005733/0.4493, allocations: 1.606 MB / 0.4984 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003505/0.4528, allocations: 1.391 MB / 0.4997 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.453, allocations: 155.9 kB / 0.4999 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009173/0.454, allocations: 201.4 kB / 0.5001 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01633/0.4703, allocations: 6.783 MB / 0.5067 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.4705, allocations: 17.38 kB / 0.5067 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008586/0.4713, allocations: 92.64 kB / 0.5068 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002509/0.4739, allocations: 1.48 MB / 0.5082 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/0.4853, allocations: 5.807 MB / 0.5139 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03055/0.5159, allocations: 21.6 MB / 0.535 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004894/0.5209, allocations: 2.256 MB / 0.5372 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.5221, allocations: 0.7798 MB / 0.538 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007108/0.5292, allocations: 3.747 MB / 0.5416 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.5293, allocations: 43.06 kB / 0.5417 GB, free: 7.957 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 4.198e-06/0.5293, allocations: 0 / 0.5417 GB, free: 7.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005871/0.5352, allocations: 2.189 MB / 0.5438 GB, free: 5.766 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.5353, allocations: 59.97 kB / 0.5439 GB, free: 5.695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003372/0.5386, allocations: 2.028 MB / 0.5458 GB, free: 3.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-05/0.5387, allocations: 33.7 kB / 0.5459 GB, free: 3.629 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.5401, allocations: 1.964 MB / 0.5478 GB, free: 1.633 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.5404, allocations: 363.4 kB / 0.5481 GB, free: 1.273 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009321/0.5414, allocations: 0.6509 MB / 0.5488 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5415, allocations: 365.9 kB / 0.5491 GB, free: 256 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/0.543, allocations: 0.9667 MB / 0.5501 GB, free: 15.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002745/0.5458, allocations: 2.922 MB / 0.5529 GB, free: 11.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004678/0.5505, allocations: 4.247 MB / 0.5571 GB, free: 6.168 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.601e-05/0.5505, allocations: 20 kB / 0.5571 GB, free: 6.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006296/0.5568, allocations: 3.785 MB / 0.5608 GB, free: 2.363 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.364e-05/0.5569, allocations: 36 kB / 0.5608 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/0.5571, allocations: 68 kB / 0.5609 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-05/0.5572, allocations: 95.94 kB / 0.561 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/0.5593, allocations: 0.7096 MB / 0.5617 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000127/0.5594, allocations: 136.2 kB / 0.5618 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/0.5617, allocations: 443.5 kB / 0.5622 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003572/0.5621, allocations: 200 kB / 0.5624 GB, free: 0.6914 MB / 430.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.002581/0.5647, allocations: 1.431 MB / 0.5638 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/0.5651, allocations: 169.8 kB / 0.564 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.5671, allocations: 1.197 MB / 0.5651 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.5672, allocations: 15.94 kB / 0.5652 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5672, allocations: 0 / 0.5652 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.5672, allocations: 3.984 kB / 0.5652 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009723/0.5769, allocations: 4.978 MB / 0.57 GB, free: 8.676 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/0.577, allocations: 8 kB / 0.57 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/0.5775, allocations: 132.6 kB / 0.5702 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/0.5776, allocations: 12 kB / 0.5702 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/0.5776, allocations: 31.94 kB / 0.5702 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.331e-05/0.5777, allocations: 27.86 kB / 0.5702 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/0.5777, allocations: 15.94 kB / 0.5702 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.5796, allocations: 1.501 MB / 0.5717 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005892/0.5802, allocations: 266.6 kB / 0.572 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004168/0.5807, allocations: 31.88 kB / 0.572 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008367/0.5815, allocations: 31.97 kB / 0.572 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.5817, allocations: 75.75 kB / 0.5721 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.6e-05/0.5818, allocations: 39.98 kB / 0.5721 GB, free: 6.352 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002568/0.5844, allocations: 1.32 MB / 0.5734 GB, free: 5.008 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5844, allocations: 0 / 0.5734 GB, free: 5.008 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003585/0.588, allocations: 0.7582 MB / 0.5742 GB, free: 4.246 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.002802/0.5908, allocations: 2.129 MB / 0.5762 GB, free: 1.973 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004236/0.595, allocations: 2.469 MB / 0.5786 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.5951, allocations: 4 kB / 0.5787 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007656/0.5958, allocations: 0.5416 MB / 0.5792 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.5978, allocations: 253.2 kB / 0.5794 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04322/0.6411, allocations: 25.3 MB / 0.6041 GB, free: 2.148 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003847/0.645, allocations: 2.405 MB / 0.6065 GB, free: 15.72 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00272/0.6477, allocations: 1.012 MB / 0.6075 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001806/0.6495, allocations: 1.132 MB / 0.6086 GB, free: 13.57 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6496, allocations: 0 / 0.6086 GB, free: 13.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2518/0.9014, allocations: 34.27 MB / 0.642 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/0.9016, allocations: 191.2 kB / 0.6422 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.687/3.589, allocations: 2.75 kB / 0.6422 GB, free: 162.5 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