Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001877/0.001877, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.00248/0.00248, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.492/1.492, allocations: 230.2 MB / 257.8 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2298/0.2298, allocations: 46.89 MB / 361.1 MB, free: 4.652 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 83.86 kB / 0.4968 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3605, allocations: 65.98 MB / 0.5612 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01312/0.3736, allocations: 9.597 MB / 0.5706 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006691/0.3803, allocations: 2.962 MB / 0.5735 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.3817, allocations: 47.94 kB / 0.5735 GB, free: 8.402 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004073/0.3858, allocations: 2.017 MB / 0.5755 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.3891, allocations: 1.129 MB / 0.5766 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000882/0.39, allocations: 291.4 kB / 0.5769 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003687/0.3937, allocations: 2.333 MB / 0.5791 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002325/0.396, allocations: 1.618 MB / 0.5807 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.3972, allocations: 0.88 MB / 0.5816 GB, free: 84 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.3991, allocations: 1.254 MB / 0.5828 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003966/0.3995, allocations: 196 kB / 0.583 GB, free: 14.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.4008, allocations: 0.7253 MB / 0.5837 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.402, allocations: 1.133 MB / 0.5848 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.4036, allocations: 1.308 MB / 0.5861 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005236/0.4088, allocations: 4.33 MB / 0.5903 GB, free: 7.105 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.4088, allocations: 4 kB / 0.5903 GB, free: 7.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4088, allocations: 0 / 0.5903 GB, free: 7.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.159e-05/0.4089, allocations: 0 / 0.5903 GB, free: 7.102 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.005113/0.414, allocations: 2.938 MB / 0.5932 GB, free: 4.102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.414, allocations: 12.03 kB / 0.5932 GB, free: 4.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005356/0.4194, allocations: 1.582 MB / 0.5947 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003338/0.4227, allocations: 1.34 MB / 0.596 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.4229, allocations: 144 kB / 0.5962 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004809/0.4234, allocations: 195.8 kB / 0.5964 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/0.4345, allocations: 6.242 MB / 0.6025 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.966e-05/0.4345, allocations: 11.88 kB / 0.6025 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002546/0.4348, allocations: 87.91 kB / 0.6026 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00234/0.4371, allocations: 1.34 MB / 0.6039 GB, free: 8.828 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.448, allocations: 5.342 MB / 0.6091 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03105/0.4791, allocations: 20.07 MB / 0.6287 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004377/0.4835, allocations: 1.947 MB / 0.6306 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.4845, allocations: 0.6389 MB / 0.6312 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00779/0.4923, allocations: 3.617 MB / 0.6347 GB, free: 8.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.4923, allocations: 39 kB / 0.6348 GB, free: 8.293 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.859e-06/0.4923, allocations: 0 / 0.6348 GB, free: 8.293 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005701/0.498, allocations: 1.986 MB / 0.6367 GB, free: 6.297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.4981, allocations: 63.72 kB / 0.6368 GB, free: 6.223 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004006/0.5021, allocations: 1.949 MB / 0.6387 GB, free: 4.27 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.357e-05/0.5022, allocations: 37.64 kB / 0.6387 GB, free: 4.227 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001876/0.504, allocations: 1.911 MB / 0.6406 GB, free: 2.293 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004337/0.5045, allocations: 321.6 kB / 0.6409 GB, free: 1.977 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/0.5056, allocations: 0.6234 MB / 0.6415 GB, free: 1.344 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.5058, allocations: 353.9 kB / 0.6418 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.5075, allocations: 0.892 MB / 0.6427 GB, free: 100 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003448/0.5109, allocations: 2.748 MB / 0.6454 GB, free: 12.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005422/0.5163, allocations: 3.97 MB / 0.6493 GB, free: 7.523 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.961e-05/0.5164, allocations: 20 kB / 0.6493 GB, free: 7.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006605/0.523, allocations: 3.52 MB / 0.6527 GB, free: 3.977 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.936e-05/0.5231, allocations: 40.05 kB / 0.6528 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001064/0.5232, allocations: 68 kB / 0.6528 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/0.5233, allocations: 91.94 kB / 0.6529 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/0.5254, allocations: 0.6589 MB / 0.6536 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001368/0.5255, allocations: 127.5 kB / 0.6537 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.5278, allocations: 428.7 kB / 0.6541 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003446/0.5282, allocations: 196 kB / 0.6543 GB, free: 2.387 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.002626/0.5308, allocations: 1.342 MB / 0.6556 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003679/0.5312, allocations: 162.9 kB / 0.6557 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.5316, allocations: 196.9 kB / 0.6559 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/0.5316, allocations: 11.94 kB / 0.6559 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5316, allocations: 0 / 0.6559 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.5316, allocations: 4 kB / 0.6559 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008147/0.5398, allocations: 4.029 MB / 0.6599 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/0.5398, allocations: 11.94 kB / 0.6599 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/0.5402, allocations: 99.81 kB / 0.66 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/0.5403, allocations: 8 kB / 0.66 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/0.5403, allocations: 24.62 kB / 0.66 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-05/0.5403, allocations: 15.94 kB / 0.66 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.5403, allocations: 12 kB / 0.66 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.5421, allocations: 1.267 MB / 0.6613 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000499/0.5426, allocations: 259.7 kB / 0.6615 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.5428, allocations: 20 kB / 0.6615 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005489/0.5434, allocations: 31.86 kB / 0.6616 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.5435, allocations: 59.81 kB / 0.6616 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.03e-05/0.5435, allocations: 28 kB / 0.6617 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002162/0.5457, allocations: 1.271 MB / 0.6629 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5457, allocations: 0 / 0.6629 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002688/0.5484, allocations: 0.6852 MB / 0.6636 GB, free: 8.574 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.0003709/0.5488, allocations: 151 kB / 0.6637 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003266/0.552, allocations: 1.958 MB / 0.6656 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/0.552, allocations: 8 kB / 0.6656 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006052/0.5526, allocations: 442.9 kB / 0.6661 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.554, allocations: 226 kB / 0.6663 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.5645, allocations: 5.133 MB / 0.6713 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003184/0.5677, allocations: 2.275 MB / 0.6735 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002299/0.57, allocations: 0.9598 MB / 0.6744 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/0.5704, allocations: 119.4 kB / 0.6746 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of SimCode: time 9.62e-07/0.5704, allocations: 0 / 0.6746 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.03466/0.605, allocations: 15.85 MB / 0.69 GB, free: 13.36 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.703721376135945]