Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.0009205/0.0009205, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001206/0.002127, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007116/0.0007116, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.001846, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.15/1.15, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1379/1.288, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] 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.4376/0.4376, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03895/0.4765, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.7 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: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.038e-05/4.297e-05, allocations: 3.297 kB / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01461/0.01466, allocations: 9.679 MB / 300.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009954/0.02461, allocations: 3.154 MB / 303.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003966/0.02858, allocations: 59.81 kB / 303.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005122/0.0337, allocations: 2.636 MB / 306.1 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004897/0.03859, allocations: 1.244 MB / 307.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.03986, allocations: 351.2 kB / 307.7 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004794/0.04466, allocations: 2.438 MB / 310.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003343/0.048, allocations: 2.29 MB / 312.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002821/0.05082, allocations: 1.617 MB / 314.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002495/0.05331, allocations: 1.301 MB / 315.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006153/0.05393, allocations: 252 kB / 315.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.0555, allocations: 0.7177 MB / 316.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001367/0.05687, allocations: 1.274 MB / 317.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001347/0.05822, allocations: 0.7205 MB / 318.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004739/0.06296, allocations: 2.958 MB / 321.3 MB, free: 9.504 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.533e-05/0.06298, allocations: 4 kB / 321.3 MB, free: 9.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.06298, allocations: 0 / 321.3 MB, free: 9.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001639/0.06315, allocations: 4 kB / 321.3 MB, free: 9.496 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.00591/0.06906, allocations: 3.73 MB / 325 MB, free: 5.699 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.06911, allocations: 8.625 kB / 325 MB, free: 5.691 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002679/0.07178, allocations: 0.8163 MB / 325.8 MB, free: 4.875 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.07386, allocations: 1.186 MB / 327 MB, free: 3.648 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.07399, allocations: 177 kB / 327.2 MB, free: 3.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003304/0.07432, allocations: 236.2 kB / 327.4 MB, free: 3.242 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005465/0.07978, allocations: 3.252 MB / 330.7 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.627e-05/0.07984, allocations: 11.88 kB / 330.7 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002476/0.08009, allocations: 103.9 kB / 330.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001965/0.08205, allocations: 1.303 MB / 332.1 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004479/0.08653, allocations: 1.682 MB / 333.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0235/0.11, allocations: 16.38 MB / 350.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.1122, allocations: 0.9584 MB / 351.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.1124, allocations: 171 kB / 351.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0032/0.1156, allocations: 2.182 MB / 353.5 MB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.1156, allocations: 43.2 kB / 353.5 MB, free: 8.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 2.855e-06/0.1156, allocations: 4 kB / 353.5 MB, free: 8.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=87): time 0.002612/0.1183, allocations: 1.23 MB / 354.7 MB, free: 6.961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.1183, allocations: 60.06 kB / 354.8 MB, free: 6.891 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.1196, allocations: 1.482 MB / 356.3 MB, free: 5.402 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.1196, allocations: 37.7 kB / 356.3 MB, free: 5.359 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009042/0.1205, allocations: 2.04 MB / 358.4 MB, free: 3.297 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.1207, allocations: 353.2 kB / 358.7 MB, free: 2.949 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004698/0.1212, allocations: 0.6041 MB / 359.3 MB, free: 2.336 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1213, allocations: 357.8 kB / 359.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.1216, allocations: 322.7 kB / 360 MB, free: 1.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.1229, allocations: 2.173 MB / 362.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002011/0.125, allocations: 2.867 MB / 365 MB, free: 10.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-05/0.125, allocations: 23.94 kB / 365 MB, free: 10.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.001934/0.1269, allocations: 2.042 MB / 367.1 MB, free: 8.621 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/0.127, allocations: 40.17 kB / 367.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.362e-05/0.127, allocations: 75.94 kB / 367.2 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.394e-05/0.1271, allocations: 92 kB / 367.3 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.1283, allocations: 0.7526 MB / 368 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-05/0.1284, allocations: 135.5 kB / 368.2 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009905/0.1294, allocations: 416.8 kB / 368.6 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.1296, allocations: 172 kB / 368.7 MB, free: 6.953 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],cutForceAndTorque.forceColor[1],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[3],cutForceAndTorque.torqueColor[1],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[3],fixedRotation.color[1],fixedRotation.color[2],fixedRotation.color[3],frame_b.color_x[1],frame_b.color_x[2],frame_b.color_x[3],forceAndTorque.forceColor[1],forceAndTorque.forceColor[2],forceAndTorque.forceColor[3],forceAndTorque.torqueColor[1],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[3],cutForceAndTorque.forceArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueArrow.twoHeadedArrow) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (382): * Single equations (assignments): 377 * 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.0009476/0.1305, allocations: 382.9 kB / 369.1 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.1306, allocations: 103.9 kB / 369.2 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.1308, allocations: 172.9 kB / 369.4 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.1308, allocations: 11.94 kB / 369.4 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.1308, allocations: 4 kB / 369.4 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.1308, allocations: 3.984 kB / 369.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.1337, allocations: 2.219 MB / 371.6 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.1337, allocations: 8 kB / 371.6 MB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.134, allocations: 119.8 kB / 371.7 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.1341, allocations: 154.7 kB / 371.9 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.1341, allocations: 12 kB / 371.9 MB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.1342, allocations: 24.55 kB / 371.9 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/0.1342, allocations: 19.94 kB / 372 MB, free: 3.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.1342, allocations: 15.94 kB / 372 MB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.1347, allocations: 0.7132 MB / 372.7 MB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.77e-05/0.1348, allocations: 20 kB / 372.7 MB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.135, allocations: 20 kB / 372.7 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.1351, allocations: 67.67 kB / 372.8 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.1351, allocations: 35.98 kB / 372.8 MB, free: 2.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004505/0.1356, allocations: 0.5704 MB / 373.4 MB, free: 2.039 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1356, allocations: 0 / 373.4 MB, free: 2.039 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001665/0.1373, allocations: 0.8094 MB / 374.2 MB, free: 1.227 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.0002723/0.1375, allocations: 128.1 kB / 374.3 MB, free: 1.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.1386, allocations: 1.17 MB / 375.5 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.105e-05/0.1387, allocations: 63.86 kB / 375.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.1389, allocations: 185.2 kB / 375.7 MB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000704/0.1396, allocations: 322.7 kB / 376.1 MB, free: 15.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006379/0.146, allocations: 5.279 MB / 381.3 MB, free: 9.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/0.1467, allocations: 0.8603 MB / 382.2 MB, free: 9.047 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005454/0.1472, allocations: 255.4 kB / 382.4 MB, free: 8.793 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003457/0.1476, allocations: 287.3 kB / 382.7 MB, free: 8.512 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/0.1476, allocations: 0 / 382.7 MB, free: 8.512 MB / 378.7 MB Notification: Performance of Templates: time 0.02512/0.1727, allocations: 13.79 MB / 396.5 MB, free: 10.9 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.790595507249236]