Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001794/0.001794, allocations: 96.31 kB / 20.96 MB, free: 3.59 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.002169/0.002169, allocations: 157.7 kB / 24.26 MB, free: 300 kB / 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 1.473/1.473, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.332/0.332, allocations: 34.27 MB / 295.3 MB, free: 0.6992 MB / 266.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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.731e-05, allocations: 2.875 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01285/0.01287, allocations: 8.42 MB / 385.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006597/0.01947, allocations: 2.795 MB / 388.5 MB, free: 7.711 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.02078, allocations: 55.81 kB / 388.6 MB, free: 7.656 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005028/0.02581, allocations: 2.072 MB / 390.6 MB, free: 5.578 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003309/0.02912, allocations: 1.171 MB / 391.8 MB, free: 4.402 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009738/0.03009, allocations: 323.2 kB / 392.1 MB, free: 4.086 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00393/0.03402, allocations: 2.364 MB / 394.5 MB, free: 1.715 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003312/0.03734, allocations: 1.797 MB / 396.3 MB, free: 15.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002566/0.0399, allocations: 1.286 MB / 397.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.04174, allocations: 1.134 MB / 398.7 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003262/0.04207, allocations: 192 kB / 398.9 MB, free: 13.26 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.04335, allocations: 0.6435 MB / 399.5 MB, free: 12.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001313/0.04466, allocations: 1.176 MB / 400.7 MB, free: 11.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.04573, allocations: 0.7202 MB / 401.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005824/0.05155, allocations: 4.287 MB / 405.7 MB, free: 6.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.05156, allocations: 0 / 405.7 MB, free: 6.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.05156, allocations: 0 / 405.7 MB, free: 6.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.199e-05/0.05163, allocations: 4 kB / 405.7 MB, free: 6.41 MB / 378.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.005282/0.05691, allocations: 2.823 MB / 408.5 MB, free: 3.543 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.05696, allocations: 12.03 kB / 408.5 MB, free: 3.531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006144/0.0631, allocations: 1.93 MB / 410.5 MB, free: 1.598 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003196/0.0663, allocations: 1.293 MB / 411.8 MB, free: 280 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.06645, allocations: 144 kB / 411.9 MB, free: 136 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000489/0.06694, allocations: 184.4 kB / 412.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.0781, allocations: 6.258 MB / 418.3 MB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.862e-05/0.07816, allocations: 19.86 kB / 418.4 MB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002537/0.07842, allocations: 83.91 kB / 418.4 MB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002356/0.08077, allocations: 1.344 MB / 419.8 MB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/0.09229, allocations: 5.33 MB / 425.1 MB, free: 2.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1906/0.2829, allocations: 18.41 MB / 443.5 MB, free: 94.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003751/0.2867, allocations: 1.569 MB / 445.1 MB, free: 94.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008105/0.2875, allocations: 0.6348 MB / 445.7 MB, free: 94.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005593/0.2931, allocations: 3.111 MB / 448.8 MB, free: 94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2931, allocations: 42.92 kB / 448.9 MB, free: 93.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.204e-06/0.2931, allocations: 0 / 448.9 MB, free: 93.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.00491/0.298, allocations: 2.132 MB / 451 MB, free: 93.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.298, allocations: 58.62 kB / 451.1 MB, free: 93.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.3002, allocations: 1.935 MB / 453 MB, free: 93.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.3002, allocations: 38.91 kB / 453.1 MB, free: 93.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007833/0.301, allocations: 1.899 MB / 455 MB, free: 91.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.3012, allocations: 326.2 kB / 455.3 MB, free: 91.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005868/0.3018, allocations: 0.6118 MB / 455.9 MB, free: 91.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.3018, allocations: 352.6 kB / 456.2 MB, free: 90.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009822/0.3028, allocations: 0.8889 MB / 457.1 MB, free: 90.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.3045, allocations: 2.75 MB / 459.9 MB, free: 87.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002925/0.3074, allocations: 3.967 MB / 463.8 MB, free: 84.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-05/0.3074, allocations: 17.94 kB / 463.8 MB, free: 84.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00446/0.3119, allocations: 3.682 MB / 467.5 MB, free: 83.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.3119, allocations: 34.06 kB / 467.6 MB, free: 83.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.993e-05/0.312, allocations: 69.16 kB / 467.6 MB, free: 83.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.36e-05/0.3121, allocations: 84.5 kB / 467.7 MB, free: 83.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/0.3137, allocations: 0.6587 MB / 468.4 MB, free: 83.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.034e-05/0.3138, allocations: 134.6 kB / 468.5 MB, free: 83.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.3156, allocations: 412.7 kB / 468.9 MB, free: 82.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/0.3158, allocations: 187.7 kB / 469.1 MB, free: 82.74 MB / 410.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.001513/0.3173, allocations: 1.342 MB / 470.4 MB, free: 82.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.3176, allocations: 182.5 kB / 470.6 MB, free: 82.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.3179, allocations: 185.9 kB / 470.8 MB, free: 81.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.3179, allocations: 11.92 kB / 470.8 MB, free: 81.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.3179, allocations: 0 / 470.8 MB, free: 81.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.3179, allocations: 3.422 kB / 470.8 MB, free: 81.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004579/0.3225, allocations: 3.091 MB / 473.9 MB, free: 80.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.3225, allocations: 7.5 kB / 473.9 MB, free: 80.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.3229, allocations: 103.2 kB / 474 MB, free: 80.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.3229, allocations: 16.81 kB / 474 MB, free: 80.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.3229, allocations: 15.81 kB / 474 MB, free: 80.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.317e-05/0.3229, allocations: 16.61 kB / 474.1 MB, free: 80.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.288e-06/0.323, allocations: 14.59 kB / 474.1 MB, free: 80.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.3243, allocations: 1.254 MB / 475.3 MB, free: 79.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/0.3246, allocations: 152.4 kB / 475.5 MB, free: 79.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.3248, allocations: 21.42 kB / 475.5 MB, free: 79.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.3252, allocations: 30.41 kB / 475.5 MB, free: 79.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.563e-05/0.3253, allocations: 63.36 kB / 475.6 MB, free: 79.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.3253, allocations: 28.31 kB / 475.6 MB, free: 79.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001378/0.3267, allocations: 1.115 MB / 476.7 MB, free: 79.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3267, allocations: 0 / 476.7 MB, free: 79.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002609/0.3293, allocations: 0.7124 MB / 477.4 MB, free: 79.11 MB / 410.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.0003325/0.3297, allocations: 144.3 kB / 477.6 MB, free: 79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003054/0.3327, allocations: 1.953 MB / 479.5 MB, free: 78.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.3327, allocations: 0.9062 kB / 479.5 MB, free: 78.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.3332, allocations: 432.3 kB / 480 MB, free: 78.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.3344, allocations: 186.3 kB / 480.1 MB, free: 78.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008174/0.3426, allocations: 5.167 MB / 485.3 MB, free: 75.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002307/0.3449, allocations: 1.708 MB / 487 MB, free: 75.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001891/0.3468, allocations: 0.9468 MB / 488 MB, free: 75.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.347, allocations: 108 kB / 488.1 MB, free: 75.08 MB / 410.7 MB Notification: Performance of SimCode: time 1.994e-06/0.347, allocations: 4 kB / 488.1 MB, free: 75.08 MB / 410.7 MB Notification: Performance of Templates: time 0.02419/0.3712, allocations: 11.65 MB / 499.7 MB, free: 71.59 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.360266530071385]