Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.0009769/0.0009769, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002347, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009389/0.0009389, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.002105, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9751/0.9751, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08253/1.058, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2619/0.2619, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02458/0.2865, allocations: 13.09 MB / 291.3 MB, free: 7.367 MB / 282.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.773e-05, allocations: 2.969 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.009051/0.009078, allocations: 9.121 MB / 301.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005032/0.01411, allocations: 2.978 MB / 304.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007097/0.01482, allocations: 67.75 kB / 304.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.01728, allocations: 2.032 MB / 306.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.01914, allocations: 1.159 MB / 308 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.01965, allocations: 299.2 kB / 308.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002116/0.02176, allocations: 2.207 MB / 310.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.02341, allocations: 1.774 MB / 312.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.02466, allocations: 1.352 MB / 313.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.02579, allocations: 1.107 MB / 314.7 MB, free: 84 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.02604, allocations: 196 kB / 314.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008401/0.02688, allocations: 0.6513 MB / 315.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007732/0.02765, allocations: 1.068 MB / 316.6 MB, free: 14.17 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006364/0.02829, allocations: 0.5958 MB / 317.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002308/0.03059, allocations: 2.553 MB / 319.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.03061, allocations: 0 / 319.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.03061, allocations: 0 / 319.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.922e-05/0.03066, allocations: 0 / 319.8 MB, free: 11.01 MB / 314.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.003368/0.03402, allocations: 3.241 MB / 323 MB, free: 7.711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.03406, allocations: 16.02 kB / 323 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/0.03634, allocations: 0.7577 MB / 323.8 MB, free: 6.938 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.03768, allocations: 1.049 MB / 324.8 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.266e-05/0.03777, allocations: 148 kB / 325 MB, free: 5.707 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002661/0.03804, allocations: 184.3 kB / 325.2 MB, free: 5.527 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/0.04168, allocations: 2.837 MB / 328 MB, free: 2.418 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.176e-05/0.04172, allocations: 11.88 kB / 328 MB, free: 2.406 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/0.04192, allocations: 87.91 kB / 328.1 MB, free: 2.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001351/0.04327, allocations: 1.207 MB / 329.3 MB, free: 1.109 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003154/0.04642, allocations: 1.508 MB / 330.8 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/0.06018, allocations: 15.31 MB / 346.1 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.06231, allocations: 0.8675 MB / 347 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.06257, allocations: 156.5 kB / 347.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003142/0.06571, allocations: 2.181 MB / 349.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.06573, allocations: 39.05 kB / 349.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 1.904e-06/0.06574, allocations: 0 / 349.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.002075/0.06781, allocations: 1.074 MB / 350.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.06784, allocations: 55.91 kB / 350.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008565/0.0687, allocations: 1.424 MB / 351.9 MB, free: 9.816 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.06873, allocations: 33.7 kB / 351.9 MB, free: 9.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006945/0.06942, allocations: 1.842 MB / 353.8 MB, free: 7.914 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.06957, allocations: 321.5 kB / 354.1 MB, free: 7.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004103/0.06998, allocations: 0.5801 MB / 354.7 MB, free: 7.008 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.07007, allocations: 353.8 kB / 355 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.07039, allocations: 310.2 kB / 355.3 MB, free: 6.348 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.07141, allocations: 2.087 MB / 357.4 MB, free: 3.324 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.07316, allocations: 2.753 MB / 360.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.413e-05/0.07318, allocations: 16 kB / 360.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.001764/0.07495, allocations: 1.963 MB / 362.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.07498, allocations: 33.72 kB / 362.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-05/0.07502, allocations: 68 kB / 362.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.306e-05/0.07507, allocations: 88 kB / 362.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.07615, allocations: 0.7136 MB / 363 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.187e-05/0.07621, allocations: 127.5 kB / 363.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008085/0.07702, allocations: 413.2 kB / 363.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.07715, allocations: 156 kB / 363.7 MB, free: 12.08 MB / 362.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.0004159/0.07757, allocations: 369.6 kB / 364.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.4e-05/0.07766, allocations: 91.91 kB / 364.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.07782, allocations: 160 kB / 364.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.07783, allocations: 11.98 kB / 364.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.07783, allocations: 8 kB / 364.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.07784, allocations: 0 / 364.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/0.07996, allocations: 2.253 MB / 366.6 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.07997, allocations: 4 kB / 366.6 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.08018, allocations: 107.8 kB / 366.7 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.08028, allocations: 146.7 kB / 366.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.08029, allocations: 11.98 kB / 366.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.08031, allocations: 20.55 kB / 366.9 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.08032, allocations: 15.88 kB / 366.9 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.08033, allocations: 15.94 kB / 366.9 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.08076, allocations: 0.6449 MB / 367.6 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.97e-05/0.08084, allocations: 19.98 kB / 367.6 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.08104, allocations: 20 kB / 367.6 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.08109, allocations: 63.67 kB / 367.7 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.08112, allocations: 24 kB / 367.7 MB, free: 7.875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004099/0.08153, allocations: 0.5488 MB / 368.2 MB, free: 7.328 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08153, allocations: 0 / 368.2 MB, free: 7.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001249/0.08278, allocations: 0.7084 MB / 368.9 MB, free: 6.617 MB / 362.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.0002005/0.08298, allocations: 120.2 kB / 369.1 MB, free: 6.492 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000913/0.0839, allocations: 1.105 MB / 370.2 MB, free: 5.391 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.308e-05/0.08398, allocations: 55.92 kB / 370.2 MB, free: 5.324 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.08413, allocations: 171.4 kB / 370.4 MB, free: 5.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.08472, allocations: 293.3 kB / 370.7 MB, free: 4.875 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/0.08927, allocations: 4.609 MB / 375.3 MB, free: 128 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.08985, allocations: 0.7579 MB / 376 MB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004771/0.09033, allocations: 242.6 kB / 376.3 MB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.09063, allocations: 279.3 kB / 376.5 MB, free: 14.83 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.09063, allocations: 0 / 376.5 MB, free: 14.83 MB / 378.7 MB Notification: Performance of Templates: time 0.01962/0.1102, allocations: 12.59 MB / 389.1 MB, free: 2.402 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.1622404642403126]