Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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: 118.8 kB / 18.49 MB, free: 4.586 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.001453/0.001453, allocations: 213.5 kB / 21.45 MB, free: 1.637 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.48/1.48, allocations: 230.6 MB / 254.8 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2269/0.2269, allocations: 46.92 MB / 357.8 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 75.81 kB / 0.4916 GB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1265, allocations: 65.98 MB / 0.5561 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01184/0.1383, allocations: 9.566 MB / 0.5654 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006337/0.1447, allocations: 2.94 MB / 0.5683 GB, free: 9.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.146, allocations: 55.81 kB / 0.5683 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004169/0.1501, allocations: 2.017 MB / 0.5703 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00322/0.1534, allocations: 1.133 MB / 0.5714 GB, free: 6.105 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008843/0.1542, allocations: 287.5 kB / 0.5717 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003675/0.1579, allocations: 2.337 MB / 0.5739 GB, free: 3.484 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00271/0.1606, allocations: 1.914 MB / 0.5758 GB, free: 1.527 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.1622, allocations: 0.8878 MB / 0.5767 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.1644, allocations: 1.258 MB / 0.5779 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006001/0.165, allocations: 196 kB / 0.5781 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.1666, allocations: 0.7216 MB / 0.5788 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001416/0.1681, allocations: 1.137 MB / 0.5799 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001768/0.1698, allocations: 1.301 MB / 0.5812 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005955/0.1758, allocations: 4.342 MB / 0.5854 GB, free: 7.652 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.1758, allocations: 3.938 kB / 0.5854 GB, free: 7.648 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1758, allocations: 4 kB / 0.5854 GB, free: 7.645 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001443/0.1759, allocations: 0 / 0.5854 GB, free: 7.645 MB / 446.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.006595/0.1825, allocations: 2.934 MB / 0.5883 GB, free: 4.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.1826, allocations: 12.03 kB / 0.5883 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.954e-05/0.1827, allocations: 63.94 kB / 0.5884 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009605/0.1836, allocations: 483.1 kB / 0.5888 GB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005601/0.1892, allocations: 1.582 MB / 0.5904 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/0.1923, allocations: 1.344 MB / 0.5917 GB, free: 1.117 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.1924, allocations: 147.6 kB / 0.5918 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005246/0.193, allocations: 187.9 kB / 0.592 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2509/0.4438, allocations: 6.241 MB / 0.5981 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.493e-05/0.4439, allocations: 14.25 kB / 0.5981 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002564/0.4442, allocations: 90.22 kB / 0.5982 GB, free: 31.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002287/0.4464, allocations: 1.343 MB / 0.5995 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01254/0.459, allocations: 5.333 MB / 0.6047 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0286/0.4876, allocations: 20.07 MB / 0.6243 GB, free: 16.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00394/0.4915, allocations: 1.946 MB / 0.6262 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000827/0.4923, allocations: 0.6373 MB / 0.6268 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00615/0.4985, allocations: 3.627 MB / 0.6304 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.4985, allocations: 35 kB / 0.6304 GB, free: 12.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.436e-06/0.4985, allocations: 0 / 0.6304 GB, free: 12.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.005082/0.5036, allocations: 1.99 MB / 0.6324 GB, free: 10.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.5036, allocations: 59.78 kB / 0.6324 GB, free: 10.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/0.5059, allocations: 1.94 MB / 0.6343 GB, free: 8.934 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.506, allocations: 37.7 kB / 0.6344 GB, free: 8.891 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008671/0.5068, allocations: 1.91 MB / 0.6362 GB, free: 7.105 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.5071, allocations: 328.8 kB / 0.6365 GB, free: 6.789 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006598/0.5078, allocations: 0.6222 MB / 0.6371 GB, free: 6.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.5079, allocations: 353.9 kB / 0.6375 GB, free: 5.809 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.5089, allocations: 0.888 MB / 0.6383 GB, free: 4.918 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/0.5106, allocations: 2.751 MB / 0.641 GB, free: 1.234 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004564/0.5151, allocations: 3.969 MB / 0.6449 GB, free: 12.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-05/0.5152, allocations: 20 kB / 0.6449 GB, free: 12.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.007085/0.5223, allocations: 3.535 MB / 0.6484 GB, free: 8.785 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.411e-05/0.5223, allocations: 32 kB / 0.6484 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/0.5225, allocations: 68 kB / 0.6485 GB, free: 8.688 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000108/0.5226, allocations: 84 kB / 0.6486 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/0.5248, allocations: 0.6588 MB / 0.6492 GB, free: 7.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001386/0.525, allocations: 127.5 kB / 0.6493 GB, free: 7.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/0.5275, allocations: 432.8 kB / 0.6497 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004288/0.528, allocations: 190 kB / 0.6499 GB, free: 7.211 MB / 462.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 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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.00251/0.5305, allocations: 1.344 MB / 0.6512 GB, free: 5.855 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.5308, allocations: 162.9 kB / 0.6514 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004933/0.5313, allocations: 200.6 kB / 0.6516 GB, free: 5.496 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/0.5313, allocations: 11.94 kB / 0.6516 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.525e-06/0.5313, allocations: 0.75 kB / 0.6516 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.5313, allocations: 3.984 kB / 0.6516 GB, free: 5.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007882/0.5392, allocations: 4.039 MB / 0.6555 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.5392, allocations: 4 kB / 0.6555 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004593/0.5397, allocations: 107.8 kB / 0.6556 GB, free: 1.188 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/0.5397, allocations: 10.22 kB / 0.6556 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/0.5398, allocations: 20 kB / 0.6557 GB, free: 1.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/0.5398, allocations: 15.98 kB / 0.6557 GB, free: 1.145 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/0.5398, allocations: 11.94 kB / 0.6557 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.5416, allocations: 1.267 MB / 0.6569 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004959/0.5421, allocations: 259.7 kB / 0.6572 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.5423, allocations: 16 kB / 0.6572 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005302/0.5429, allocations: 35.92 kB / 0.6572 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.543, allocations: 51.83 kB / 0.6573 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-05/0.5431, allocations: 28 kB / 0.6573 GB, free: 15.35 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002195/0.5453, allocations: 1.275 MB / 0.6585 GB, free: 14.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5453, allocations: 0 / 0.6585 GB, free: 14.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002983/0.5482, allocations: 0.6852 MB / 0.6592 GB, free: 13.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.002441/0.5507, allocations: 1.877 MB / 0.6611 GB, free: 11.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003422/0.5541, allocations: 1.955 MB / 0.663 GB, free: 9.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.5541, allocations: 5 kB / 0.663 GB, free: 9.477 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006262/0.5547, allocations: 432.5 kB / 0.6634 GB, free: 9.055 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.5562, allocations: 246.6 kB / 0.6636 GB, free: 8.824 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03489/0.5911, allocations: 20.94 MB / 0.6841 GB, free: 1.328 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003596/0.5947, allocations: 2.267 MB / 0.6863 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002453/0.5972, allocations: 0.9624 MB / 0.6872 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/0.5988, allocations: 1.046 MB / 0.6882 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/0.5988, allocations: 0 / 0.6882 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06455/0.6634, allocations: 32.84 MB / 0.7203 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.02, allocations: 10.94 kB / 0.7203 GB, free: 12.36 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.510103299980983]