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.001313/0.001313, allocations: 82.7 kB / 20.68 MB, free: 1.039 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.001407/0.001407, allocations: 164.6 kB / 23.95 MB, free: 4.172 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.521/1.521, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.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.2096/0.2096, allocations: 34.28 MB / 295 MB, free: 14.59 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.CutTorque2,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.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,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.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.01e-05, allocations: 6.219 kB / 442.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.2064/0.2064, allocations: 8.412 MB / 451.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005866/0.2123, allocations: 2.788 MB / 453.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.2135, allocations: 57.19 kB / 453.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003746/0.2172, allocations: 2.036 MB / 456 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.22, allocations: 1.173 MB / 457.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007434/0.2207, allocations: 317.8 kB / 457.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003204/0.224, allocations: 2.362 MB / 459.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002465/0.2264, allocations: 1.748 MB / 461.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.2285, allocations: 1.285 MB / 462.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.2303, allocations: 1.138 MB / 464 MB, free: 9.523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003788/0.2307, allocations: 194.1 kB / 464.2 MB, free: 9.523 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.2321, allocations: 0.6504 MB / 464.8 MB, free: 9.395 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.2332, allocations: 1.177 MB / 466 MB, free: 8.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000955/0.2342, allocations: 0.718 MB / 466.7 MB, free: 8.523 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004525/0.2387, allocations: 4.28 MB / 471 MB, free: 5.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2387, allocations: 0 / 471 MB, free: 5.941 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2387, allocations: 0 / 471 MB, free: 5.941 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.411e-05/0.2388, allocations: 5.047 kB / 471 MB, free: 5.938 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.005038/0.2438, allocations: 2.829 MB / 473.8 MB, free: 3.859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2439, allocations: 9.625 kB / 473.8 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005107/0.249, allocations: 1.594 MB / 475.4 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.2515, allocations: 1.28 MB / 476.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.2516, allocations: 143.6 kB / 476.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003515/0.252, allocations: 185.3 kB / 477 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009709/0.2617, allocations: 6.258 MB / 483.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.807e-05/0.2617, allocations: 15.81 kB / 483.3 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002606/0.262, allocations: 88.66 kB / 483.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002417/0.2644, allocations: 1.348 MB / 484.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.2752, allocations: 5.337 MB / 490.1 MB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02825/0.3034, allocations: 18.36 MB / 0.4965 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004531/0.308, allocations: 1.563 MB / 0.498 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.309, allocations: 0.6429 MB / 0.4987 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007177/0.3162, allocations: 3.107 MB / 0.5017 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.3162, allocations: 39.05 kB / 0.5017 GB, free: 14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.437e-06/0.3162, allocations: 0 / 0.5017 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.006142/0.3224, allocations: 2.112 MB / 0.5038 GB, free: 11.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.3225, allocations: 55.91 kB / 0.5039 GB, free: 11.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003065/0.3255, allocations: 1.943 MB / 0.5058 GB, free: 9.867 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/0.3256, allocations: 37.64 kB / 0.5058 GB, free: 9.824 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.3271, allocations: 1.892 MB / 0.5076 GB, free: 7.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/0.3274, allocations: 325.5 kB / 0.5079 GB, free: 7.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008682/0.3283, allocations: 0.6156 MB / 0.5086 GB, free: 6.965 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.3285, allocations: 353.9 kB / 0.5089 GB, free: 6.613 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.33, allocations: 0.8842 MB / 0.5098 GB, free: 5.727 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003171/0.3332, allocations: 2.755 MB / 0.5124 GB, free: 2.039 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005506/0.3387, allocations: 3.966 MB / 0.5163 GB, free: 13.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.213e-05/0.3388, allocations: 20 kB / 0.5163 GB, free: 13.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006386/0.3451, allocations: 3.52 MB / 0.5198 GB, free: 9.594 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.357e-05/0.3452, allocations: 36 kB / 0.5198 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.499e-05/0.3453, allocations: 64 kB / 0.5199 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001003/0.3454, allocations: 91.94 kB / 0.52 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/0.3474, allocations: 0.6559 MB / 0.5206 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001383/0.3476, allocations: 134.6 kB / 0.5207 GB, free: 8.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.3496, allocations: 417.1 kB / 0.5211 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002797/0.3499, allocations: 187.9 kB / 0.5213 GB, free: 8.031 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.002425/0.3523, allocations: 1.346 MB / 0.5226 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.3526, allocations: 158.9 kB / 0.5228 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003603/0.3529, allocations: 188 kB / 0.5229 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.3529, allocations: 8 kB / 0.523 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.353, allocations: 0.875 kB / 0.523 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.353, allocations: 3.984 kB / 0.523 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005786/0.3587, allocations: 3.09 MB / 0.526 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.3588, allocations: 4 kB / 0.526 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.3592, allocations: 103.8 kB / 0.5261 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.3592, allocations: 8 kB / 0.5261 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/0.3592, allocations: 23.3 kB / 0.5261 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/0.3593, allocations: 11.94 kB / 0.5261 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.329e-05/0.3593, allocations: 15.88 kB / 0.5261 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.361, allocations: 1.246 MB / 0.5274 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.3613, allocations: 158.7 kB / 0.5275 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.3615, allocations: 16 kB / 0.5275 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/0.362, allocations: 31.97 kB / 0.5276 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.3621, allocations: 55.69 kB / 0.5276 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.546e-05/0.3622, allocations: 35.98 kB / 0.5276 GB, free: 1.293 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00171/0.3639, allocations: 1.118 MB / 0.5287 GB, free: 184 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3639, allocations: 0 / 0.5287 GB, free: 184 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.003105/0.367, allocations: 0.7084 MB / 0.5294 GB, free: 15.46 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.0004002/0.3674, allocations: 138.9 kB / 0.5296 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00351/0.3709, allocations: 1.961 MB / 0.5315 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.3709, allocations: 0 / 0.5315 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000646/0.3715, allocations: 441.4 kB / 0.5319 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.3728, allocations: 187.6 kB / 0.5321 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.383, allocations: 5.062 MB / 0.537 GB, free: 7.582 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00256/0.3855, allocations: 1.719 MB / 0.5387 GB, free: 5.824 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002259/0.3878, allocations: 0.9429 MB / 0.5396 GB, free: 4.875 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.3881, allocations: 116.5 kB / 0.5397 GB, free: 4.762 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3881, allocations: 0 / 0.5397 GB, free: 4.762 MB / 446.1 MB Notification: Performance of Templates: time 0.02942/0.4175, allocations: 11.55 MB / 0.551 GB, free: 9.406 MB / 462.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.505483236163855]