Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",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.001331/0.00133, allocations: 104.1 kB / 16.27 MB, free: 6.012 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.00131/0.00131, allocations: 189.5 kB / 17.19 MB, free: 5.656 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.407/1.407, allocations: 205.1 MB / 223.1 MB, free: 12.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1942/0.1942, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001527/0.001527, allocations: 63.94 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.109, allocations: 57.79 MB / 440.6 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01474/0.1237, allocations: 17.03 MB / 457.6 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.1339, allocations: 5.315 MB / 463 MB, free: 412 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.1364, allocations: 127.6 kB / 463.1 MB, free: 284 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.1467, allocations: 6.075 MB / 469.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007441/0.1542, allocations: 3.077 MB / 472.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.1577, allocations: 1.579 MB / 473.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01075/0.1685, allocations: 8.185 MB / 482 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0106/0.1791, allocations: 7.639 MB / 489.6 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005396/0.1846, allocations: 3.221 MB / 492.9 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005941/0.1906, allocations: 4.198 MB / 497.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002241/0.1928, allocations: 0.6406 MB / 497.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004028/0.1969, allocations: 1.467 MB / 499.2 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004549/0.2015, allocations: 3.842 MB / 0.4912 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006771/0.2082, allocations: 4.315 MB / 0.4954 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01546/0.2237, allocations: 12.71 MB / 0.5079 GB, free: 7.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2238, allocations: 0 / 0.5079 GB, free: 7.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2238, allocations: 0 / 0.5079 GB, free: 7.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005475/0.2243, allocations: 0 / 0.5079 GB, free: 7.086 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.02307/0.2474, allocations: 9.33 MB / 0.517 GB, free: 13.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.2475, allocations: 11.89 kB / 0.517 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003857/0.2514, allocations: 1.311 MB / 0.5183 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01243/0.2638, allocations: 2.704 MB / 0.5209 GB, free: 9.617 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/0.2765, allocations: 6.563 MB / 0.5273 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005177/0.277, allocations: 467.5 kB / 0.5278 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0027/0.2797, allocations: 0.5855 MB / 0.5283 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.383/0.6627, allocations: 18.73 MB / 0.5466 GB, free: 74.32 MB / 414.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002547/0.663, allocations: 74.97 kB / 0.5467 GB, free: 74.29 MB / 414.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009/0.6639, allocations: 280.6 kB / 0.547 GB, free: 74.16 MB / 414.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004331/0.6683, allocations: 3.451 MB / 0.5503 GB, free: 73.33 MB / 414.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0253/0.6936, allocations: 14.6 MB / 0.5646 GB, free: 61.7 MB / 414.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07896/0.7726, allocations: 70.61 MB / 0.6335 GB, free: 5.98 MB / 430.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01791/0.7905, allocations: 6.128 MB / 0.6395 GB, free: 15.71 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004707/0.7953, allocations: 2.453 MB / 0.6419 GB, free: 13.24 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02211/0.8174, allocations: 10.83 MB / 0.6525 GB, free: 1.918 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.862e-05/0.8175, allocations: 60.5 kB / 0.6526 GB, free: 1.852 MB / 446.2 MB Notification: Performance of pre-optimization done (n=238): time 7.073e-06/0.8175, allocations: 0 / 0.6526 GB, free: 1.852 MB / 446.2 MB Notification: Performance of matching and sorting (n=262): time 0.04605/0.8636, allocations: 16.02 MB / 0.6682 GB, free: 1.855 MB / 462.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.8637, allocations: 158.5 kB / 0.6683 GB, free: 1.672 MB / 462.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01556/0.8793, allocations: 6.683 MB / 0.6749 GB, free: 11 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0005711/0.8799, allocations: 73.69 kB / 0.6749 GB, free: 10.92 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.00519/0.8851, allocations: 5.542 MB / 0.6804 GB, free: 5.312 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.001316/0.8865, allocations: 1.014 MB / 0.6813 GB, free: 4.285 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004698/0.8912, allocations: 1.817 MB / 0.6831 GB, free: 2.453 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.8914, allocations: 307.1 kB / 0.6834 GB, free: 2.152 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005528/0.8969, allocations: 2.618 MB / 0.686 GB, free: 15.53 MB / 494.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009915/0.9069, allocations: 8.34 MB / 0.6941 GB, free: 4.34 MB / 494.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01556/0.9225, allocations: 11.95 MB / 0.7058 GB, free: 5.555 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002388/0.9228, allocations: 56 kB / 0.7058 GB, free: 5.5 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.02222/0.945, allocations: 10.63 MB / 0.7162 GB, free: 10.86 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004076/0.9455, allocations: 95.94 kB / 0.7163 GB, free: 10.77 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005831/0.9461, allocations: 200 kB / 0.7165 GB, free: 10.57 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004892/0.9466, allocations: 271.8 kB / 0.7168 GB, free: 10.31 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007517/0.9541, allocations: 2.121 MB / 0.7188 GB, free: 8.184 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005001/0.9546, allocations: 398.5 kB / 0.7192 GB, free: 7.793 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007548/0.9622, allocations: 447.5 kB / 0.7196 GB, free: 7.355 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001486/0.9637, allocations: 0.5548 MB / 0.7202 GB, free: 6.801 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1139): * Single equations (assignments): 1128 * Array equations: 11 * 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.007504/0.9712, allocations: 3.621 MB / 0.7237 GB, free: 3.164 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001488/0.9728, allocations: 0.5822 MB / 0.7243 GB, free: 2.574 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2341/1.207, allocations: 2.803 MB / 0.727 GB, free: 168 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.847e-05/1.207, allocations: 28.22 kB / 0.7271 GB, free: 168 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-05/1.207, allocations: 1.156 kB / 0.7271 GB, free: 168 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.669e-05/1.207, allocations: 13.78 kB / 0.7271 GB, free: 168 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03564/1.243, allocations: 26.57 MB / 0.753 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-05/1.243, allocations: 63.2 kB / 0.7531 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/1.244, allocations: 0.5202 MB / 0.7536 GB, free: 160.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-05/1.244, allocations: 69.44 kB / 0.7536 GB, free: 160.2 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000164/1.245, allocations: 117.8 kB / 0.7538 GB, free: 160.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.942e-05/1.245, allocations: 104.4 kB / 0.7539 GB, free: 160.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.373e-05/1.245, allocations: 78.81 kB / 0.7539 GB, free: 160.1 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00464/1.249, allocations: 5.251 MB / 0.7591 GB, free: 156.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.251, allocations: 0.6769 MB / 0.7597 GB, free: 156.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006586/1.251, allocations: 119.1 kB / 0.7598 GB, free: 156.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002233/1.254, allocations: 144.8 kB / 0.76 GB, free: 156.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00033/1.254, allocations: 350.6 kB / 0.7603 GB, free: 156.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/1.254, allocations: 156.5 kB / 0.7605 GB, free: 156.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005492/1.26, allocations: 4.181 MB / 0.7645 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.8e-07/1.26, allocations: 0 / 0.7645 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007269/1.267, allocations: 1.493 MB / 0.766 GB, free: 154.6 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.005356/1.272, allocations: 5.995 MB / 0.7719 GB, free: 150 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.008819/1.281, allocations: 6.31 MB / 0.778 GB, free: 144.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.155e-05/1.281, allocations: 10 kB / 0.778 GB, free: 144.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001952/1.283, allocations: 1.496 MB / 0.7795 GB, free: 142.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005478/1.289, allocations: 0.9345 MB / 0.7804 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08809/1.377, allocations: 89.32 MB / 0.8676 GB, free: 38.51 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006047/1.383, allocations: 5.584 MB / 0.8731 GB, free: 32.92 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007052/1.39, allocations: 2.78 MB / 0.8758 GB, free: 30.13 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004987/1.395, allocations: 3.655 MB / 0.8794 GB, free: 26.48 MB / 0.5138 GB Notification: Performance of SimCode: time 1.132e-06/1.395, allocations: 0 / 0.8794 GB, free: 26.48 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3494/1.744, allocations: 106.9 MB / 0.9838 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/12.63, allocations: 0 / 0.9838 GB, free: 143.4 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches