Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001572/0.001572, allocations: 168.2 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.038/1.038, allocations: 177 MB / 205.2 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2954/0.2954, allocations: 34.87 MB / 296.6 MB, free: 0.5781 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 378.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.52e-05, allocations: 6.25 kB / 378.7 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01085/0.01086, allocations: 14.39 MB / 393.1 MB, free: 3.969 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007173/0.01804, allocations: 4.968 MB / 398.1 MB, free: 14.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000988/0.01903, allocations: 143.3 kB / 398.3 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00621/0.02524, allocations: 6.414 MB / 404.7 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003705/0.02894, allocations: 2.904 MB / 407.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.03091, allocations: 1.793 MB / 409.4 MB, free: 3.695 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006541/0.03745, allocations: 9.136 MB / 418.5 MB, free: 10.55 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00547/0.04292, allocations: 6.581 MB / 425.1 MB, free: 3.875 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004577/0.04749, allocations: 4.514 MB / 429.6 MB, free: 15.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004242/0.05174, allocations: 4.455 MB / 434 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008005/0.05254, allocations: 0.5859 MB / 434.6 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.05435, allocations: 1.365 MB / 436 MB, free: 8.934 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002301/0.05665, allocations: 3.818 MB / 439.8 MB, free: 5.105 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002098/0.05875, allocations: 2.29 MB / 442.1 MB, free: 2.809 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1659/0.2247, allocations: 7.583 MB / 449.7 MB, free: 66.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.2247, allocations: 0 / 449.7 MB, free: 66.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.2247, allocations: 6.203 kB / 449.7 MB, free: 66.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005424/0.2252, allocations: 1.219 kB / 449.7 MB, free: 66.86 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.01222/0.2374, allocations: 9.296 MB / 459 MB, free: 63.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2375, allocations: 9.375 kB / 459 MB, free: 63.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005986/0.2435, allocations: 3.347 MB / 462.3 MB, free: 62.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004285/0.2478, allocations: 4.063 MB / 466.4 MB, free: 62.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.2479, allocations: 415.8 kB / 466.8 MB, free: 62.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005119/0.2484, allocations: 0.5406 MB / 467.4 MB, free: 62.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/0.2601, allocations: 10.4 MB / 477.8 MB, free: 57.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001437/0.2602, allocations: 69.59 kB / 477.8 MB, free: 57.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000459/0.2607, allocations: 259.7 kB / 478.1 MB, free: 57.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002755/0.2634, allocations: 2.923 MB / 481 MB, free: 56.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.2747, allocations: 5.233 MB / 486.2 MB, free: 56.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04598/0.3207, allocations: 72.18 MB / 0.5453 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007589/0.3283, allocations: 3.473 MB / 0.5487 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009205/0.3292, allocations: 0.7686 MB / 0.5495 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007244/0.3364, allocations: 6.329 MB / 0.5557 GB, free: 6.383 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.3365, allocations: 50.7 kB / 0.5557 GB, free: 6.324 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 4.558e-06/0.3365, allocations: 0 / 0.5557 GB, free: 6.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.02233/0.3588, allocations: 13.08 MB / 0.5685 GB, free: 9.316 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.3589, allocations: 153.8 kB / 0.5686 GB, free: 9.137 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00634/0.3652, allocations: 5.517 MB / 0.574 GB, free: 3.637 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.3653, allocations: 61.7 kB / 0.5741 GB, free: 3.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003036/0.3684, allocations: 5.504 MB / 0.5794 GB, free: 14.11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006301/0.369, allocations: 0.8719 MB / 0.5803 GB, free: 13.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001568/0.3706, allocations: 1.822 MB / 0.5821 GB, free: 11.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3707, allocations: 476.8 kB / 0.5825 GB, free: 10.94 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.3721, allocations: 0.7854 MB / 0.5833 GB, free: 10.15 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004804/0.3769, allocations: 8.702 MB / 0.5918 GB, free: 13.87 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007321/0.3843, allocations: 10.48 MB / 0.602 GB, free: 32 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.1628/0.5471, allocations: 53.86 kB / 0.6021 GB, free: 138.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01301/0.5601, allocations: 7.06 MB / 0.609 GB, free: 137.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.5602, allocations: 88.06 kB / 0.6091 GB, free: 137.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002218/0.5604, allocations: 188.4 kB / 0.6092 GB, free: 137.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/0.5606, allocations: 251.4 kB / 0.6095 GB, free: 137.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004202/0.5648, allocations: 1.936 MB / 0.6114 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002658/0.5651, allocations: 373.5 kB / 0.6117 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005186/0.5703, allocations: 0.6316 MB / 0.6123 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/0.5713, allocations: 0.5093 MB / 0.6128 GB, free: 136.8 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.003085/0.5744, allocations: 0.8724 MB / 0.6137 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/0.5756, allocations: 0.5637 MB / 0.6142 GB, free: 136.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008349/0.5764, allocations: 493 kB / 0.6147 GB, free: 136.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.187e-05/0.5765, allocations: 25.84 kB / 0.6147 GB, free: 136.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.5765, allocations: 2.812 kB / 0.6147 GB, free: 136.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.5765, allocations: 10.08 kB / 0.6147 GB, free: 136.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/0.5923, allocations: 10.17 MB / 0.6247 GB, free: 133.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.205e-05/0.5924, allocations: 46.5 kB / 0.6247 GB, free: 133.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.5935, allocations: 448.7 kB / 0.6251 GB, free: 133.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.367e-05/0.5936, allocations: 61 kB / 0.6252 GB, free: 133.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/0.5937, allocations: 109.8 kB / 0.6253 GB, free: 133.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.963e-05/0.5938, allocations: 87.34 kB / 0.6254 GB, free: 133.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.625e-05/0.5938, allocations: 76.48 kB / 0.6255 GB, free: 133.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00391/0.5977, allocations: 4.103 MB / 0.6295 GB, free: 129.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/0.5991, allocations: 0.5897 MB / 0.6301 GB, free: 129.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000813/0.5999, allocations: 113.5 kB / 0.6302 GB, free: 129.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/0.6021, allocations: 236.1 kB / 0.6304 GB, free: 129.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003526/0.6025, allocations: 327.1 kB / 0.6307 GB, free: 129.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/0.6027, allocations: 129.1 kB / 0.6308 GB, free: 129.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004349/0.607, allocations: 2.406 MB / 0.6332 GB, free: 129.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.607, allocations: 0 / 0.6332 GB, free: 129.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008076/0.6151, allocations: 1.494 MB / 0.6346 GB, free: 129.2 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.001016/0.6161, allocations: 289.6 kB / 0.6349 GB, free: 129.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006947/0.6231, allocations: 3.673 MB / 0.6385 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.362e-05/0.6231, allocations: 7.562 kB / 0.6385 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.6245, allocations: 0.7495 MB / 0.6392 GB, free: 127.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006021/0.6306, allocations: 0.839 MB / 0.6401 GB, free: 127.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/0.6514, allocations: 13.74 MB / 0.6535 GB, free: 115.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003376/0.6547, allocations: 2.103 MB / 0.6555 GB, free: 114.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004748/0.6595, allocations: 2.202 MB / 0.6577 GB, free: 113.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000975/0.6605, allocations: 348.7 kB / 0.658 GB, free: 112.8 MB / 474.7 MB Notification: Performance of SimCode: time 2.324e-06/0.6605, allocations: 0 / 0.658 GB, free: 112.8 MB / 474.7 MB Notification: Performance of Templates: time 0.05855/0.719, allocations: 33.66 MB / 0.6909 GB, free: 83.8 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 5.216284373076633]