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.001972/0.001972, allocations: 120.9 kB / 19.13 MB, free: 3.902 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.002954/0.002954, allocations: 210.6 kB / 22.08 MB, free: 0.9531 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.514/1.514, allocations: 227.4 MB / 252.3 MB, free: 72 kB / 190.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.2247/0.2247, allocations: 46.17 MB / 351.8 MB, free: 14.3 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.00225/0.002251, allocations: 88.42 kB / 490.9 MB, free: 27.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1302, allocations: 62.44 MB / 0.5403 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01225/0.1425, allocations: 9.521 MB / 0.5496 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006433/0.1489, allocations: 2.93 MB / 0.5525 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000996/0.15, allocations: 51.88 kB / 0.5525 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003968/0.1539, allocations: 1.986 MB / 0.5545 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002673/0.1567, allocations: 1.117 MB / 0.5556 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007495/0.1575, allocations: 287.4 kB / 0.5558 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003337/0.1608, allocations: 2.332 MB / 0.5581 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002891/0.1637, allocations: 2.305 MB / 0.5604 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.1649, allocations: 0.8801 MB / 0.5612 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.1665, allocations: 1.153 MB / 0.5624 GB, free: 13.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004063/0.1669, allocations: 192 kB / 0.5625 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.1684, allocations: 0.6982 MB / 0.5632 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.1695, allocations: 1.11 MB / 0.5643 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.1709, allocations: 1.301 MB / 0.5656 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005443/0.1764, allocations: 4.334 MB / 0.5698 GB, free: 5.922 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1764, allocations: 0 / 0.5698 GB, free: 5.922 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1764, allocations: 4 kB / 0.5698 GB, free: 5.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.961e-05/0.1765, allocations: 0 / 0.5698 GB, free: 5.918 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.005609/0.1821, allocations: 2.934 MB / 0.5727 GB, free: 2.922 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.1822, allocations: 8.031 kB / 0.5727 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006004/0.1882, allocations: 1.578 MB / 0.5742 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/0.1915, allocations: 1.34 MB / 0.5755 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.1917, allocations: 144 kB / 0.5757 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003664/0.192, allocations: 187.8 kB / 0.5759 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.2028, allocations: 6.254 MB / 0.582 GB, free: 9.098 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.259e-05/0.2029, allocations: 11.88 kB / 0.582 GB, free: 9.086 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004574/0.2034, allocations: 87.91 kB / 0.5821 GB, free: 9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002183/0.2056, allocations: 1.344 MB / 0.5834 GB, free: 7.652 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01165/0.2172, allocations: 5.334 MB / 0.5886 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3152/0.5324, allocations: 20.05 MB / 0.6082 GB, free: 48.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00435/0.5368, allocations: 2.011 MB / 0.6101 GB, free: 47.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.5381, allocations: 0.6928 MB / 0.6108 GB, free: 47.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006853/0.5449, allocations: 3.624 MB / 0.6143 GB, free: 46.47 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.545, allocations: 41.58 kB / 0.6144 GB, free: 46.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.336e-06/0.545, allocations: 0 / 0.6144 GB, free: 46.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005567/0.5506, allocations: 1.991 MB / 0.6163 GB, free: 45.99 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.5506, allocations: 60.56 kB / 0.6164 GB, free: 45.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.5535, allocations: 1.937 MB / 0.6183 GB, free: 45.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.444e-05/0.5536, allocations: 33.02 kB / 0.6183 GB, free: 45.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.5547, allocations: 1.916 MB / 0.6202 GB, free: 43.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002796/0.555, allocations: 327.2 kB / 0.6205 GB, free: 43.46 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007852/0.5558, allocations: 0.6199 MB / 0.6211 GB, free: 43.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5559, allocations: 363.5 kB / 0.6214 GB, free: 42.83 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.5573, allocations: 0.8839 MB / 0.6223 GB, free: 42.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/0.5595, allocations: 2.75 MB / 0.625 GB, free: 39.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0037/0.5632, allocations: 3.967 MB / 0.6289 GB, free: 36.44 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.253e-05/0.5633, allocations: 18.78 kB / 0.6289 GB, free: 36.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005307/0.5686, allocations: 3.536 MB / 0.6323 GB, free: 35.08 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.392e-05/0.5687, allocations: 32.53 kB / 0.6324 GB, free: 35.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.885e-05/0.5688, allocations: 66.78 kB / 0.6324 GB, free: 35.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/0.5689, allocations: 87.53 kB / 0.6325 GB, free: 35.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.5705, allocations: 0.6628 MB / 0.6332 GB, free: 35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.514e-05/0.5706, allocations: 129.9 kB / 0.6333 GB, free: 34.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.5724, allocations: 422.9 kB / 0.6337 GB, free: 34.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/0.5726, allocations: 191.4 kB / 0.6339 GB, free: 34.68 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.001909/0.5745, allocations: 1.346 MB / 0.6352 GB, free: 34.05 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.5747, allocations: 173.8 kB / 0.6354 GB, free: 33.95 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.575, allocations: 191.4 kB / 0.6355 GB, free: 33.84 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.575, allocations: 11.91 kB / 0.6355 GB, free: 33.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.5751, allocations: 0 / 0.6355 GB, free: 33.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.5751, allocations: 7.781 kB / 0.6356 GB, free: 33.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00506/0.5801, allocations: 4.032 MB / 0.6395 GB, free: 32.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.5802, allocations: 3.688 kB / 0.6395 GB, free: 32.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.5805, allocations: 109.7 kB / 0.6396 GB, free: 32.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.465e-06/0.5805, allocations: 7.5 kB / 0.6396 GB, free: 32.15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.5806, allocations: 15.12 kB / 0.6396 GB, free: 32.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.268e-06/0.5806, allocations: 18.11 kB / 0.6396 GB, free: 32.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.5806, allocations: 11.12 kB / 0.6397 GB, free: 32.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.5817, allocations: 1.265 MB / 0.6409 GB, free: 31.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/0.5819, allocations: 262 kB / 0.6411 GB, free: 31.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.5821, allocations: 22.19 kB / 0.6412 GB, free: 31.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.5825, allocations: 29.94 kB / 0.6412 GB, free: 31.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.5826, allocations: 54.48 kB / 0.6412 GB, free: 31.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.5827, allocations: 34.12 kB / 0.6413 GB, free: 31.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001298/0.584, allocations: 1.275 MB / 0.6425 GB, free: 30.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.584, allocations: 0 / 0.6425 GB, free: 30.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00224/0.5862, allocations: 0.6875 MB / 0.6432 GB, free: 30.49 MB / 462.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.0002638/0.5865, allocations: 144.2 kB / 0.6433 GB, free: 30.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002271/0.5888, allocations: 2.042 MB / 0.6453 GB, free: 28.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5888, allocations: 4.062 kB / 0.6453 GB, free: 28.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003904/0.5892, allocations: 466.2 kB / 0.6458 GB, free: 28.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.5903, allocations: 242 kB / 0.646 GB, free: 28.22 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007406/0.5977, allocations: 5.437 MB / 0.6513 GB, free: 22.67 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002235/0.6, allocations: 2.277 MB / 0.6535 GB, free: 20.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004402/0.6004, allocations: 143.4 kB / 0.6537 GB, free: 20.22 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6004, allocations: 0 / 0.6537 GB, free: 20.22 MB / 462.1 MB Notification: Performance of Templates: time 0.04338/0.6438, allocations: 30.18 MB / 0.6831 GB, free: 6.117 MB / 478.1 MB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.619810023112223]