Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009395/0.0009395, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009623/0.0009623, allocations: 162.8 kB / 25.61 MB, free: 8.902 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.9511/0.9511, allocations: 177.1 MB / 206.1 MB, free: 4.492 MB / 186.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.1353/0.1353, allocations: 32.8 MB / 295.4 MB, free: 15.38 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.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.517e-05, allocations: 2.312 kB / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.008246/0.008261, allocations: 14.08 MB / 391.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005815/0.01408, allocations: 4.925 MB / 396.3 MB, free: 6.531 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008353/0.01491, allocations: 139.3 kB / 396.4 MB, free: 6.395 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004496/0.01941, allocations: 6.336 MB / 402.7 MB, free: 40 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003668/0.02307, allocations: 2.931 MB / 405.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.02525, allocations: 1.786 MB / 407.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007743/0.033, allocations: 9.138 MB / 416.6 MB, free: 2.152 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005484/0.03848, allocations: 6.596 MB / 423.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00436/0.04284, allocations: 4.553 MB / 427.7 MB, free: 6.891 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003704/0.04654, allocations: 4.455 MB / 432.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005683/0.04711, allocations: 0.5859 MB / 432.8 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.04866, allocations: 1.365 MB / 434.1 MB, free: 484 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002369/0.05103, allocations: 3.826 MB / 438 MB, free: 12.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.05273, allocations: 2.298 MB / 440.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005953/0.05868, allocations: 7.59 MB / 447.9 MB, free: 2.715 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.05869, allocations: 0 / 447.9 MB, free: 2.715 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.05869, allocations: 0 / 447.9 MB, free: 2.715 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001418/0.05883, allocations: 0 / 447.9 MB, free: 2.715 MB / 362.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.008715/0.06754, allocations: 8.718 MB / 456.6 MB, free: 9.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.06758, allocations: 11.98 kB / 456.6 MB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/0.07222, allocations: 2.361 MB / 459 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003818/0.07603, allocations: 3.774 MB / 462.7 MB, free: 3.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.07623, allocations: 415 kB / 463.1 MB, free: 3.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005403/0.07677, allocations: 0.5391 MB / 463.7 MB, free: 2.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009478/0.08625, allocations: 9.286 MB / 473 MB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.08637, allocations: 63.41 kB / 473 MB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003975/0.08676, allocations: 263.8 kB / 473.3 MB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002183/0.08895, allocations: 2.674 MB / 475.9 MB, free: 4.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00682/0.09577, allocations: 3.991 MB / 479.9 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3071/0.4028, allocations: 70.92 MB / 0.5379 GB, free: 52.28 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00653/0.4093, allocations: 3.168 MB / 0.541 GB, free: 49.14 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006872/0.41, allocations: 0.6683 MB / 0.5417 GB, free: 48.48 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006415/0.4165, allocations: 6.013 MB / 0.5476 GB, free: 42.65 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.4165, allocations: 57.98 kB / 0.5476 GB, free: 42.59 MB / 410.8 MB Notification: Performance of pre-optimization done (n=182): time 3.887e-06/0.4165, allocations: 3 kB / 0.5476 GB, free: 42.59 MB / 410.8 MB Notification: Performance of matching and sorting (n=206): time 0.01638/0.4329, allocations: 7.937 MB / 0.5554 GB, free: 35.11 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.4329, allocations: 153.8 kB / 0.5555 GB, free: 34.93 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003217/0.4361, allocations: 5.476 MB / 0.5609 GB, free: 29.69 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.704e-05/0.4362, allocations: 57.69 kB / 0.5609 GB, free: 29.63 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001619/0.4378, allocations: 5.542 MB / 0.5663 GB, free: 24.43 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/0.4381, allocations: 0.8802 MB / 0.5672 GB, free: 23.54 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.4392, allocations: 1.857 MB / 0.569 GB, free: 21.66 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.454e-05/0.4393, allocations: 480.7 kB / 0.5695 GB, free: 21.19 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008884/0.4402, allocations: 0.7057 MB / 0.5702 GB, free: 20.48 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002669/0.4428, allocations: 8.665 MB / 0.5786 GB, free: 8.238 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005279/0.4481, allocations: 10.3 MB / 0.5887 GB, free: 10.42 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.805e-05/0.4482, allocations: 56 kB / 0.5887 GB, free: 10.37 MB / 426.8 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.007072/0.4552, allocations: 6.613 MB / 0.5952 GB, free: 3.754 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/0.4553, allocations: 94.08 kB / 0.5953 GB, free: 3.668 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/0.4554, allocations: 192 kB / 0.5955 GB, free: 3.48 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.4556, allocations: 248 kB / 0.5957 GB, free: 3.238 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003208/0.4588, allocations: 1.887 MB / 0.5975 GB, free: 1.348 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001842/0.459, allocations: 374.5 kB / 0.5979 GB, free: 0.9805 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/0.4622, allocations: 367.7 kB / 0.5982 GB, free: 0.6211 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003759/0.4625, allocations: 463.9 kB / 0.5987 GB, free: 172 kB / 426.8 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.001571/0.4641, allocations: 0.8709 MB / 0.5995 GB, free: 15.28 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005467/0.4647, allocations: 0.5629 MB / 0.6001 GB, free: 14.71 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.4651, allocations: 498 kB / 0.6006 GB, free: 14.22 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.4651, allocations: 20 kB / 0.6006 GB, free: 14.2 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.4652, allocations: 4 kB / 0.6006 GB, free: 14.2 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.4652, allocations: 7.969 kB / 0.6006 GB, free: 14.19 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.4756, allocations: 10.09 MB / 0.6104 GB, free: 3.172 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.032e-05/0.4757, allocations: 48 kB / 0.6105 GB, free: 3.125 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009374/0.4766, allocations: 431.2 kB / 0.6109 GB, free: 2.703 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.575e-05/0.4766, allocations: 60 kB / 0.611 GB, free: 2.645 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.008e-05/0.4767, allocations: 107.9 kB / 0.6111 GB, free: 2.539 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-05/0.4768, allocations: 91.64 kB / 0.6112 GB, free: 2.449 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.014e-05/0.4768, allocations: 71.69 kB / 0.6112 GB, free: 2.379 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.4792, allocations: 4.036 MB / 0.6152 GB, free: 13.39 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006658/0.4799, allocations: 0.5743 MB / 0.6157 GB, free: 12.82 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003717/0.4803, allocations: 111.9 kB / 0.6158 GB, free: 12.71 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.4814, allocations: 88 kB / 0.6159 GB, free: 12.62 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.4816, allocations: 314.4 kB / 0.6162 GB, free: 12.31 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.4817, allocations: 116 kB / 0.6163 GB, free: 12.2 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002184/0.4839, allocations: 2.232 MB / 0.6185 GB, free: 9.996 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4839, allocations: 0 / 0.6185 GB, free: 9.996 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.004807/0.4887, allocations: 1.5 MB / 0.62 GB, free: 8.496 MB / 458.8 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.0003652/0.489, allocations: 286 kB / 0.6202 GB, free: 8.203 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.003989/0.493, allocations: 3.496 MB / 0.6237 GB, free: 4.73 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/0.4931, allocations: 11.78 kB / 0.6237 GB, free: 4.723 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009396/0.494, allocations: 0.7134 MB / 0.6244 GB, free: 4.008 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/0.4968, allocations: 0.8287 MB / 0.6252 GB, free: 3.207 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.5102, allocations: 13.72 MB / 0.6386 GB, free: 4.488 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/0.5119, allocations: 2.11 MB / 0.6406 GB, free: 2.348 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.001676/0.5136, allocations: 0.7691 MB / 0.6414 GB, free: 1.574 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/0.5146, allocations: 0.8769 MB / 0.6422 GB, free: 0.6953 MB / 474.8 MB Notification: Performance of SimCode: time 1.563e-06/0.5146, allocations: 0 / 0.6422 GB, free: 0.6953 MB / 474.8 MB Notification: Performance of Templates: time 0.2233/0.7379, allocations: 38.64 MB / 0.68 GB, free: 183.1 MB / 0.4949 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8988216570578516]