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.001802/0.001802, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.00162/0.00162, allocations: 216.4 kB / 25.13 MB, free: 3.582 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.507/1.507, allocations: 230.2 MB / 258.5 MB, free: 8.242 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.3157/0.3157, allocations: 46.93 MB / 361.8 MB, free: 4.398 MB / 286.1 MB " [Timeout remaining time 179] 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.002335/0.002335, allocations: 91.83 kB / 0.4975 GB, free: 7.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3411, allocations: 66.04 MB / 0.562 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.0123/0.3534, allocations: 9.536 MB / 0.5713 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0068/0.3602, allocations: 2.948 MB / 0.5742 GB, free: 7.984 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.3614, allocations: 55.81 kB / 0.5742 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00409/0.3655, allocations: 2.037 MB / 0.5762 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002907/0.3684, allocations: 1.133 MB / 0.5773 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007418/0.3691, allocations: 287.4 kB / 0.5776 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00334/0.3725, allocations: 2.337 MB / 0.5799 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002199/0.3747, allocations: 1.622 MB / 0.5815 GB, free: 476 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.3759, allocations: 0.8918 MB / 0.5823 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001682/0.3776, allocations: 1.25 MB / 0.5836 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003115/0.3779, allocations: 192 kB / 0.5837 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.379, allocations: 0.6201 MB / 0.5843 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.3802, allocations: 1.133 MB / 0.5855 GB, free: 12.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.3815, allocations: 1.312 MB / 0.5867 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005022/0.3865, allocations: 4.303 MB / 0.5909 GB, free: 6.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3865, allocations: 0 / 0.5909 GB, free: 6.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3865, allocations: 8 kB / 0.5909 GB, free: 6.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.497e-05/0.3866, allocations: 0 / 0.5909 GB, free: 6.723 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.005717/0.3923, allocations: 2.858 MB / 0.5937 GB, free: 3.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3924, allocations: 12.03 kB / 0.5937 GB, free: 3.809 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005215/0.3976, allocations: 1.586 MB / 0.5953 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/0.4004, allocations: 1.271 MB / 0.5965 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.4006, allocations: 148 kB / 0.5967 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004025/0.401, allocations: 187.8 kB / 0.5969 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.4121, allocations: 6.246 MB / 0.603 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.507e-05/0.4121, allocations: 11.88 kB / 0.603 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002498/0.4124, allocations: 87.91 kB / 0.6031 GB, free: 9.969 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00217/0.4145, allocations: 1.344 MB / 0.6044 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/0.425, allocations: 5.336 MB / 0.6096 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02808/0.4531, allocations: 19.91 MB / 0.629 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004148/0.4572, allocations: 1.492 MB / 0.6305 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.4583, allocations: 0.6406 MB / 0.6311 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006595/0.4649, allocations: 3.148 MB / 0.6342 GB, free: 9.457 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.4649, allocations: 43 kB / 0.6342 GB, free: 9.406 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.025e-06/0.4649, allocations: 0 / 0.6342 GB, free: 9.406 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005532/0.4704, allocations: 1.986 MB / 0.6362 GB, free: 7.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.4705, allocations: 67.77 kB / 0.6362 GB, free: 7.332 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/0.4732, allocations: 1.942 MB / 0.6381 GB, free: 5.387 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-05/0.4733, allocations: 37.7 kB / 0.6382 GB, free: 5.344 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.4748, allocations: 1.907 MB / 0.64 GB, free: 3.414 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003159/0.4751, allocations: 325.5 kB / 0.6403 GB, free: 3.094 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007752/0.4759, allocations: 0.6234 MB / 0.6409 GB, free: 2.461 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.476, allocations: 357.9 kB / 0.6413 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.4774, allocations: 0.8842 MB / 0.6421 GB, free: 1.219 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/0.4804, allocations: 2.747 MB / 0.6448 GB, free: 13.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00462/0.4851, allocations: 3.97 MB / 0.6487 GB, free: 8.645 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-05/0.4851, allocations: 20 kB / 0.6487 GB, free: 8.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005609/0.4907, allocations: 3.535 MB / 0.6522 GB, free: 5.086 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.324e-05/0.4908, allocations: 36 kB / 0.6522 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.28e-05/0.4908, allocations: 67.94 kB / 0.6523 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.435e-05/0.4909, allocations: 88 kB / 0.6524 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/0.4928, allocations: 0.655 MB / 0.653 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000121/0.4929, allocations: 135.4 kB / 0.6531 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.4946, allocations: 425.2 kB / 0.6535 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/0.4949, allocations: 188 kB / 0.6537 GB, free: 3.508 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.002015/0.4969, allocations: 1.34 MB / 0.655 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.4971, allocations: 166.9 kB / 0.6552 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.4975, allocations: 196.9 kB / 0.6554 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.4975, allocations: 11.94 kB / 0.6554 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.4975, allocations: 4 kB / 0.6554 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.4975, allocations: 7.984 kB / 0.6554 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00653/0.504, allocations: 3.988 MB / 0.6593 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.5041, allocations: 8.844 kB / 0.6593 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.5045, allocations: 103.8 kB / 0.6594 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.5045, allocations: 16 kB / 0.6594 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.5045, allocations: 24 kB / 0.6594 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.448e-05/0.5045, allocations: 15.92 kB / 0.6594 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.612e-05/0.5046, allocations: 8 kB / 0.6594 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.5062, allocations: 1.27 MB / 0.6607 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.5066, allocations: 178.6 kB / 0.6609 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.5067, allocations: 15.98 kB / 0.6609 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004811/0.5072, allocations: 31.94 kB / 0.6609 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.5073, allocations: 67.72 kB / 0.661 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.244e-05/0.5074, allocations: 35.92 kB / 0.661 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001845/0.5092, allocations: 1.267 MB / 0.6622 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5092, allocations: 0 / 0.6622 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002382/0.5116, allocations: 0.6814 MB / 0.6629 GB, free: 9.832 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.0002951/0.5119, allocations: 146.8 kB / 0.663 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00301/0.5149, allocations: 1.96 MB / 0.665 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5149, allocations: 0 / 0.665 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005952/0.5155, allocations: 441 kB / 0.6654 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.5167, allocations: 233.3 kB / 0.6656 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008206/0.5249, allocations: 5.122 MB / 0.6706 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002523/0.5274, allocations: 2.279 MB / 0.6728 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002241/0.5296, allocations: 0.9597 MB / 0.6738 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.5299, allocations: 119.4 kB / 0.6739 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.5299, allocations: 0 / 0.6739 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of Templates: time 0.03429/0.5642, allocations: 17.13 MB / 0.6906 GB, free: 13.33 MB / 0.5294 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/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.884529795002891]