Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.00134/0.00134, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001559/0.001559, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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.461/1.461, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.2531/0.2531, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 442.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.779e-05, allocations: 2.281 kB / 442.6 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.2051/0.2052, allocations: 8.423 MB / 451.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005612/0.2108, allocations: 2.782 MB / 453.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.2118, allocations: 55.81 kB / 453.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004/0.2158, allocations: 2.042 MB / 455.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.2191, allocations: 1.17 MB / 457.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007992/0.2199, allocations: 315.4 kB / 457.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003451/0.2233, allocations: 2.359 MB / 459.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002613/0.2259, allocations: 1.758 MB / 461.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002031/0.228, allocations: 1.277 MB / 462.8 MB, free: 9.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.2296, allocations: 1.138 MB / 464 MB, free: 9.402 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003632/0.23, allocations: 193.3 kB / 464.1 MB, free: 9.402 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.2314, allocations: 0.6508 MB / 464.8 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.2326, allocations: 1.175 MB / 466 MB, free: 8.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009246/0.2335, allocations: 0.7146 MB / 466.7 MB, free: 8.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005106/0.2386, allocations: 4.285 MB / 471 MB, free: 5.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2386, allocations: 0 / 471 MB, free: 5.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2386, allocations: 0 / 471 MB, free: 5.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001813/0.2388, allocations: 0 / 471 MB, free: 5.816 MB / 366.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.006007/0.2448, allocations: 2.837 MB / 473.8 MB, free: 3.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2448, allocations: 9.375 kB / 473.8 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005109/0.2499, allocations: 1.586 MB / 475.4 MB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.2525, allocations: 1.28 MB / 476.7 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-05/0.2525, allocations: 147.4 kB / 476.8 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003444/0.2529, allocations: 184.5 kB / 477 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009915/0.2628, allocations: 6.254 MB / 483.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-05/0.2629, allocations: 19.81 kB / 483.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002932/0.2632, allocations: 87.91 kB / 483.4 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002501/0.2657, allocations: 1.348 MB / 484.7 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.2765, allocations: 5.336 MB / 490 MB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02969/0.3062, allocations: 18.36 MB / 0.4965 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004697/0.3109, allocations: 1.563 MB / 0.498 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.312, allocations: 0.6388 MB / 0.4986 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007389/0.3194, allocations: 3.115 MB / 0.5017 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.3194, allocations: 39.94 kB / 0.5017 GB, free: 13.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.585e-06/0.3194, allocations: 0 / 0.5017 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.006268/0.3257, allocations: 2.116 MB / 0.5038 GB, free: 11.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.3258, allocations: 59.91 kB / 0.5039 GB, free: 11.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003547/0.3293, allocations: 1.931 MB / 0.5057 GB, free: 9.723 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.189e-05/0.3294, allocations: 37.7 kB / 0.5058 GB, free: 9.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001628/0.331, allocations: 1.899 MB / 0.5076 GB, free: 7.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003534/0.3314, allocations: 329.5 kB / 0.5079 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009968/0.3324, allocations: 0.6039 MB / 0.5085 GB, free: 6.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3325, allocations: 353.9 kB / 0.5089 GB, free: 6.469 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.334, allocations: 0.8842 MB / 0.5097 GB, free: 5.582 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003219/0.3372, allocations: 2.751 MB / 0.5124 GB, free: 1.898 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00536/0.3426, allocations: 3.97 MB / 0.5163 GB, free: 13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.453e-05/0.3427, allocations: 16 kB / 0.5163 GB, free: 12.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006658/0.3493, allocations: 3.536 MB / 0.5198 GB, free: 9.441 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.22e-05/0.3494, allocations: 32 kB / 0.5198 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/0.3495, allocations: 68.88 kB / 0.5199 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001043/0.3496, allocations: 84 kB / 0.5199 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00214/0.3517, allocations: 0.6511 MB / 0.5206 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001349/0.3519, allocations: 135.4 kB / 0.5207 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.354, allocations: 413.2 kB / 0.5211 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000317/0.3543, allocations: 188 kB / 0.5213 GB, free: 7.887 MB / 430.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.002571/0.3569, allocations: 1.346 MB / 0.5226 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003372/0.3572, allocations: 154.9 kB / 0.5227 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00042/0.3576, allocations: 193 kB / 0.5229 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/0.3576, allocations: 8 kB / 0.5229 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.3576, allocations: 4 kB / 0.5229 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3577, allocations: 0 / 0.5229 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006379/0.364, allocations: 3.084 MB / 0.5259 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.364, allocations: 4 kB / 0.526 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/0.3645, allocations: 107.8 kB / 0.5261 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/0.3645, allocations: 8 kB / 0.5261 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.3646, allocations: 22.19 kB / 0.5261 GB, free: 2.824 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/0.3646, allocations: 11.94 kB / 0.5261 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-05/0.3646, allocations: 19.86 kB / 0.5261 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.3663, allocations: 1.238 MB / 0.5273 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004424/0.3667, allocations: 166.7 kB / 0.5275 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002691/0.367, allocations: 19.98 kB / 0.5275 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005461/0.3675, allocations: 23.98 kB / 0.5275 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.3677, allocations: 67.67 kB / 0.5276 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.456e-05/0.3677, allocations: 28 kB / 0.5276 GB, free: 1.148 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001973/0.3697, allocations: 1.11 MB / 0.5287 GB, free: 44 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3697, allocations: 0 / 0.5287 GB, free: 44 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.003016/0.3727, allocations: 0.7161 MB / 0.5294 GB, free: 15.32 MB / 446.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.0004041/0.3731, allocations: 143 kB / 0.5295 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003505/0.3766, allocations: 1.954 MB / 0.5314 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.3767, allocations: 3.938 kB / 0.5314 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006435/0.3773, allocations: 433.4 kB / 0.5319 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.3785, allocations: 193.8 kB / 0.532 GB, free: 12.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.3898, allocations: 5.074 MB / 0.537 GB, free: 7.438 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003565/0.3934, allocations: 1.7 MB / 0.5387 GB, free: 5.695 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002631/0.396, allocations: 0.9429 MB / 0.5396 GB, free: 4.746 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005876/0.3966, allocations: 112.5 kB / 0.5397 GB, free: 4.637 MB / 446.1 MB Notification: Performance of SimCode: time 2.414e-06/0.3966, allocations: 0 / 0.5397 GB, free: 4.637 MB / 446.1 MB Notification: Performance of Templates: time 0.03415/0.4307, allocations: 11.55 MB / 0.551 GB, free: 9.273 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.507411453872919]