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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 119 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 194.9 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 225.6 MB / 249.8 MB, free: 3.598 MB / 190.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.2207/0.2207, allocations: 44.92 MB / 349.6 MB, free: 1.73 MB / 270.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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 66.61 kB / 491.8 MB, free: 29.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1085, allocations: 64.26 MB / 0.543 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01149/0.12, allocations: 9.786 MB / 0.5525 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00568/0.1257, allocations: 2.944 MB / 0.5554 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008577/0.1266, allocations: 47.94 kB / 0.5555 GB, free: 7.293 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003836/0.1304, allocations: 2.013 MB / 0.5574 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002763/0.1332, allocations: 1.152 MB / 0.5586 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007495/0.1339, allocations: 291.3 kB / 0.5588 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003266/0.1372, allocations: 2.329 MB / 0.5611 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.1397, allocations: 1.942 MB / 0.563 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.1412, allocations: 0.8995 MB / 0.5639 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.1433, allocations: 1.277 MB / 0.5651 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004781/0.1438, allocations: 200 kB / 0.5653 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.1452, allocations: 0.7333 MB / 0.566 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.1464, allocations: 1.172 MB / 0.5672 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.148, allocations: 1.355 MB / 0.5685 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005154/0.1531, allocations: 4.466 MB / 0.5729 GB, free: 5.375 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1531, allocations: 4 kB / 0.5729 GB, free: 5.371 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1531, allocations: 0 / 0.5729 GB, free: 5.371 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.782e-05/0.1532, allocations: 0 / 0.5729 GB, free: 5.371 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.00537/0.1586, allocations: 3.016 MB / 0.5758 GB, free: 2.293 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1586, allocations: 16.03 kB / 0.5758 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007175/0.1594, allocations: 491.8 kB / 0.5763 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00523/0.1646, allocations: 1.606 MB / 0.5779 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00332/0.1679, allocations: 1.364 MB / 0.5792 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.168, allocations: 147.9 kB / 0.5793 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004821/0.1685, allocations: 195.9 kB / 0.5795 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.1796, allocations: 6.432 MB / 0.5858 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.675e-05/0.1797, allocations: 15.88 kB / 0.5858 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003307/0.18, allocations: 87.91 kB / 0.5859 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002358/0.1824, allocations: 1.399 MB / 0.5873 GB, free: 6.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.1933, allocations: 5.488 MB / 0.5926 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2538/0.4472, allocations: 20.46 MB / 0.6126 GB, free: 46.42 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004557/0.4517, allocations: 2.016 MB / 0.6146 GB, free: 45.8 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000949/0.4527, allocations: 0.6352 MB / 0.6152 GB, free: 45.79 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006621/0.4593, allocations: 3.518 MB / 0.6186 GB, free: 44.76 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.4593, allocations: 37.94 kB / 0.6187 GB, free: 44.72 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.935e-06/0.4593, allocations: 0 / 0.6187 GB, free: 44.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005656/0.465, allocations: 1.983 MB / 0.6206 GB, free: 44.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.465, allocations: 57.94 kB / 0.6207 GB, free: 44.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00272/0.4677, allocations: 1.97 MB / 0.6226 GB, free: 43.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.113e-05/0.4678, allocations: 35.02 kB / 0.6226 GB, free: 43.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009992/0.4688, allocations: 1.963 MB / 0.6245 GB, free: 42.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/0.469, allocations: 321.5 kB / 0.6249 GB, free: 42.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007416/0.4698, allocations: 0.6292 MB / 0.6255 GB, free: 41.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.4699, allocations: 360.1 kB / 0.6258 GB, free: 41.54 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.4712, allocations: 0.8955 MB / 0.6267 GB, free: 41.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.4731, allocations: 2.771 MB / 0.6294 GB, free: 38.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003549/0.4767, allocations: 3.998 MB / 0.6333 GB, free: 35.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.806e-05/0.4767, allocations: 23.09 kB / 0.6333 GB, free: 35.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005515/0.4823, allocations: 3.561 MB / 0.6368 GB, free: 33.67 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.4823, allocations: 35.34 kB / 0.6368 GB, free: 33.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-05/0.4824, allocations: 66.84 kB / 0.6369 GB, free: 33.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-05/0.4825, allocations: 90.44 kB / 0.637 GB, free: 33.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/0.4842, allocations: 0.6562 MB / 0.6376 GB, free: 33.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.105e-05/0.4843, allocations: 136.5 kB / 0.6378 GB, free: 33.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.4862, allocations: 435.4 kB / 0.6382 GB, free: 33.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002217/0.4864, allocations: 187 kB / 0.6383 GB, free: 33.26 MB / 462.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.001667/0.4881, allocations: 1.376 MB / 0.6397 GB, free: 32.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.4883, allocations: 168.3 kB / 0.6398 GB, free: 32.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.4886, allocations: 200.1 kB / 0.64 GB, free: 32.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.4886, allocations: 10.47 kB / 0.64 GB, free: 32.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.4886, allocations: 0 / 0.64 GB, free: 32.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4886, allocations: 7.562 kB / 0.6401 GB, free: 32.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005868/0.4945, allocations: 4.138 MB / 0.6441 GB, free: 30.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.4945, allocations: 3.812 kB / 0.6441 GB, free: 30.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.4949, allocations: 104.2 kB / 0.6442 GB, free: 30.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.4949, allocations: 8.188 kB / 0.6442 GB, free: 30.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.4949, allocations: 17.72 kB / 0.6442 GB, free: 30.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.899e-06/0.4949, allocations: 21.75 kB / 0.6442 GB, free: 30.72 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.4949, allocations: 8.047 kB / 0.6443 GB, free: 30.72 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.4961, allocations: 1.242 MB / 0.6455 GB, free: 29.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/0.4965, allocations: 259.5 kB / 0.6457 GB, free: 29.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.4966, allocations: 17.53 kB / 0.6457 GB, free: 29.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/0.4971, allocations: 27.66 kB / 0.6458 GB, free: 29.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.4972, allocations: 56.42 kB / 0.6458 GB, free: 29.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.114e-05/0.4972, allocations: 27.5 kB / 0.6458 GB, free: 29.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001393/0.4986, allocations: 1.283 MB / 0.6471 GB, free: 29.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4986, allocations: 0 / 0.6471 GB, free: 29.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00235/0.501, allocations: 0.7211 MB / 0.6478 GB, free: 28.61 MB / 462.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.001231/0.5022, allocations: 1.864 MB / 0.6496 GB, free: 26.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002219/0.5044, allocations: 1.962 MB / 0.6515 GB, free: 24.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.5044, allocations: 0 / 0.6515 GB, free: 24.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.5048, allocations: 433.5 kB / 0.6519 GB, free: 24.28 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.506, allocations: 247.5 kB / 0.6522 GB, free: 24.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0201/0.5261, allocations: 21.16 MB / 0.6728 GB, free: 368 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002402/0.5285, allocations: 2.323 MB / 0.6751 GB, free: 14.01 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002076/0.5305, allocations: 0.9581 MB / 0.676 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/0.5318, allocations: 1.077 MB / 0.6771 GB, free: 11.97 MB / 478.1 MB Notification: Performance of SimCode: time 9.01e-07/0.5318, allocations: 0 / 0.6771 GB, free: 11.97 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06811/0.6, allocations: 33.28 MB / 0.7096 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.4, allocations: 8 kB / 0.7096 GB, free: 10.86 MB / 0.4981 GB " [Timeout remaining time 648] (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 --stepSize=0.000219912 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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: 15.71277234563604]