Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.0007987/0.0007987, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.001952, allocations: 457.8 kB / 10.45 MB, free: 240 kB / 10.45 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.001023/0.001023, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001294/0.002317, allocations: 475.6 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9268/0.9268, allocations: 177.5 MB / 190.1 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07917/1.006, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004e-05/1.107e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.007823/0.007834, allocations: 10.73 MB / 255.9 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00454/0.01237, allocations: 4.145 MB / 260.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004648/0.01284, allocations: 79.62 kB / 260.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002727/0.01557, allocations: 3.228 MB / 263.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.01759, allocations: 1.975 MB / 265.4 MB, free: 9.309 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008425/0.01843, allocations: 0.838 MB / 266.2 MB, free: 8.469 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002865/0.0213, allocations: 4.506 MB / 270.7 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.02344, allocations: 3.21 MB / 273.9 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1075/0.131, allocations: 2.886 MB / 276.8 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00354/0.1345, allocations: 2.123 MB / 278.9 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009883/0.1355, allocations: 350.8 kB / 279.3 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.1377, allocations: 1.217 MB / 280.5 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001722/0.1395, allocations: 1.918 MB / 282.4 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.1409, allocations: 1.076 MB / 283.5 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003748/0.1447, allocations: 4.492 MB / 288 MB, free: 3.004 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/0.1447, allocations: 0 / 288 MB, free: 3.004 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1447, allocations: 0 / 288 MB, free: 3.004 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001551/0.1448, allocations: 1 kB / 288 MB, free: 3.004 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.005047/0.1499, allocations: 5.681 MB / 293.7 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.1499, allocations: 10.84 kB / 293.7 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/0.1524, allocations: 1.11 MB / 294.8 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.1543, allocations: 2.023 MB / 296.8 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.893e-05/0.1544, allocations: 242 kB / 297 MB, free: 292 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003118/0.1547, allocations: 325.5 kB / 297.4 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005952/0.1606, allocations: 5.131 MB / 302.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-05/0.1607, allocations: 43.78 kB / 302.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003345/0.1611, allocations: 159.3 kB / 302.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001888/0.1629, allocations: 1.674 MB / 304.4 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005238/0.1682, allocations: 2.596 MB / 307 MB, free: 8.621 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04864/0.2168, allocations: 31.48 MB / 338.4 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01457/0.2314, allocations: 1.894 MB / 340.3 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006481/0.232, allocations: 425.2 kB / 340.8 MB, free: 6.848 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/0.2432, allocations: 3.53 MB / 344.3 MB, free: 3.348 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.2433, allocations: 54.09 kB / 344.3 MB, free: 3.289 MB / 314.7 MB Notification: Performance of pre-optimization done (n=145): time 3.546e-06/0.2433, allocations: 0 / 344.3 MB, free: 3.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=150): time 0.01359/0.2569, allocations: 5.715 MB / 350.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.2569, allocations: 141.5 kB / 350.2 MB, free: 13.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.259, allocations: 3.298 MB / 353.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.871e-05/0.2591, allocations: 48.91 kB / 353.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001259/0.2603, allocations: 3.15 MB / 356.7 MB, free: 7.738 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/0.2606, allocations: 0.6177 MB / 357.3 MB, free: 7.152 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008504/0.2615, allocations: 1.176 MB / 358.5 MB, free: 6.105 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.688e-05/0.2615, allocations: 309.1 kB / 358.8 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.2625, allocations: 0.7509 MB / 359.5 MB, free: 5.043 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002559/0.2651, allocations: 4.546 MB / 364.1 MB, free: 14.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004146/0.2692, allocations: 6.292 MB / 370.4 MB, free: 6.957 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-05/0.2693, allocations: 40 kB / 370.4 MB, free: 6.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.004534/0.2738, allocations: 4.276 MB / 374.7 MB, free: 2.633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.349e-05/0.2739, allocations: 76.92 kB / 374.8 MB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/0.274, allocations: 144 kB / 374.9 MB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000712/0.2747, allocations: 360.5 kB / 375.3 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/0.277, allocations: 1.556 MB / 376.8 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.2789, allocations: 2.182 MB / 379 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.2807, allocations: 279.7 kB / 379.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002804/0.281, allocations: 338.7 kB / 379.6 MB, free: 13.65 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (772): * Single equations (assignments): 768 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001085/0.2821, allocations: 0.6313 MB / 380.2 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.2824, allocations: 207.8 kB / 380.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.2837, allocations: 0.8804 MB / 381.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.2837, allocations: 23.92 kB / 381.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2837, allocations: 4 kB / 381.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.2837, allocations: 3.984 kB / 381.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004223/0.2879, allocations: 4.003 MB / 385.3 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.2879, allocations: 16 kB / 385.4 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/0.2885, allocations: 244.5 kB / 385.6 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.2887, allocations: 305.6 kB / 385.9 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006943/0.2894, allocations: 383 kB / 386.3 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/0.2895, allocations: 35.94 kB / 386.3 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.2909, allocations: 1.918 MB / 388.2 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.2909, allocations: 11.94 kB / 388.2 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.2926, allocations: 1.822 MB / 390.1 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.2928, allocations: 32 kB / 390.1 MB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005211/0.2933, allocations: 28 kB / 390.1 MB, free: 3.043 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.2934, allocations: 104.3 kB / 390.2 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.479e-05/0.2935, allocations: 40 kB / 390.3 MB, free: 2.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008536/0.2943, allocations: 1.194 MB / 391.5 MB, free: 1.719 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2943, allocations: 4 kB / 391.5 MB, free: 1.715 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002282/0.2966, allocations: 1.015 MB / 392.5 MB, free: 0.6992 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * 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 (120): * Single equations (assignments): 116 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002545/0.2969, allocations: 167.4 kB / 392.6 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002165/0.299, allocations: 2.631 MB / 395.3 MB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001539/0.2992, allocations: 115.2 kB / 395.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.3003, allocations: 1.063 MB / 396.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/0.3021, allocations: 2.589 MB / 399 MB, free: 9.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009015/0.3111, allocations: 7.697 MB / 406.7 MB, free: 1.902 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009419/0.3121, allocations: 1.263 MB / 408 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009473/0.313, allocations: 495 kB / 408.5 MB, free: 132 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006242/0.3136, allocations: 0.5012 MB / 409 MB, free: 15.62 MB / 394.7 MB Notification: Performance of SimCode: time 7.52e-07/0.3136, allocations: 0 / 409 MB, free: 15.62 MB / 394.7 MB Notification: Performance of Templates: time 0.1313/0.445, allocations: 28.28 MB / 437.3 MB, free: 122.6 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3144660964608192]