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.001895/0.001895, 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.002101/0.002101, allocations: 210 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.579/1.579, allocations: 230.6 MB / 258.2 MB, free: 7.738 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.2284/0.2284, allocations: 46.97 MB / 361.6 MB, free: 4.094 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 0.002028/0.002028, allocations: 67.89 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3657, allocations: 66.04 MB / 0.5618 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01263/0.3783, allocations: 8.396 MB / 0.57 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007254/0.3856, allocations: 2.787 MB / 0.5727 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.3874, allocations: 55.81 kB / 0.5728 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004461/0.3919, allocations: 1.939 MB / 0.5747 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003531/0.3954, allocations: 1.14 MB / 0.5758 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.3964, allocations: 287.4 kB / 0.5761 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003615/0.4, allocations: 2.333 MB / 0.5783 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002214/0.4022, allocations: 1.73 MB / 0.58 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.4035, allocations: 0.8879 MB / 0.5809 GB, free: 468 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.4051, allocations: 1.172 MB / 0.582 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003346/0.4055, allocations: 192 kB / 0.5822 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.4067, allocations: 0.6201 MB / 0.5828 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001197/0.4079, allocations: 1.133 MB / 0.5839 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.4091, allocations: 0.9432 MB / 0.5849 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005203/0.4143, allocations: 4.341 MB / 0.5891 GB, free: 8.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.4143, allocations: 7.922 kB / 0.5891 GB, free: 8.023 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4143, allocations: 0 / 0.5891 GB, free: 8.023 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.446e-05/0.4144, allocations: 0 / 0.5891 GB, free: 8.023 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.005355/0.4197, allocations: 2.866 MB / 0.5919 GB, free: 5.113 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4198, allocations: 8.031 kB / 0.5919 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005193/0.425, allocations: 1.578 MB / 0.5935 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003294/0.4282, allocations: 1.283 MB / 0.5947 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.4284, allocations: 148 kB / 0.5949 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/0.4288, allocations: 187.8 kB / 0.595 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.4394, allocations: 6.25 MB / 0.6011 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.992e-05/0.4394, allocations: 15.88 kB / 0.6012 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/0.4397, allocations: 87.91 kB / 0.6012 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002248/0.4419, allocations: 1.34 MB / 0.6025 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01073/0.4526, allocations: 5.326 MB / 0.6077 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0315/0.4841, allocations: 18.29 MB / 0.6256 GB, free: 1.723 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004467/0.4886, allocations: 1.484 MB / 0.6271 GB, free: 232 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.4898, allocations: 0.6356 MB / 0.6277 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007646/0.4974, allocations: 3.017 MB / 0.6306 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.4975, allocations: 38.94 kB / 0.6307 GB, free: 12.49 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 5.17e-06/0.4975, allocations: 4 kB / 0.6307 GB, free: 12.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.00587/0.5033, allocations: 1.975 MB / 0.6326 GB, free: 10.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.5034, allocations: 55.84 kB / 0.6326 GB, free: 10.44 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003273/0.5067, allocations: 1.943 MB / 0.6345 GB, free: 8.484 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.552e-05/0.5068, allocations: 33.7 kB / 0.6346 GB, free: 8.445 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001688/0.5084, allocations: 1.919 MB / 0.6365 GB, free: 6.504 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000415/0.5089, allocations: 329.5 kB / 0.6368 GB, free: 6.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009829/0.5098, allocations: 0.6195 MB / 0.6374 GB, free: 5.551 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.5101, allocations: 349.9 kB / 0.6377 GB, free: 5.203 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.5116, allocations: 0.8842 MB / 0.6386 GB, free: 4.316 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003356/0.5149, allocations: 2.755 MB / 0.6413 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005829/0.5208, allocations: 3.97 MB / 0.6451 GB, free: 11.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/0.5209, allocations: 16 kB / 0.6451 GB, free: 11.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.007176/0.528, allocations: 3.532 MB / 0.6486 GB, free: 8.176 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.299e-05/0.5281, allocations: 32 kB / 0.6486 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/0.5283, allocations: 68 kB / 0.6487 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001177/0.5284, allocations: 84 kB / 0.6488 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/0.5305, allocations: 0.655 MB / 0.6494 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001331/0.5307, allocations: 131.4 kB / 0.6495 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.5331, allocations: 417 kB / 0.6499 GB, free: 6.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003727/0.5334, allocations: 192 kB / 0.6501 GB, free: 6.617 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.002517/0.536, allocations: 1.342 MB / 0.6514 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/0.5363, allocations: 158.9 kB / 0.6516 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004018/0.5367, allocations: 184 kB / 0.6518 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/0.5367, allocations: 15.98 kB / 0.6518 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.412e-05/0.5368, allocations: 3.938 kB / 0.6518 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.5368, allocations: 0 / 0.6518 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00704/0.5438, allocations: 3.066 MB / 0.6548 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-05/0.5438, allocations: 8 kB / 0.6548 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004236/0.5443, allocations: 107.8 kB / 0.6549 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.581e-05/0.5443, allocations: 11.94 kB / 0.6549 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-05/0.5443, allocations: 23.94 kB / 0.6549 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/0.5443, allocations: 8 kB / 0.6549 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/0.5444, allocations: 11.94 kB / 0.6549 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.5462, allocations: 1.249 MB / 0.6562 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004608/0.5466, allocations: 154.8 kB / 0.6563 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/0.5469, allocations: 23.92 kB / 0.6563 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/0.5475, allocations: 24.03 kB / 0.6563 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.5476, allocations: 59.75 kB / 0.6564 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.264e-05/0.5477, allocations: 31.98 kB / 0.6564 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002183/0.5499, allocations: 1.11 MB / 0.6575 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5499, allocations: 0 / 0.6575 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002926/0.5528, allocations: 0.7045 MB / 0.6582 GB, free: 14.09 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.0003786/0.5532, allocations: 154.9 kB / 0.6584 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003656/0.5568, allocations: 1.952 MB / 0.6603 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.5568, allocations: 0 / 0.6603 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006074/0.5574, allocations: 437.1 kB / 0.6607 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.5586, allocations: 192.2 kB / 0.6609 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.5696, allocations: 5.413 MB / 0.6661 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003233/0.5728, allocations: 1.708 MB / 0.6678 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005001/0.5733, allocations: 135.4 kB / 0.6679 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of SimCode: time 1.383e-06/0.5733, allocations: 0 / 0.6679 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of Templates: time 0.05503/0.6283, allocations: 30.07 MB / 0.6973 GB, free: 5.938 MB / 0.5294 GB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/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: 10.120777283329517]