Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.0008903/0.0008903, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001003/0.001003, allocations: 159.7 kB / 24.91 MB, free: 8.711 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 0.9574/0.9574, allocations: 177 MB / 205.2 MB, free: 5.422 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.2679/0.2679, allocations: 34.87 MB / 296.6 MB, free: 0.5039 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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 325.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.798e-05, allocations: 3.625 kB / 325.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.006873/0.006891, allocations: 9.059 MB / 335 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004125/0.01102, allocations: 2.963 MB / 338 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005121/0.01153, allocations: 55.81 kB / 338 MB, free: 11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.01356, allocations: 2.099 MB / 340.1 MB, free: 8.891 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.01497, allocations: 1.167 MB / 341.3 MB, free: 7.719 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.01534, allocations: 315.2 kB / 341.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001626/0.01697, allocations: 2.222 MB / 343.8 MB, free: 5.184 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.0182, allocations: 1.832 MB / 345.6 MB, free: 3.289 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008822/0.01909, allocations: 1.298 MB / 346.9 MB, free: 1.988 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008848/0.01997, allocations: 1.118 MB / 348.1 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.02015, allocations: 200 kB / 348.3 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006179/0.02077, allocations: 0.6591 MB / 348.9 MB, free: 12 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005994/0.02137, allocations: 1.18 MB / 350.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000487/0.02185, allocations: 0.7241 MB / 350.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.02358, allocations: 2.72 MB / 353.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.02358, allocations: 0 / 353.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.02358, allocations: 0 / 353.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.166e-05/0.02362, allocations: 0 / 353.5 MB, free: 11.37 MB / 330.7 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.002183/0.0258, allocations: 2.678 MB / 356.2 MB, free: 8.656 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.02583, allocations: 12.03 kB / 356.2 MB, free: 8.645 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.02764, allocations: 0.7499 MB / 357 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.02877, allocations: 1.049 MB / 358 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.02887, allocations: 148 kB / 358.2 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002929/0.02916, allocations: 188.3 kB / 358.4 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004339/0.0335, allocations: 2.84 MB / 361.2 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.894e-05/0.03355, allocations: 15.88 kB / 361.2 MB, free: 3.352 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/0.03376, allocations: 91.89 kB / 361.3 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001502/0.03527, allocations: 1.196 MB / 362.5 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003885/0.03915, allocations: 1.509 MB / 364 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/0.05163, allocations: 15.31 MB / 379.3 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.05333, allocations: 0.8808 MB / 380.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.05353, allocations: 156.8 kB / 380.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002603/0.05613, allocations: 2.232 MB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.05616, allocations: 46.98 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.174e-06/0.05616, allocations: 0 / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002283/0.05845, allocations: 1.097 MB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.05848, allocations: 59.91 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008596/0.05934, allocations: 1.424 MB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002748/0.05961, allocations: 33.7 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006501/0.06026, allocations: 1.842 MB / 387.1 MB, free: 8.777 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.0604, allocations: 317.5 kB / 387.4 MB, free: 8.465 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/0.06081, allocations: 0.5801 MB / 388 MB, free: 7.875 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.4e-05/0.06089, allocations: 349.8 kB / 388.3 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.06121, allocations: 310.2 kB / 388.6 MB, free: 7.219 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.06265, allocations: 2.099 MB / 390.7 MB, free: 4.188 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002526/0.06518, allocations: 2.737 MB / 393.5 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.677e-05/0.0652, allocations: 20 kB / 393.5 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002788/0.06799, allocations: 1.961 MB / 395.4 MB, free: 14.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.06803, allocations: 32 kB / 395.5 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.954e-05/0.06809, allocations: 72.16 kB / 395.5 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.06e-05/0.06817, allocations: 88 kB / 395.6 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.06988, allocations: 0.6706 MB / 396.3 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-05/0.06997, allocations: 131.5 kB / 396.4 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.07137, allocations: 400.9 kB / 396.8 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/0.07158, allocations: 163.9 kB / 397 MB, free: 12.98 MB / 378.7 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.000602/0.07218, allocations: 373.5 kB / 397.3 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.07232, allocations: 91.91 kB / 397.4 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.07253, allocations: 160 kB / 397.6 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.07254, allocations: 8 kB / 397.6 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.07255, allocations: 0 / 397.6 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.07255, allocations: 3.984 kB / 397.6 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/0.07579, allocations: 2.261 MB / 399.9 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.0758, allocations: 8.031 kB / 399.9 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/0.07612, allocations: 99.83 kB / 400 MB, free: 9.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.07613, allocations: 8 kB / 400 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.07616, allocations: 16 kB / 400 MB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.07617, allocations: 15.98 kB / 400 MB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.228e-06/0.07618, allocations: 15.88 kB / 400 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006556/0.07684, allocations: 0.6487 MB / 400.7 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.07699, allocations: 158.7 kB / 400.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.07711, allocations: 16 kB / 400.8 MB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.0774, allocations: 16 kB / 400.9 MB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.07747, allocations: 59.73 kB / 400.9 MB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.0775, allocations: 24 kB / 400.9 MB, free: 8.789 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003985/0.07789, allocations: 0.5487 MB / 401.5 MB, free: 8.242 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07789, allocations: 0 / 401.5 MB, free: 8.242 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001256/0.07915, allocations: 0.6967 MB / 402.2 MB, free: 7.543 MB / 378.7 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.0001948/0.07934, allocations: 142.3 kB / 402.3 MB, free: 7.398 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008867/0.08023, allocations: 1.101 MB / 403.4 MB, free: 6.305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.375e-05/0.0803, allocations: 47.94 kB / 403.5 MB, free: 6.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.08048, allocations: 169.7 kB / 403.6 MB, free: 6.082 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.08102, allocations: 196.7 kB / 403.8 MB, free: 5.898 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.0851, allocations: 4.495 MB / 408.3 MB, free: 1.258 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.08566, allocations: 0.758 MB / 409.1 MB, free: 488 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004791/0.08614, allocations: 243.2 kB / 409.3 MB, free: 240 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.08645, allocations: 271.4 kB / 409.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of SimCode: time 7.72e-07/0.08645, allocations: 0 / 409.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of Templates: time 0.01952/0.106, allocations: 12.41 MB / 422 MB, free: 3.742 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.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.224061250220984]