Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.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.001093/0.001093, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001804/0.001804, allocations: 166.4 kB / 25 MB, free: 8.336 MB / 18.57 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 0.9794/0.9794, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2697/0.2697, allocations: 34.27 MB / 296.1 MB, free: 0.7109 MB / 266.7 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: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.331e-05, allocations: 2.312 kB / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01105/0.01107, allocations: 14.4 MB / 392.4 MB, free: 4.492 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00859/0.01966, allocations: 4.968 MB / 397.4 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.02169, allocations: 139.3 kB / 397.5 MB, free: 15.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006331/0.02802, allocations: 6.414 MB / 403.9 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005694/0.03371, allocations: 2.916 MB / 406.8 MB, free: 6.008 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002688/0.0364, allocations: 1.785 MB / 408.6 MB, free: 4.219 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009145/0.04554, allocations: 9.134 MB / 417.8 MB, free: 11.07 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006727/0.05227, allocations: 6.584 MB / 424.4 MB, free: 4.395 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005646/0.05792, allocations: 4.503 MB / 428.9 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004816/0.06273, allocations: 4.455 MB / 433.3 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001173/0.06391, allocations: 0.5859 MB / 433.9 MB, free: 10.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.06578, allocations: 1.362 MB / 435.3 MB, free: 9.469 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002629/0.06841, allocations: 3.822 MB / 439.1 MB, free: 5.637 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00259/0.071, allocations: 2.298 MB / 441.4 MB, free: 3.332 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1578/0.2288, allocations: 7.582 MB / 449 MB, free: 67.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2288, allocations: 0 / 449 MB, free: 67.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2288, allocations: 0 / 449 MB, free: 67.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003563/0.2292, allocations: 0 / 449 MB, free: 67.1 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01398/0.2431, allocations: 9.3 MB / 458.3 MB, free: 63.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2432, allocations: 12.19 kB / 458.3 MB, free: 63.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006979/0.2502, allocations: 3.344 MB / 461.6 MB, free: 63.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006366/0.2565, allocations: 4.07 MB / 465.7 MB, free: 62.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002527/0.2568, allocations: 414 kB / 466.1 MB, free: 62.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/0.2581, allocations: 0.5383 MB / 466.6 MB, free: 62.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/0.2725, allocations: 10.4 MB / 477 MB, free: 57.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001857/0.2727, allocations: 66.33 kB / 477.1 MB, free: 57.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005593/0.2732, allocations: 260.7 kB / 477.4 MB, free: 57.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003068/0.2763, allocations: 2.929 MB / 480.3 MB, free: 56.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.2921, allocations: 5.233 MB / 485.5 MB, free: 56.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05514/0.3472, allocations: 72.19 MB / 0.5446 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.3573, allocations: 3.466 MB / 0.548 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.3586, allocations: 0.7616 MB / 0.5488 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009904/0.3685, allocations: 6.335 MB / 0.5549 GB, free: 6.887 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.3686, allocations: 57.98 kB / 0.555 GB, free: 6.824 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 4.999e-06/0.3686, allocations: 0 / 0.555 GB, free: 6.824 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02572/0.3943, allocations: 13.07 MB / 0.5678 GB, free: 9.824 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.3944, allocations: 153.8 kB / 0.5679 GB, free: 9.645 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006338/0.4007, allocations: 5.524 MB / 0.5733 GB, free: 4.137 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003772/0.4011, allocations: 56.36 kB / 0.5734 GB, free: 4.078 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003579/0.4047, allocations: 5.506 MB / 0.5787 GB, free: 14.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009275/0.4056, allocations: 0.8694 MB / 0.5796 GB, free: 13.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001929/0.4075, allocations: 1.821 MB / 0.5814 GB, free: 11.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.4076, allocations: 480.7 kB / 0.5818 GB, free: 11.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.4092, allocations: 0.7842 MB / 0.5826 GB, free: 10.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005149/0.4143, allocations: 8.695 MB / 0.5911 GB, free: 14.39 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008204/0.4225, allocations: 10.49 MB / 0.6013 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001895/0.4227, allocations: 60 kB / 0.6014 GB, free: 488 kB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.1655/0.5882, allocations: 7.043 MB / 0.6083 GB, free: 137.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.5883, allocations: 85.69 kB / 0.6083 GB, free: 137.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001822/0.5885, allocations: 192.9 kB / 0.6085 GB, free: 137.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001797/0.5887, allocations: 248.3 kB / 0.6088 GB, free: 137.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003818/0.5925, allocations: 1.934 MB / 0.6107 GB, free: 137 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003409/0.5928, allocations: 379.1 kB / 0.611 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005255/0.5981, allocations: 0.6225 MB / 0.6116 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/0.5992, allocations: 0.5139 MB / 0.6121 GB, free: 136.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.0037/0.6029, allocations: 0.8744 MB / 0.613 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/0.6041, allocations: 0.5605 MB / 0.6135 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007092/0.6048, allocations: 492.5 kB / 0.614 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/0.6049, allocations: 28.14 kB / 0.614 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.6049, allocations: 2.969 kB / 0.614 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.6049, allocations: 9.984 kB / 0.614 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/0.6185, allocations: 10.16 MB / 0.624 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.687e-05/0.6186, allocations: 45.34 kB / 0.624 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009725/0.6196, allocations: 448 kB / 0.6244 GB, free: 133.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.435e-05/0.6196, allocations: 61.19 kB / 0.6245 GB, free: 133.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.6198, allocations: 106.3 kB / 0.6246 GB, free: 133.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.349e-05/0.6198, allocations: 96.83 kB / 0.6247 GB, free: 133.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.875e-05/0.6199, allocations: 73.72 kB / 0.6248 GB, free: 133.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003999/0.6239, allocations: 4.107 MB / 0.6288 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/0.6253, allocations: 0.5948 MB / 0.6293 GB, free: 129.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007946/0.6261, allocations: 108.8 kB / 0.6294 GB, free: 129.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/0.6278, allocations: 237.9 kB / 0.6297 GB, free: 129.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002938/0.6281, allocations: 319.8 kB / 0.63 GB, free: 129.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/0.6283, allocations: 129.6 kB / 0.6301 GB, free: 129.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004242/0.6325, allocations: 2.403 MB / 0.6325 GB, free: 129.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6325, allocations: 0 / 0.6325 GB, free: 129.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007046/0.6396, allocations: 1.501 MB / 0.6339 GB, free: 129.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.0006321/0.6402, allocations: 286.3 kB / 0.6342 GB, free: 129.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005894/0.6461, allocations: 3.68 MB / 0.6378 GB, free: 128 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.638e-05/0.6461, allocations: 7.375 kB / 0.6378 GB, free: 128 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.6472, allocations: 0.7471 MB / 0.6385 GB, free: 127.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003856/0.651, allocations: 0.8328 MB / 0.6393 GB, free: 127.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/0.668, allocations: 13.75 MB / 0.6528 GB, free: 116.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002635/0.6706, allocations: 2.096 MB / 0.6548 GB, free: 115.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004372/0.675, allocations: 2.202 MB / 0.657 GB, free: 114 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000896/0.6759, allocations: 352.9 kB / 0.6573 GB, free: 113.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.874e-06/0.6759, allocations: 0 / 0.6573 GB, free: 113.6 MB / 474.7 MB Notification: Performance of Templates: time 0.0653/0.7412, allocations: 33.66 MB / 0.6902 GB, free: 84.82 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.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: 4.8751927020493895]