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.001636/0.001636, allocations: 116 kB / 18.46 MB, free: 4.562 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.001989/0.001989, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.677/1.677, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2444/0.2444, allocations: 46.93 MB / 357.8 MB, free: 10.3 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: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.91 kB / 0.4921 GB, free: 7.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1359, allocations: 66 MB / 0.5565 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01187/0.1477, allocations: 9.57 MB / 0.5659 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006227/0.154, allocations: 2.933 MB / 0.5687 GB, free: 8.766 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.1551, allocations: 51.88 kB / 0.5688 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.1593, allocations: 2.029 MB / 0.5707 GB, free: 6.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00375/0.1631, allocations: 1.125 MB / 0.5718 GB, free: 5.551 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.1641, allocations: 287.4 kB / 0.5721 GB, free: 5.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004389/0.1685, allocations: 2.329 MB / 0.5744 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00343/0.1719, allocations: 1.922 MB / 0.5763 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.1736, allocations: 0.8839 MB / 0.5771 GB, free: 88 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002528/0.1762, allocations: 1.25 MB / 0.5784 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000574/0.1767, allocations: 199.9 kB / 0.5785 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.1786, allocations: 0.7255 MB / 0.5793 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001626/0.1802, allocations: 1.149 MB / 0.5804 GB, free: 12.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001982/0.1822, allocations: 1.305 MB / 0.5817 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007437/0.1896, allocations: 4.33 MB / 0.5859 GB, free: 7.098 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.1896, allocations: 3.984 kB / 0.5859 GB, free: 7.094 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.1896, allocations: 0 / 0.5859 GB, free: 7.094 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001424/0.1898, allocations: 0 / 0.5859 GB, free: 7.094 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.007896/0.1977, allocations: 2.945 MB / 0.5888 GB, free: 4.086 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1977, allocations: 8.031 kB / 0.5888 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005327/0.2031, allocations: 1.574 MB / 0.5903 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.206, allocations: 1.34 MB / 0.5916 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.2061, allocations: 144 kB / 0.5918 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003866/0.2065, allocations: 191.8 kB / 0.5919 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3539/0.5605, allocations: 6.242 MB / 0.598 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.607e-05/0.5605, allocations: 12.41 kB / 0.598 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.5608, allocations: 89.98 kB / 0.5981 GB, free: 31.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002484/0.5633, allocations: 1.344 MB / 0.5994 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.5739, allocations: 5.33 MB / 0.6046 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02572/0.5996, allocations: 20.07 MB / 0.6242 GB, free: 16.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003776/0.6034, allocations: 1.947 MB / 0.6261 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008046/0.6042, allocations: 0.6385 MB / 0.6268 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005991/0.6102, allocations: 3.62 MB / 0.6303 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.6102, allocations: 39 kB / 0.6303 GB, free: 12.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.106e-06/0.6102, allocations: 0 / 0.6303 GB, free: 12.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.00491/0.6151, allocations: 1.994 MB / 0.6323 GB, free: 10.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.6152, allocations: 55.84 kB / 0.6323 GB, free: 10.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/0.6178, allocations: 1.945 MB / 0.6342 GB, free: 8.988 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.328e-05/0.6179, allocations: 31.66 kB / 0.6343 GB, free: 8.953 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009927/0.6189, allocations: 1.916 MB / 0.6361 GB, free: 7.164 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.6192, allocations: 324 kB / 0.6365 GB, free: 6.852 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007156/0.6199, allocations: 0.6258 MB / 0.6371 GB, free: 6.219 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.62, allocations: 353.9 kB / 0.6374 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.621, allocations: 0.8842 MB / 0.6383 GB, free: 4.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.6228, allocations: 2.751 MB / 0.641 GB, free: 1.297 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004579/0.6274, allocations: 3.972 MB / 0.6448 GB, free: 12.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.553e-05/0.6275, allocations: 16 kB / 0.6448 GB, free: 12.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006966/0.6344, allocations: 3.536 MB / 0.6483 GB, free: 8.844 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.491e-05/0.6345, allocations: 32 kB / 0.6483 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/0.6346, allocations: 68 kB / 0.6484 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/0.6348, allocations: 87.94 kB / 0.6485 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/0.6369, allocations: 0.655 MB / 0.6491 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001454/0.6371, allocations: 127.5 kB / 0.6492 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002436/0.6395, allocations: 439.2 kB / 0.6497 GB, free: 7.453 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003552/0.6399, allocations: 184 kB / 0.6498 GB, free: 7.273 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.002722/0.6426, allocations: 1.353 MB / 0.6512 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/0.643, allocations: 166.9 kB / 0.6513 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004674/0.6434, allocations: 192.9 kB / 0.6515 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/0.6435, allocations: 11.94 kB / 0.6515 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.6435, allocations: 0 / 0.6515 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.6435, allocations: 7.984 kB / 0.6515 GB, free: 5.535 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008375/0.6518, allocations: 4.029 MB / 0.6555 GB, free: 1.359 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.6519, allocations: 4.844 kB / 0.6555 GB, free: 1.355 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.6523, allocations: 107.8 kB / 0.6556 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/0.6523, allocations: 8 kB / 0.6556 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.714e-05/0.6524, allocations: 23.98 kB / 0.6556 GB, free: 1.219 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-05/0.6524, allocations: 15.92 kB / 0.6556 GB, free: 1.203 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/0.6524, allocations: 11.94 kB / 0.6556 GB, free: 1.191 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.6543, allocations: 1.267 MB / 0.6569 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005393/0.6548, allocations: 255.7 kB / 0.6571 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/0.6551, allocations: 19.98 kB / 0.6571 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005785/0.6557, allocations: 27.94 kB / 0.6571 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.6558, allocations: 59.77 kB / 0.6572 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/0.6559, allocations: 31.98 kB / 0.6572 GB, free: 15.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002207/0.6581, allocations: 1.267 MB / 0.6585 GB, free: 14.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6581, allocations: 0 / 0.6585 GB, free: 14.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002826/0.6609, allocations: 0.6967 MB / 0.6592 GB, free: 13.45 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.000363/0.6613, allocations: 139 kB / 0.6593 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003491/0.6647, allocations: 1.954 MB / 0.6612 GB, free: 11.37 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.6648, allocations: 0 / 0.6612 GB, free: 11.37 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006763/0.6654, allocations: 445.8 kB / 0.6616 GB, free: 10.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.6669, allocations: 234.7 kB / 0.6618 GB, free: 10.72 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.6777, allocations: 5.436 MB / 0.6672 GB, free: 5.148 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00275/0.6805, allocations: 2.283 MB / 0.6694 GB, free: 2.832 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005164/0.681, allocations: 139.4 kB / 0.6695 GB, free: 2.695 MB / 478.1 MB Notification: Performance of SimCode: time 1.433e-06/0.681, allocations: 0 / 0.6695 GB, free: 2.695 MB / 478.1 MB Notification: Performance of Templates: time 0.05554/0.7365, allocations: 30.31 MB / 0.6991 GB, free: 4.469 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] 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: 10.926344867999433]