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.002063/0.002063, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002427/0.002427, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 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.515/1.515, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 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.2282/0.2282, allocations: 46.97 MB / 361.6 MB, free: 4.051 MB / 286.1 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 0.002042/0.002042, allocations: 71.89 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2881, allocations: 66.04 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.0114/0.2995, allocations: 8.408 MB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006256/0.3057, allocations: 2.78 MB / 0.5727 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009187/0.3066, allocations: 59.81 kB / 0.5728 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004113/0.3107, allocations: 1.935 MB / 0.5747 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003057/0.3138, allocations: 1.14 MB / 0.5758 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008228/0.3146, allocations: 287.5 kB / 0.5761 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003194/0.3178, allocations: 2.325 MB / 0.5783 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0024/0.3202, allocations: 1.742 MB / 0.58 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.3214, allocations: 0.8956 MB / 0.5809 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.3231, allocations: 1.246 MB / 0.5821 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003228/0.3235, allocations: 196 kB / 0.5823 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.3246, allocations: 0.6201 MB / 0.5829 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.3257, allocations: 1.133 MB / 0.584 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.3268, allocations: 0.9509 MB / 0.585 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00515/0.3319, allocations: 4.345 MB / 0.5892 GB, free: 7.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3319, allocations: 3.938 kB / 0.5892 GB, free: 7.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3319, allocations: 0 / 0.5892 GB, free: 7.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.55e-05/0.332, allocations: 0 / 0.5892 GB, free: 7.984 MB / 430.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.004905/0.3369, allocations: 2.866 MB / 0.592 GB, free: 5.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3369, allocations: 12.03 kB / 0.592 GB, free: 5.062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005125/0.342, allocations: 1.574 MB / 0.5936 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/0.3451, allocations: 1.282 MB / 0.5948 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.3452, allocations: 148 kB / 0.5949 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003717/0.3456, allocations: 195.8 kB / 0.5951 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009704/0.3553, allocations: 6.242 MB / 0.6012 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-05/0.3553, allocations: 11.88 kB / 0.6012 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/0.3556, allocations: 87.91 kB / 0.6013 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00211/0.3577, allocations: 1.34 MB / 0.6026 GB, free: 9.879 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009971/0.3676, allocations: 5.325 MB / 0.6078 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0282/0.3958, allocations: 18.3 MB / 0.6257 GB, free: 1.688 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004186/0.4, allocations: 1.488 MB / 0.6272 GB, free: 192 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000985/0.401, allocations: 0.6406 MB / 0.6278 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007222/0.4082, allocations: 3.009 MB / 0.6307 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.4083, allocations: 39 kB / 0.6308 GB, free: 12.45 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.015e-06/0.4083, allocations: 0 / 0.6308 GB, free: 12.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005934/0.4142, allocations: 1.975 MB / 0.6327 GB, free: 10.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.4143, allocations: 63.83 kB / 0.6327 GB, free: 10.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002635/0.4169, allocations: 1.935 MB / 0.6346 GB, free: 8.445 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.417, allocations: 41.69 kB / 0.6347 GB, free: 8.398 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.4184, allocations: 1.919 MB / 0.6365 GB, free: 6.457 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003127/0.4187, allocations: 325.5 kB / 0.6369 GB, free: 6.137 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008178/0.4195, allocations: 0.6234 MB / 0.6375 GB, free: 5.504 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4197, allocations: 341.9 kB / 0.6378 GB, free: 5.164 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.4211, allocations: 0.8881 MB / 0.6387 GB, free: 4.273 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00294/0.424, allocations: 2.751 MB / 0.6413 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004663/0.4287, allocations: 3.976 MB / 0.6452 GB, free: 11.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.089e-05/0.4287, allocations: 20 kB / 0.6453 GB, free: 11.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005487/0.4342, allocations: 3.52 MB / 0.6487 GB, free: 8.141 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/0.4342, allocations: 32 kB / 0.6487 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.9e-05/0.4343, allocations: 68 kB / 0.6488 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.596e-05/0.4344, allocations: 88 kB / 0.6489 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/0.4364, allocations: 0.655 MB / 0.6495 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00012/0.4365, allocations: 135.4 kB / 0.6496 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.4382, allocations: 417 kB / 0.65 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/0.4384, allocations: 188 kB / 0.6502 GB, free: 6.578 MB / 494.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.00189/0.4403, allocations: 1.338 MB / 0.6515 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.4405, allocations: 154.9 kB / 0.6517 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.4409, allocations: 192 kB / 0.6519 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/0.4409, allocations: 15.97 kB / 0.6519 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.4409, allocations: 7.938 kB / 0.6519 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4409, allocations: 0 / 0.6519 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005711/0.4466, allocations: 3.066 MB / 0.6549 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.4466, allocations: 8 kB / 0.6549 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/0.447, allocations: 103.8 kB / 0.655 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/0.4471, allocations: 11.94 kB / 0.655 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.022e-05/0.4471, allocations: 20 kB / 0.655 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.616e-05/0.4471, allocations: 19.92 kB / 0.655 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.4471, allocations: 4 kB / 0.655 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.4487, allocations: 1.253 MB / 0.6563 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.4489, allocations: 150.8 kB / 0.6564 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.4491, allocations: 27.92 kB / 0.6564 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.4495, allocations: 19.98 kB / 0.6564 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4496, allocations: 59.8 kB / 0.6565 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.775e-05/0.4497, allocations: 28 kB / 0.6565 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001503/0.4512, allocations: 1.114 MB / 0.6576 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4512, allocations: 0 / 0.6576 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002382/0.4536, allocations: 0.7123 MB / 0.6583 GB, free: 14.05 MB / 0.4981 GB 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.0002957/0.4539, allocations: 146.8 kB / 0.6584 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002984/0.4569, allocations: 1.956 MB / 0.6604 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4569, allocations: 0 / 0.6604 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005818/0.4574, allocations: 437.1 kB / 0.6608 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.4585, allocations: 187.7 kB / 0.661 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008094/0.4666, allocations: 5.1 MB / 0.6659 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002336/0.4689, allocations: 1.696 MB / 0.6676 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002133/0.471, allocations: 0.9429 MB / 0.6685 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.4713, allocations: 115.4 kB / 0.6686 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/0.4713, allocations: 0 / 0.6686 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.03121/0.5026, allocations: 15.45 MB / 0.6837 GB, free: 4.062 MB / 0.5137 GB " [Timeout remaining time 659] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/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.485379905003356]