Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 88.23 kB / 20.21 MB, free: 4.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002453/0.002453, allocations: 157.7 kB / 23.51 MB, free: 0.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2167/0.2167, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.879e-05, allocations: 2.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01673/0.01676, allocations: 16.11 MB / 363.1 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.0312, allocations: 5.152 MB / 368.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004305/0.03551, allocations: 127.4 kB / 368.3 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00783/0.04334, allocations: 3.2 MB / 371.5 MB, free: 1.109 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009341/0.05268, allocations: 2.799 MB / 374.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.05591, allocations: 1.166 MB / 375.5 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01332/0.06923, allocations: 8.645 MB / 384.1 MB, free: 4.469 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008576/0.07781, allocations: 4.838 MB / 389 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008313/0.08612, allocations: 3.664 MB / 392.6 MB, free: 11.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007446/0.09357, allocations: 3.928 MB / 396.6 MB, free: 7.961 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001746/0.09531, allocations: 480 kB / 397 MB, free: 7.492 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004181/0.09949, allocations: 1.299 MB / 398.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005384/0.1049, allocations: 3.109 MB / 401.5 MB, free: 3.074 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005269/0.1101, allocations: 1.924 MB / 403.4 MB, free: 1.145 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01747/0.1276, allocations: 10.36 MB / 413.7 MB, free: 6.746 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1276, allocations: 0 / 413.7 MB, free: 6.746 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1276, allocations: 0 / 413.7 MB, free: 6.746 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004172/0.128, allocations: 0 / 413.7 MB, free: 6.746 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.02435/0.1524, allocations: 7.59 MB / 421.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.1524, allocations: 12.03 kB / 421.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02106/0.1735, allocations: 4.802 MB / 426.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/0.1861, allocations: 4.182 MB / 430.3 MB, free: 6.016 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005032/0.1866, allocations: 324.6 kB / 430.6 MB, free: 5.695 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00278/0.1894, allocations: 440 kB / 431.1 MB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2136/0.4029, allocations: 15.93 MB / 447 MB, free: 81.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002273/0.4032, allocations: 58.56 kB / 447.1 MB, free: 81.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009213/0.4041, allocations: 197.9 kB / 447.3 MB, free: 81.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005742/0.4098, allocations: 3.464 MB / 450.7 MB, free: 80.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02864/0.4385, allocations: 14.92 MB / 465.6 MB, free: 65.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07681/0.5153, allocations: 52.86 MB / 0.5063 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01633/0.5316, allocations: 7.04 MB / 0.5132 GB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005689/0.5373, allocations: 4.497 MB / 0.5176 GB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/0.5387, allocations: 0.6693 MB / 0.5183 GB, free: 452 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/0.5388, allocations: 72.98 kB / 0.5183 GB, free: 372 kB / 362.7 MB Notification: Performance of pre-optimization done (n=368): time 8.526e-06/0.5388, allocations: 0 / 0.5183 GB, free: 372 kB / 362.7 MB Notification: Performance of matching and sorting (n=420): time 0.1623/0.7011, allocations: 50.43 MB / 0.5676 GB, free: 14.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.7012, allocations: 116 kB / 0.5677 GB, free: 14.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0089/0.7101, allocations: 4.678 MB / 0.5723 GB, free: 9.645 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001145/0.7113, allocations: 83.97 kB / 0.5723 GB, free: 9.559 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004162/0.7154, allocations: 4.009 MB / 0.5763 GB, free: 5.613 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00513/0.7205, allocations: 1.546 MB / 0.5778 GB, free: 4.055 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004506/0.725, allocations: 1.573 MB / 0.5793 GB, free: 2.473 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.7252, allocations: 305.1 kB / 0.5796 GB, free: 2.172 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008598/0.7338, allocations: 4.302 MB / 0.5838 GB, free: 13.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0138/0.7476, allocations: 8.126 MB / 0.5917 GB, free: 3.895 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1975/0.9451, allocations: 13.37 MB / 0.6048 GB, free: 141.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001478/0.9453, allocations: 37.12 kB / 0.6048 GB, free: 141.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.03059/0.9759, allocations: 16.26 MB / 0.6207 GB, free: 136.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.092e-05/0.976, allocations: 59.47 kB / 0.6208 GB, free: 136.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001646/0.9761, allocations: 133.1 kB / 0.6209 GB, free: 136.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/0.9869, allocations: 3.949 MB / 0.6247 GB, free: 134.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006519/0.9934, allocations: 1.83 MB / 0.6265 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0218/1.015, allocations: 17.89 MB / 0.644 GB, free: 115.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008154/1.023, allocations: 0.6735 MB / 0.6447 GB, free: 114.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001935/1.025, allocations: 435.9 kB / 0.6451 GB, free: 114.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 589 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[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 (947): * Single equations (assignments): 939 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,34,72.2%), (3,10,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005796/1.031, allocations: 2.91 MB / 0.6479 GB, free: 111.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001939/1.033, allocations: 0.5575 MB / 0.6485 GB, free: 111.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01944/1.052, allocations: 12.06 MB / 0.6602 GB, free: 99.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001206/1.053, allocations: 65.7 kB / 0.6603 GB, free: 99.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.302e-05/1.053, allocations: 8 kB / 0.6603 GB, free: 99.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001059/1.053, allocations: 19.94 kB / 0.6603 GB, free: 99.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03834/1.091, allocations: 21.19 MB / 0.681 GB, free: 77.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.781e-05/1.091, allocations: 14.81 kB / 0.681 GB, free: 77.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003482/1.095, allocations: 0.6981 MB / 0.6817 GB, free: 77.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01014/1.105, allocations: 3.743 MB / 0.6854 GB, free: 73.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009933/1.106, allocations: 79.98 kB / 0.6854 GB, free: 73.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01893/1.125, allocations: 16.52 MB / 0.7016 GB, free: 56.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.998e-06/1.125, allocations: 15.94 kB / 0.7016 GB, free: 56.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02612/1.151, allocations: 17.15 MB / 0.7183 GB, free: 39.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003926/1.155, allocations: 1.249 MB / 0.7196 GB, free: 38.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001583/1.156, allocations: 75.98 kB / 0.7196 GB, free: 38.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004306/1.161, allocations: 495.2 kB / 0.7201 GB, free: 37.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000938/1.162, allocations: 281.5 kB / 0.7204 GB, free: 37.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000322/1.162, allocations: 115.8 kB / 0.7205 GB, free: 37.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004113/1.166, allocations: 2.821 MB / 0.7232 GB, free: 34.44 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.166, allocations: 0 / 0.7232 GB, free: 34.44 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009151/1.175, allocations: 1.936 MB / 0.7251 GB, free: 32.51 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (333): * Single equations (assignments): 325 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,31,72.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001269/1.176, allocations: 265.3 kB / 0.7254 GB, free: 32.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01561/1.192, allocations: 10.15 MB / 0.7353 GB, free: 22.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-05/1.192, allocations: 0 / 0.7353 GB, free: 22.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008136/1.2, allocations: 4.311 MB / 0.7395 GB, free: 17.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007606/1.208, allocations: 0.6429 MB / 0.7401 GB, free: 17.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2039/1.412, allocations: 16.66 MB / 0.7564 GB, free: 135.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007501/1.419, allocations: 4.119 MB / 0.7604 GB, free: 134.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007445/1.427, allocations: 2.747 MB / 0.7631 GB, free: 134.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002362/1.429, allocations: 351 kB / 0.7634 GB, free: 134.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.793e-06/1.429, allocations: 0 / 0.7634 GB, free: 134.8 MB / 442.7 MB Notification: Performance of Templates: time 0.1069/1.536, allocations: 71.98 MB / 0.8337 GB, free: 80.41 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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: 8.629349514958449]