Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002145/0.002145, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002738/0.002738, allocations: 209.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2423/0.2423, allocations: 46.95 MB / 360.8 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002414/0.002414, allocations: 75.88 kB / 0.4966 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3358, allocations: 66.08 MB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01168/0.3474, allocations: 8.404 MB / 0.5694 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007466/0.3549, allocations: 2.782 MB / 0.5721 GB, free: 8.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.3563, allocations: 55.81 kB / 0.5721 GB, free: 8.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003837/0.3601, allocations: 1.943 MB / 0.574 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002935/0.363, allocations: 1.136 MB / 0.5752 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000745/0.3638, allocations: 291.5 kB / 0.5754 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003199/0.367, allocations: 2.329 MB / 0.5777 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002121/0.3691, allocations: 1.719 MB / 0.5794 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.3703, allocations: 0.8956 MB / 0.5803 GB, free: 312 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.372, allocations: 1.172 MB / 0.5814 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003587/0.3724, allocations: 192 kB / 0.5816 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.3738, allocations: 0.6083 MB / 0.5822 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.3749, allocations: 1.137 MB / 0.5833 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009991/0.3759, allocations: 0.9471 MB / 0.5842 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00483/0.3807, allocations: 4.345 MB / 0.5885 GB, free: 7.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3807, allocations: 4 kB / 0.5885 GB, free: 7.875 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3807, allocations: 0 / 0.5885 GB, free: 7.875 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001104/0.3808, allocations: 0 / 0.5885 GB, free: 7.875 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.005567/0.3864, allocations: 2.866 MB / 0.5913 GB, free: 4.965 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3864, allocations: 11.97 kB / 0.5913 GB, free: 4.953 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005223/0.3917, allocations: 1.582 MB / 0.5928 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/0.3946, allocations: 1.283 MB / 0.5941 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.3947, allocations: 148 kB / 0.5942 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003944/0.3951, allocations: 191.8 kB / 0.5944 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.4053, allocations: 6.242 MB / 0.6005 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.472e-05/0.4054, allocations: 15.88 kB / 0.6005 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002495/0.4056, allocations: 87.89 kB / 0.6006 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002111/0.4077, allocations: 1.344 MB / 0.6019 GB, free: 9.758 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.421, allocations: 5.322 MB / 0.6071 GB, free: 4.422 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0481/0.4691, allocations: 18.29 MB / 0.625 GB, free: 1.574 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007914/0.477, allocations: 1.485 MB / 0.6264 GB, free: 76 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001958/0.479, allocations: 0.6367 MB / 0.627 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01212/0.4911, allocations: 3.013 MB / 0.63 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.4912, allocations: 39 kB / 0.63 GB, free: 12.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.989e-06/0.4912, allocations: 0 / 0.63 GB, free: 12.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.01082/0.502, allocations: 1.986 MB / 0.632 GB, free: 10.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.5021, allocations: 55.84 kB / 0.632 GB, free: 10.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005058/0.5071, allocations: 1.939 MB / 0.6339 GB, free: 8.324 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.132e-05/0.5072, allocations: 33.7 kB / 0.6339 GB, free: 8.285 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002555/0.5098, allocations: 1.923 MB / 0.6358 GB, free: 6.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006049/0.5104, allocations: 329.5 kB / 0.6361 GB, free: 6.016 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/0.5117, allocations: 0.6156 MB / 0.6367 GB, free: 5.391 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002456/0.512, allocations: 345.9 kB / 0.6371 GB, free: 5.047 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002589/0.5146, allocations: 0.892 MB / 0.6379 GB, free: 4.152 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005142/0.5197, allocations: 2.744 MB / 0.6406 GB, free: 488 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008818/0.5285, allocations: 3.97 MB / 0.6445 GB, free: 11.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.688e-05/0.5286, allocations: 24 kB / 0.6445 GB, free: 11.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01064/0.5392, allocations: 3.526 MB / 0.6479 GB, free: 8.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.5394, allocations: 34.19 kB / 0.648 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001624/0.5395, allocations: 67.94 kB / 0.648 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.5397, allocations: 92.03 kB / 0.6481 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003663/0.5434, allocations: 0.655 MB / 0.6488 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002122/0.5436, allocations: 131.5 kB / 0.6489 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003494/0.5471, allocations: 416.9 kB / 0.6493 GB, free: 6.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004863/0.5476, allocations: 192 kB / 0.6495 GB, free: 6.457 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.003647/0.5512, allocations: 1.342 MB / 0.6508 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004886/0.5517, allocations: 154.9 kB / 0.6509 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006172/0.5523, allocations: 188 kB / 0.6511 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.149e-05/0.5524, allocations: 8 kB / 0.6511 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.5524, allocations: 3.938 kB / 0.6511 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.5524, allocations: 7.984 kB / 0.6511 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006048/0.5584, allocations: 3.066 MB / 0.6541 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.5584, allocations: 4 kB / 0.6541 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004347/0.5589, allocations: 107.9 kB / 0.6542 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/0.5589, allocations: 11.94 kB / 0.6542 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/0.5589, allocations: 20 kB / 0.6543 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.646e-05/0.559, allocations: 15.94 kB / 0.6543 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.559, allocations: 8 kB / 0.6543 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.5606, allocations: 1.249 MB / 0.6555 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/0.561, allocations: 158.8 kB / 0.6557 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.5611, allocations: 23.94 kB / 0.6557 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.5616, allocations: 23.97 kB / 0.6557 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.291e-05/0.5617, allocations: 51.81 kB / 0.6558 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-05/0.5617, allocations: 39.92 kB / 0.6558 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001627/0.5634, allocations: 1.114 MB / 0.6569 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5634, allocations: 0 / 0.6569 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00253/0.5659, allocations: 0.7006 MB / 0.6576 GB, free: 13.93 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.000324/0.5662, allocations: 146.8 kB / 0.6577 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003128/0.5693, allocations: 1.96 MB / 0.6596 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5693, allocations: 0 / 0.6596 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005822/0.5699, allocations: 441.5 kB / 0.66 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.571, allocations: 198.1 kB / 0.6602 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008363/0.5793, allocations: 5.087 MB / 0.6652 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002409/0.5817, allocations: 1.708 MB / 0.6669 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002144/0.5839, allocations: 0.9351 MB / 0.6678 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.5842, allocations: 119.4 kB / 0.6679 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of SimCode: time 8.71e-07/0.5842, allocations: 0 / 0.6679 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of Templates: time 0.03044/0.6146, allocations: 14.13 MB / 0.6817 GB, free: 5.246 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.66998565942049]