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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 209.8 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2127/0.2127, allocations: 44.93 MB / 358.9 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 68.17 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3334, allocations: 65.48 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01126/0.3446, allocations: 8.405 MB / 0.5652 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006288/0.3509, allocations: 2.78 MB / 0.5679 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.3522, allocations: 55.81 kB / 0.5679 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004169/0.3564, allocations: 1.932 MB / 0.5698 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003406/0.3598, allocations: 1.144 MB / 0.5709 GB, free: 9.148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.3609, allocations: 283.5 kB / 0.5712 GB, free: 8.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00411/0.365, allocations: 2.329 MB / 0.5735 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003091/0.3681, allocations: 1.742 MB / 0.5752 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.3698, allocations: 0.8956 MB / 0.5761 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002063/0.3719, allocations: 1.164 MB / 0.5772 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006963/0.3726, allocations: 192 kB / 0.5774 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.3743, allocations: 0.6162 MB / 0.578 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001704/0.376, allocations: 1.137 MB / 0.5791 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00201/0.3781, allocations: 0.9471 MB / 0.58 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006486/0.3845, allocations: 4.342 MB / 0.5843 GB, free: 11.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.759e-05/0.3846, allocations: 4 kB / 0.5843 GB, free: 11.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3846, allocations: 0 / 0.5843 GB, free: 11.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001754/0.3847, allocations: 0 / 0.5843 GB, free: 11.42 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.006224/0.391, allocations: 2.862 MB / 0.5871 GB, free: 8.516 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.391, allocations: 8.031 kB / 0.5871 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005949/0.3916, allocations: 479.1 kB / 0.5875 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005038/0.3966, allocations: 1.582 MB / 0.5891 GB, free: 6.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003185/0.3998, allocations: 1.286 MB / 0.5903 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.4, allocations: 147.8 kB / 0.5905 GB, free: 4.984 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003886/0.4004, allocations: 187.9 kB / 0.5906 GB, free: 4.801 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/0.4105, allocations: 6.246 MB / 0.5967 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.819e-05/0.4105, allocations: 11.88 kB / 0.5968 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002577/0.4108, allocations: 87.91 kB / 0.5968 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002155/0.4129, allocations: 1.344 MB / 0.5982 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.4235, allocations: 5.326 MB / 0.6034 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02903/0.4525, allocations: 19.02 MB / 0.6219 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00429/0.4568, allocations: 1.553 MB / 0.6234 GB, free: 2.332 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009757/0.4578, allocations: 0.6367 MB / 0.6241 GB, free: 1.684 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006677/0.4645, allocations: 2.895 MB / 0.6269 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.4645, allocations: 35 kB / 0.6269 GB, free: 14.72 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.968e-06/0.4645, allocations: 4 kB / 0.6269 GB, free: 14.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.00548/0.47, allocations: 1.982 MB / 0.6289 GB, free: 12.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.4701, allocations: 59.78 kB / 0.6289 GB, free: 12.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/0.4729, allocations: 2.05 MB / 0.6309 GB, free: 10.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/0.4729, allocations: 33.7 kB / 0.631 GB, free: 10.56 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001393/0.4743, allocations: 1.915 MB / 0.6328 GB, free: 8.625 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.4746, allocations: 329.5 kB / 0.6331 GB, free: 8.301 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008002/0.4754, allocations: 0.6234 MB / 0.6337 GB, free: 7.668 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.4756, allocations: 365.9 kB / 0.6341 GB, free: 7.305 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.4769, allocations: 0.8842 MB / 0.635 GB, free: 6.418 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002959/0.4799, allocations: 2.744 MB / 0.6376 GB, free: 2.742 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004757/0.4847, allocations: 3.973 MB / 0.6415 GB, free: 13.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.807e-05/0.4847, allocations: 20 kB / 0.6415 GB, free: 13.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005964/0.4907, allocations: 3.528 MB / 0.645 GB, free: 10.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.007e-05/0.4907, allocations: 40.03 kB / 0.645 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.348e-05/0.4908, allocations: 64 kB / 0.6451 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.576e-05/0.4909, allocations: 88 kB / 0.6452 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.4929, allocations: 0.6589 MB / 0.6458 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001117/0.493, allocations: 127.5 kB / 0.6459 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.495, allocations: 420.9 kB / 0.6463 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/0.4953, allocations: 195.9 kB / 0.6465 GB, free: 8.715 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.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 (362): * Single equations (assignments): 357 * 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.002066/0.4973, allocations: 1.346 MB / 0.6478 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.4976, allocations: 162.9 kB / 0.648 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.4979, allocations: 196.9 kB / 0.6482 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.4979, allocations: 8 kB / 0.6482 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.498, allocations: 0 / 0.6482 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.498, allocations: 3.938 kB / 0.6482 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007428/0.5054, allocations: 3.971 MB / 0.6521 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/0.5054, allocations: 12 kB / 0.6521 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.5058, allocations: 87.89 kB / 0.6522 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/0.5058, allocations: 11.94 kB / 0.6522 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.885e-05/0.5059, allocations: 27.92 kB / 0.6522 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.5059, allocations: 11.94 kB / 0.6522 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/0.5059, allocations: 7.938 kB / 0.6522 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.5076, allocations: 1.239 MB / 0.6534 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004477/0.508, allocations: 182.6 kB / 0.6536 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.5082, allocations: 23.94 kB / 0.6536 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/0.5087, allocations: 27.92 kB / 0.6537 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/0.5088, allocations: 55.75 kB / 0.6537 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-05/0.5088, allocations: 31.98 kB / 0.6537 GB, free: 1.078 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002171/0.511, allocations: 1.267 MB / 0.655 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.511, allocations: 0 / 0.655 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002779/0.5138, allocations: 0.6852 MB / 0.6556 GB, free: 15.13 MB / 0.4981 GB 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.002248/0.516, allocations: 1.856 MB / 0.6575 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003351/0.5194, allocations: 1.952 MB / 0.6594 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.5194, allocations: 4 kB / 0.6594 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006047/0.52, allocations: 436 kB / 0.6598 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.5215, allocations: 229.1 kB / 0.66 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03535/0.5569, allocations: 20.89 MB / 0.6804 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003045/0.5599, allocations: 1.7 MB / 0.6821 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002279/0.5622, allocations: 0.9519 MB / 0.683 GB, free: 484 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/0.5638, allocations: 1.034 MB / 0.684 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/0.5638, allocations: 0 / 0.684 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07337/0.6371, allocations: 32.89 MB / 0.7161 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.36, allocations: 20.28 kB / 0.7161 GB, free: 14.92 MB / 0.5606 GB " [Timeout remaining time 647] (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 --stepSize=0.000219912 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.53053608490154]