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.001322/0.001322, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001478/0.001478, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.489/1.489, allocations: 230.6 MB / 254.1 MB, free: 15.06 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.2359/0.2359, allocations: 46.92 MB / 357.1 MB, free: 10.29 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 59.91 kB / 0.4909 GB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.119, allocations: 65.99 MB / 0.5554 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01198/0.131, allocations: 9.572 MB / 0.5647 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005939/0.1369, allocations: 2.936 MB / 0.5676 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.138, allocations: 55.81 kB / 0.5676 GB, free: 9.191 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003944/0.1419, allocations: 2.021 MB / 0.5696 GB, free: 7.164 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002587/0.1445, allocations: 1.133 MB / 0.5707 GB, free: 6.027 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007309/0.1453, allocations: 287.4 kB / 0.571 GB, free: 5.746 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003252/0.1485, allocations: 2.341 MB / 0.5733 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002697/0.1512, allocations: 1.91 MB / 0.5751 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.1527, allocations: 0.8917 MB / 0.576 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002071/0.1547, allocations: 1.254 MB / 0.5772 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004661/0.1552, allocations: 192 kB / 0.5774 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.1566, allocations: 0.7254 MB / 0.5781 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001303/0.1579, allocations: 1.137 MB / 0.5792 GB, free: 13.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.1597, allocations: 1.312 MB / 0.5805 GB, free: 11.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005357/0.1651, allocations: 4.326 MB / 0.5847 GB, free: 7.578 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.1651, allocations: 0 / 0.5847 GB, free: 7.578 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1651, allocations: 0 / 0.5847 GB, free: 7.578 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001712/0.1653, allocations: 0 / 0.5847 GB, free: 7.578 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.006724/0.172, allocations: 2.949 MB / 0.5876 GB, free: 4.566 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.172, allocations: 8.031 kB / 0.5876 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001018/0.1731, allocations: 487 kB / 0.5881 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00549/0.1785, allocations: 1.582 MB / 0.5896 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.1812, allocations: 1.336 MB / 0.5909 GB, free: 1.105 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.1813, allocations: 147.8 kB / 0.5911 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004877/0.1818, allocations: 183.9 kB / 0.5913 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2306/0.4124, allocations: 6.245 MB / 0.5974 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.752e-05/0.4125, allocations: 16.41 kB / 0.5974 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000243/0.4127, allocations: 87.38 kB / 0.5975 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002212/0.4149, allocations: 1.341 MB / 0.5988 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.4249, allocations: 5.33 MB / 0.604 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02139/0.4463, allocations: 20.07 MB / 0.6236 GB, free: 16.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00355/0.4499, allocations: 1.946 MB / 0.6255 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000697/0.4506, allocations: 0.636 MB / 0.6261 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005165/0.4557, allocations: 3.624 MB / 0.6296 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.4558, allocations: 43 kB / 0.6297 GB, free: 12.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.615e-06/0.4558, allocations: 0 / 0.6297 GB, free: 12.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004744/0.4605, allocations: 1.986 MB / 0.6316 GB, free: 10.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.4605, allocations: 63.84 kB / 0.6317 GB, free: 10.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.4625, allocations: 1.944 MB / 0.6336 GB, free: 8.738 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.4626, allocations: 41.53 kB / 0.6336 GB, free: 8.695 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007006/0.4633, allocations: 1.909 MB / 0.6355 GB, free: 6.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.4634, allocations: 328.5 kB / 0.6358 GB, free: 6.594 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005697/0.464, allocations: 0.6227 MB / 0.6364 GB, free: 5.965 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.4641, allocations: 349.9 kB / 0.6367 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009638/0.465, allocations: 0.8881 MB / 0.6376 GB, free: 4.727 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.4667, allocations: 2.751 MB / 0.6403 GB, free: 1.043 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004237/0.4709, allocations: 3.966 MB / 0.6442 GB, free: 12.15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.354e-05/0.4709, allocations: 20 kB / 0.6442 GB, free: 12.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005437/0.4764, allocations: 3.532 MB / 0.6476 GB, free: 8.602 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/0.4764, allocations: 37.88 kB / 0.6477 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.966e-05/0.4765, allocations: 67.98 kB / 0.6477 GB, free: 8.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-05/0.4766, allocations: 91.94 kB / 0.6478 GB, free: 8.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.4785, allocations: 0.6511 MB / 0.6484 GB, free: 7.758 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001052/0.4786, allocations: 127.5 kB / 0.6486 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.4803, allocations: 433.2 kB / 0.649 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002476/0.4806, allocations: 190.2 kB / 0.6492 GB, free: 7.023 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.001898/0.4825, allocations: 1.344 MB / 0.6505 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.4827, allocations: 162.9 kB / 0.6506 GB, free: 5.508 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.4831, allocations: 196.8 kB / 0.6508 GB, free: 5.309 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.4831, allocations: 16 kB / 0.6508 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4831, allocations: 0 / 0.6508 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.4831, allocations: 0 / 0.6508 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006262/0.4894, allocations: 4.037 MB / 0.6548 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.4894, allocations: 8 kB / 0.6548 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.4898, allocations: 103.8 kB / 0.6549 GB, free: 1.012 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.4898, allocations: 16.55 kB / 0.6549 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.4899, allocations: 16 kB / 0.6549 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-05/0.4899, allocations: 15.94 kB / 0.6549 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.4899, allocations: 4 kB / 0.6549 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.4915, allocations: 1.275 MB / 0.6562 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/0.4918, allocations: 255.7 kB / 0.6564 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.4919, allocations: 23.94 kB / 0.6564 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/0.4924, allocations: 27.94 kB / 0.6565 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-05/0.4925, allocations: 57.22 kB / 0.6565 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/0.4926, allocations: 35.94 kB / 0.6566 GB, free: 15.17 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001743/0.4943, allocations: 1.267 MB / 0.6578 GB, free: 13.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4943, allocations: 4 kB / 0.6578 GB, free: 13.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002258/0.4966, allocations: 0.6929 MB / 0.6585 GB, free: 13.21 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.002049/0.4986, allocations: 1.866 MB / 0.6603 GB, free: 11.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003016/0.5016, allocations: 1.957 MB / 0.6622 GB, free: 9.297 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.5016, allocations: 4.062 kB / 0.6622 GB, free: 9.293 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005961/0.5022, allocations: 437.9 kB / 0.6626 GB, free: 8.867 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.5034, allocations: 239.8 kB / 0.6629 GB, free: 8.645 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02908/0.5325, allocations: 20.94 MB / 0.6833 GB, free: 1.145 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002553/0.5351, allocations: 2.271 MB / 0.6855 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002121/0.5372, allocations: 0.9632 MB / 0.6865 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/0.5386, allocations: 1.042 MB / 0.6875 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of SimCode: time 1.443e-06/0.5386, allocations: 3.938 kB / 0.6875 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06797/0.6066, allocations: 32.81 MB / 0.7195 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.79, allocations: 8.984 kB / 0.7195 GB, free: 12.19 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.007814281852916]