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.001798/0.001798, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00217/0.00217, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.519/1.519, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.4204/0.4204, allocations: 44.94 MB / 359.6 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 179] 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.002313/0.002313, allocations: 71.89 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3268, allocations: 65.47 MB / 0.5582 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01155/0.3384, allocations: 8.404 MB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006574/0.345, allocations: 2.784 MB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.3462, allocations: 55.81 kB / 0.5692 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004289/0.3505, allocations: 1.939 MB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003665/0.3541, allocations: 1.137 MB / 0.5722 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007308/0.3549, allocations: 291.4 kB / 0.5724 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003153/0.358, allocations: 2.325 MB / 0.5747 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.3602, allocations: 1.726 MB / 0.5764 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.3616, allocations: 0.8956 MB / 0.5773 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.3633, allocations: 1.172 MB / 0.5784 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003971/0.3637, allocations: 192 kB / 0.5786 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.365, allocations: 0.6123 MB / 0.5792 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.3661, allocations: 1.133 MB / 0.5803 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.3674, allocations: 0.9472 MB / 0.5812 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005771/0.3732, allocations: 4.348 MB / 0.5855 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3732, allocations: 0 / 0.5855 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3732, allocations: 3.938 kB / 0.5855 GB, free: 11.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001225/0.3733, allocations: 4 kB / 0.5855 GB, free: 11.36 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.005374/0.3787, allocations: 2.855 MB / 0.5883 GB, free: 8.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3787, allocations: 8.031 kB / 0.5883 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005326/0.384, allocations: 1.578 MB / 0.5898 GB, free: 6.875 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003205/0.3872, allocations: 1.286 MB / 0.5911 GB, free: 5.559 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.3874, allocations: 144 kB / 0.5912 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004091/0.3878, allocations: 195.8 kB / 0.5914 GB, free: 5.227 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.3979, allocations: 6.246 MB / 0.5975 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.512e-05/0.3979, allocations: 15.88 kB / 0.5975 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/0.3982, allocations: 83.91 kB / 0.5976 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002173/0.4003, allocations: 1.34 MB / 0.5989 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/0.4105, allocations: 5.332 MB / 0.6041 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02754/0.4381, allocations: 18.29 MB / 0.622 GB, free: 5.074 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/0.4421, allocations: 1.492 MB / 0.6234 GB, free: 3.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009536/0.4431, allocations: 0.6367 MB / 0.6241 GB, free: 2.922 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006381/0.4495, allocations: 3.005 MB / 0.627 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.4495, allocations: 39 kB / 0.627 GB, free: 15.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.507e-06/0.4495, allocations: 0 / 0.627 GB, free: 15.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.00533/0.4548, allocations: 1.982 MB / 0.629 GB, free: 13.85 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.4549, allocations: 55.84 kB / 0.629 GB, free: 13.78 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002659/0.4576, allocations: 1.935 MB / 0.6309 GB, free: 11.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.105e-05/0.4576, allocations: 41.55 kB / 0.6309 GB, free: 11.79 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001404/0.459, allocations: 1.923 MB / 0.6328 GB, free: 9.848 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003385/0.4594, allocations: 325.5 kB / 0.6331 GB, free: 9.527 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007669/0.4601, allocations: 0.6195 MB / 0.6337 GB, free: 8.898 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4603, allocations: 349.9 kB / 0.6341 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.4616, allocations: 0.888 MB / 0.6349 GB, free: 7.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002794/0.4644, allocations: 2.747 MB / 0.6376 GB, free: 3.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004654/0.469, allocations: 3.972 MB / 0.6415 GB, free: 15.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-05/0.4691, allocations: 20 kB / 0.6415 GB, free: 15.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005902/0.475, allocations: 3.523 MB / 0.645 GB, free: 11.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.946e-05/0.475, allocations: 36 kB / 0.645 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-05/0.4751, allocations: 64 kB / 0.6451 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001045/0.4752, allocations: 92.72 kB / 0.6451 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/0.4771, allocations: 0.6511 MB / 0.6458 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001251/0.4772, allocations: 139.4 kB / 0.6459 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.479, allocations: 413 kB / 0.6463 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/0.4793, allocations: 184 kB / 0.6465 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.002111/0.4814, allocations: 1.346 MB / 0.6478 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002637/0.4817, allocations: 158.9 kB / 0.6479 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.482, allocations: 192 kB / 0.6481 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.4821, allocations: 15.98 kB / 0.6481 GB, free: 8.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.4821, allocations: 3.938 kB / 0.6482 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.4821, allocations: 3.984 kB / 0.6482 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005662/0.4877, allocations: 3.065 MB / 0.6511 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.4877, allocations: 4 kB / 0.6512 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.4881, allocations: 100.7 kB / 0.6512 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/0.4881, allocations: 15.94 kB / 0.6513 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.4882, allocations: 23.98 kB / 0.6513 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.4882, allocations: 8 kB / 0.6513 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.4882, allocations: 11.94 kB / 0.6513 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.4898, allocations: 1.245 MB / 0.6525 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/0.4901, allocations: 154.8 kB / 0.6527 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.4903, allocations: 23.92 kB / 0.6527 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.4907, allocations: 35.97 kB / 0.6527 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.4908, allocations: 47.81 kB / 0.6528 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.107e-05/0.4909, allocations: 32 kB / 0.6528 GB, free: 3.254 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001703/0.4926, allocations: 1.118 MB / 0.6539 GB, free: 2.141 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4926, allocations: 4 kB / 0.6539 GB, free: 2.137 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002616/0.4952, allocations: 0.6967 MB / 0.6546 GB, free: 1.438 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.0003054/0.4955, allocations: 146.9 kB / 0.6547 GB, free: 1.281 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003114/0.4986, allocations: 1.956 MB / 0.6566 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.4986, allocations: 8.062 kB / 0.6566 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006051/0.4992, allocations: 433.5 kB / 0.6571 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.5002, allocations: 194.8 kB / 0.6572 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009415/0.5097, allocations: 5.413 MB / 0.6625 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002429/0.5121, allocations: 1.719 MB / 0.6642 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004488/0.5125, allocations: 131.4 kB / 0.6643 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of SimCode: time 9.72e-07/0.5125, allocations: 0 / 0.6643 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of Templates: time 0.05241/0.5649, allocations: 30.06 MB / 0.6937 GB, free: 9.285 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/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: 10.845689059235156]