Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001545/0.001545, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001575/0.001575, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2296/0.2296, allocations: 44.94 MB / 358.8 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003678/0.003678, allocations: 59.91 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3648, allocations: 65.46 MB / 0.5574 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01127/0.376, allocations: 8.412 MB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006449/0.3825, allocations: 2.788 MB / 0.5684 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.3838, allocations: 55.81 kB / 0.5684 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004114/0.3879, allocations: 1.939 MB / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.3908, allocations: 1.136 MB / 0.5714 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000727/0.3915, allocations: 287.5 kB / 0.5717 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003443/0.3949, allocations: 2.325 MB / 0.574 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002282/0.3972, allocations: 1.73 MB / 0.5757 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.3985, allocations: 0.8956 MB / 0.5765 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.4003, allocations: 1.172 MB / 0.5777 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004379/0.4007, allocations: 196 kB / 0.5779 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.4021, allocations: 0.6045 MB / 0.5785 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001172/0.4032, allocations: 1.141 MB / 0.5796 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.4044, allocations: 0.9472 MB / 0.5805 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005116/0.4095, allocations: 4.344 MB / 0.5847 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.4095, allocations: 0 / 0.5847 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.4095, allocations: 4 kB / 0.5847 GB, free: 11.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.341e-05/0.4096, allocations: 0 / 0.5847 GB, free: 11.38 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.005266/0.4149, allocations: 2.866 MB / 0.5875 GB, free: 8.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4149, allocations: 8.031 kB / 0.5876 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005205/0.4201, allocations: 1.578 MB / 0.5891 GB, free: 6.875 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/0.4235, allocations: 1.286 MB / 0.5903 GB, free: 5.559 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.4237, allocations: 144 kB / 0.5905 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003818/0.424, allocations: 191.8 kB / 0.5907 GB, free: 5.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.4343, allocations: 6.246 MB / 0.5968 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.423e-05/0.4344, allocations: 11.88 kB / 0.5968 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/0.4346, allocations: 87.91 kB / 0.5969 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002283/0.4369, allocations: 1.34 MB / 0.5982 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00973/0.4466, allocations: 5.322 MB / 0.6034 GB, free: 7.934 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02623/0.4729, allocations: 18.3 MB / 0.6212 GB, free: 5.078 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004039/0.4769, allocations: 1.487 MB / 0.6227 GB, free: 3.578 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009749/0.4779, allocations: 0.6367 MB / 0.6233 GB, free: 2.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00631/0.4842, allocations: 3.009 MB / 0.6263 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.4842, allocations: 38.98 kB / 0.6263 GB, free: 15.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.076e-06/0.4842, allocations: 0 / 0.6263 GB, free: 15.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005592/0.4898, allocations: 1.975 MB / 0.6282 GB, free: 13.86 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.4899, allocations: 63.84 kB / 0.6283 GB, free: 13.79 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/0.4927, allocations: 1.935 MB / 0.6302 GB, free: 11.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.125e-05/0.4927, allocations: 41.62 kB / 0.6302 GB, free: 11.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001485/0.4942, allocations: 1.915 MB / 0.6321 GB, free: 9.859 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/0.4945, allocations: 337.5 kB / 0.6324 GB, free: 9.527 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008146/0.4953, allocations: 0.6195 MB / 0.633 GB, free: 8.898 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.4955, allocations: 341.9 kB / 0.6333 GB, free: 8.559 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.497, allocations: 0.8881 MB / 0.6342 GB, free: 7.668 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/0.5, allocations: 2.751 MB / 0.6369 GB, free: 3.984 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004795/0.5047, allocations: 3.973 MB / 0.6408 GB, free: 15.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.02e-05/0.5048, allocations: 20 kB / 0.6408 GB, free: 15.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005605/0.5104, allocations: 3.523 MB / 0.6442 GB, free: 11.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.872e-05/0.5105, allocations: 38.66 kB / 0.6443 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.76e-05/0.5105, allocations: 67.98 kB / 0.6443 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001039/0.5106, allocations: 91.94 kB / 0.6444 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/0.5125, allocations: 0.6517 MB / 0.645 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001152/0.5126, allocations: 131.5 kB / 0.6452 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.5145, allocations: 417 kB / 0.6456 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/0.5147, allocations: 188 kB / 0.6458 GB, free: 9.973 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.002219/0.517, allocations: 1.342 MB / 0.6471 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/0.5173, allocations: 154.9 kB / 0.6472 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000324/0.5176, allocations: 188 kB / 0.6474 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/0.5176, allocations: 15.98 kB / 0.6474 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.5176, allocations: 3.938 kB / 0.6474 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.5176, allocations: 3.984 kB / 0.6474 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006179/0.5238, allocations: 3.062 MB / 0.6504 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.5238, allocations: 8 kB / 0.6504 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/0.5242, allocations: 103.8 kB / 0.6505 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.722e-05/0.5242, allocations: 16.72 kB / 0.6505 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/0.5243, allocations: 19.98 kB / 0.6505 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.959e-06/0.5243, allocations: 12 kB / 0.6506 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.5243, allocations: 11.94 kB / 0.6506 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.526, allocations: 1.245 MB / 0.6518 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003749/0.5263, allocations: 154.8 kB / 0.6519 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.5265, allocations: 23.92 kB / 0.652 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004352/0.5269, allocations: 31.97 kB / 0.652 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.717e-05/0.527, allocations: 59.8 kB / 0.652 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.347e-05/0.5271, allocations: 28 kB / 0.6521 GB, free: 3.258 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001739/0.5288, allocations: 1.114 MB / 0.6532 GB, free: 2.148 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5288, allocations: 0 / 0.6532 GB, free: 2.148 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002474/0.5313, allocations: 0.7007 MB / 0.6538 GB, free: 1.445 MB / 494.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.0003029/0.5316, allocations: 146.9 kB / 0.654 GB, free: 1.289 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003086/0.5347, allocations: 1.96 MB / 0.6559 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.5347, allocations: 192 / 0.6559 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005896/0.5353, allocations: 439.9 kB / 0.6563 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.5363, allocations: 190.2 kB / 0.6565 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008064/0.5444, allocations: 5.095 MB / 0.6615 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002283/0.5467, allocations: 1.716 MB / 0.6631 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002032/0.5487, allocations: 0.9428 MB / 0.6641 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.549, allocations: 107.4 kB / 0.6642 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of SimCode: time 8.31e-07/0.549, allocations: 0 / 0.6642 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of Templates: time 0.03038/0.5794, allocations: 14.13 MB / 0.678 GB, free: 8.762 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.676958195865154]