Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.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.001401/0.001401, allocations: 116.8 kB / 19.17 MB, free: 3.871 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.001519/0.001519, allocations: 206.6 kB / 22.12 MB, free: 0.9219 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.561/1.561, allocations: 230.3 MB / 255.2 MB, free: 15.21 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.2357/0.2357, allocations: 46.91 MB / 358.2 MB, free: 10.42 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.CutTorque2,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.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-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2") [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.002498/0.002498, allocations: 79.88 kB / 0.4925 GB, free: 7.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1259, allocations: 66 MB / 0.557 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01217/0.138, allocations: 9.571 MB / 0.5663 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00651/0.1445, allocations: 2.94 MB / 0.5692 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.146, allocations: 55.81 kB / 0.5692 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004133/0.1501, allocations: 2.017 MB / 0.5712 GB, free: 6.879 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.1532, allocations: 1.129 MB / 0.5723 GB, free: 5.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008548/0.1541, allocations: 283.4 kB / 0.5726 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00356/0.1576, allocations: 2.337 MB / 0.5748 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002557/0.1602, allocations: 1.918 MB / 0.5767 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.1614, allocations: 0.8917 MB / 0.5776 GB, free: 280 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.1631, allocations: 1.25 MB / 0.5788 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.1634, allocations: 192 kB / 0.579 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.1646, allocations: 0.7331 MB / 0.5797 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.1657, allocations: 1.133 MB / 0.5808 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.167, allocations: 1.305 MB / 0.5821 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004967/0.172, allocations: 4.334 MB / 0.5863 GB, free: 7.297 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.172, allocations: 4 kB / 0.5863 GB, free: 7.293 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.172, allocations: 0 / 0.5863 GB, free: 7.293 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.958e-05/0.1721, allocations: 0 / 0.5863 GB, free: 7.293 MB / 446.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.005257/0.1773, allocations: 2.942 MB / 0.5892 GB, free: 4.289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1774, allocations: 8.031 kB / 0.5892 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005145/0.1825, allocations: 1.582 MB / 0.5908 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.1853, allocations: 1.344 MB / 0.5921 GB, free: 1.309 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.1854, allocations: 140 kB / 0.5922 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003629/0.1858, allocations: 191.8 kB / 0.5924 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2913/0.477, allocations: 6.249 MB / 0.5985 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/0.4771, allocations: 12.91 kB / 0.5985 GB, free: 32.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/0.4774, allocations: 86.64 kB / 0.5986 GB, free: 32.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00234/0.4797, allocations: 1.342 MB / 0.5999 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/0.4911, allocations: 5.328 MB / 0.6051 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02716/0.5183, allocations: 20.07 MB / 0.6247 GB, free: 17.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003921/0.5222, allocations: 1.948 MB / 0.6266 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008296/0.523, allocations: 0.6415 MB / 0.6272 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005857/0.5289, allocations: 3.622 MB / 0.6308 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.5289, allocations: 40.34 kB / 0.6308 GB, free: 13.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.805e-06/0.5289, allocations: 3.938 kB / 0.6308 GB, free: 13.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004878/0.5338, allocations: 1.99 MB / 0.6327 GB, free: 11.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.5338, allocations: 55.84 kB / 0.6328 GB, free: 11.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/0.5369, allocations: 1.94 MB / 0.6347 GB, free: 9.324 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.537, allocations: 37.7 kB / 0.6347 GB, free: 9.281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.5382, allocations: 1.908 MB / 0.6366 GB, free: 7.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/0.5386, allocations: 328.3 kB / 0.6369 GB, free: 7.184 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007938/0.5394, allocations: 0.6216 MB / 0.6375 GB, free: 6.555 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.5395, allocations: 353.9 kB / 0.6379 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.5405, allocations: 0.888 MB / 0.6387 GB, free: 5.312 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.5422, allocations: 2.756 MB / 0.6414 GB, free: 1.625 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004519/0.5468, allocations: 3.967 MB / 0.6453 GB, free: 12.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.287e-05/0.5468, allocations: 23.94 kB / 0.6453 GB, free: 12.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006789/0.5536, allocations: 3.528 MB / 0.6488 GB, free: 9.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.733e-05/0.5537, allocations: 32 kB / 0.6488 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/0.5538, allocations: 68 kB / 0.6488 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00011/0.5539, allocations: 87.94 kB / 0.6489 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.556, allocations: 0.6589 MB / 0.6496 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001332/0.5561, allocations: 127.5 kB / 0.6497 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.5582, allocations: 433.1 kB / 0.6501 GB, free: 7.785 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003772/0.5586, allocations: 188.8 kB / 0.6503 GB, free: 7.602 MB / 462.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.002475/0.5611, allocations: 1.34 MB / 0.6516 GB, free: 6.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/0.5614, allocations: 162.9 kB / 0.6518 GB, free: 6.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005113/0.5619, allocations: 200.9 kB / 0.6519 GB, free: 5.887 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/0.562, allocations: 11.94 kB / 0.652 GB, free: 5.875 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.562, allocations: 4 kB / 0.652 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.562, allocations: 3.984 kB / 0.652 GB, free: 5.867 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008246/0.5702, allocations: 4.032 MB / 0.6559 GB, free: 1.695 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.5702, allocations: 4.844 kB / 0.6559 GB, free: 1.691 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004615/0.5707, allocations: 107.8 kB / 0.656 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/0.5707, allocations: 15.94 kB / 0.656 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/0.5708, allocations: 20 kB / 0.656 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/0.5708, allocations: 11.98 kB / 0.6561 GB, free: 1.539 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/0.5708, allocations: 12.69 kB / 0.6561 GB, free: 1.527 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.5726, allocations: 1.267 MB / 0.6573 GB, free: 156 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000541/0.5731, allocations: 259.9 kB / 0.6576 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/0.5734, allocations: 12 kB / 0.6576 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/0.5741, allocations: 39.91 kB / 0.6576 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.5742, allocations: 55.64 kB / 0.6577 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.5742, allocations: 28.94 kB / 0.6577 GB, free: 15.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002328/0.5766, allocations: 1.271 MB / 0.6589 GB, free: 14.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5766, allocations: 8 kB / 0.6589 GB, free: 14.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002914/0.5795, allocations: 0.6852 MB / 0.6596 GB, free: 13.79 MB / 478.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.0004043/0.5799, allocations: 139 kB / 0.6597 GB, free: 13.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003575/0.5834, allocations: 1.961 MB / 0.6616 GB, free: 11.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.5835, allocations: 0 / 0.6616 GB, free: 11.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006555/0.5841, allocations: 437.7 kB / 0.6621 GB, free: 11.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.5857, allocations: 232.8 kB / 0.6623 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.5968, allocations: 5.44 MB / 0.6676 GB, free: 5.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003312/0.6001, allocations: 2.283 MB / 0.6698 GB, free: 3.164 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005054/0.6006, allocations: 139.4 kB / 0.67 GB, free: 3.027 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6006, allocations: 4 kB / 0.67 GB, free: 3.023 MB / 478.1 MB Notification: Performance of Templates: time 0.05342/0.654, allocations: 30.3 MB / 0.6996 GB, free: 4.793 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.457723925006576]