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.001918/0.001918, allocations: 77.16 kB / 19.93 MB, free: 1.781 MB / 14.72 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.002531/0.002531, allocations: 162.4 kB / 23.21 MB, free: 4.906 MB / 14.72 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.615/1.615, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 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.2515/0.2515, allocations: 32.38 MB / 269.6 MB, free: 4.664 MB / 254.1 MB " [Timeout remaining time 179] 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 / 407.4 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.26e-05, allocations: 2.281 kB / 407.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02114/0.02118, allocations: 16.11 MB / 423.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01559/0.03677, allocations: 5.168 MB / 428.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00572/0.04249, allocations: 127.4 kB / 428.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008545/0.05103, allocations: 3.149 MB / 431.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01424/0.06527, allocations: 2.791 MB / 434.7 MB, free: 7.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004646/0.06992, allocations: 1.146 MB / 435.9 MB, free: 6.395 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01628/0.08621, allocations: 8.646 MB / 444.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01171/0.09792, allocations: 4.668 MB / 449.2 MB, free: 9.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0134/0.1113, allocations: 3.672 MB / 452.8 MB, free: 5.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009327/0.1206, allocations: 3.921 MB / 456.8 MB, free: 1.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002959/0.1236, allocations: 472 kB / 457.2 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005873/0.1295, allocations: 1.299 MB / 458.5 MB, free: 15.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006724/0.1362, allocations: 3.101 MB / 461.6 MB, free: 12.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008618/0.1448, allocations: 1.924 MB / 463.6 MB, free: 10.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02281/0.1676, allocations: 10.34 MB / 473.9 MB, free: 228 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.1676, allocations: 0 / 473.9 MB, free: 228 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1676, allocations: 0 / 473.9 MB, free: 228 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006095/0.1682, allocations: 0 / 473.9 MB, free: 228 kB / 398.1 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.3639/0.5321, allocations: 7.565 MB / 481.5 MB, free: 66.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.5322, allocations: 9.25 kB / 481.5 MB, free: 66.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01954/0.5517, allocations: 4.025 MB / 485.5 MB, free: 65.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.5655, allocations: 4.159 MB / 489.6 MB, free: 63.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009197/0.5664, allocations: 324.7 kB / 490 MB, free: 63.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003755/0.5702, allocations: 442.4 kB / 490.4 MB, free: 63.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04172/0.6119, allocations: 15.88 MB / 0.4944 GB, free: 49.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000508/0.6124, allocations: 67.48 kB / 0.4945 GB, free: 48.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003553/0.6159, allocations: 199.8 kB / 0.4947 GB, free: 48.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007539/0.6235, allocations: 3.456 MB / 0.498 GB, free: 45.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03393/0.6574, allocations: 14.86 MB / 0.5126 GB, free: 30.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1021/0.7595, allocations: 52.62 MB / 0.5639 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02201/0.7815, allocations: 7.171 MB / 0.5709 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008407/0.7899, allocations: 4.485 MB / 0.5753 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001894/0.7918, allocations: 0.6342 MB / 0.5759 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.792, allocations: 66.2 kB / 0.576 GB, free: 12.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=367): time 1.298e-05/0.792, allocations: 0 / 0.576 GB, free: 12.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=419): time 0.1421/0.934, allocations: 41.52 MB / 0.6166 GB, free: 2.809 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.9341, allocations: 120 kB / 0.6167 GB, free: 2.672 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008283/0.9424, allocations: 4.685 MB / 0.6213 GB, free: 13.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001288/0.9437, allocations: 93.69 kB / 0.6213 GB, free: 13.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003726/0.9474, allocations: 4.009 MB / 0.6253 GB, free: 9.812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003712/0.9512, allocations: 1.538 MB / 0.6268 GB, free: 8.262 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00286/0.954, allocations: 1.573 MB / 0.6283 GB, free: 6.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.9542, allocations: 301.1 kB / 0.6286 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00694/0.9611, allocations: 4.087 MB / 0.6326 GB, free: 2.289 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01053/0.9716, allocations: 7.941 MB / 0.6403 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02166/0.9933, allocations: 12.96 MB / 0.653 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002882/0.9936, allocations: 47.88 kB / 0.653 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.3972/1.391, allocations: 14.75 MB / 0.6674 GB, free: 169 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002051/1.391, allocations: 61.55 kB / 0.6675 GB, free: 169 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003502/1.391, allocations: 129.8 kB / 0.6676 GB, free: 169 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/1.402, allocations: 2.935 MB / 0.6705 GB, free: 168.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008587/1.411, allocations: 1.826 MB / 0.6723 GB, free: 168.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02377/1.435, allocations: 15.56 MB / 0.6875 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/1.445, allocations: 0.6361 MB / 0.6881 GB, free: 162.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001613/1.446, allocations: 436.4 kB / 0.6885 GB, free: 162.4 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * 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 (951): * Single equations (assignments): 943 * 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,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005941/1.452, allocations: 2.914 MB / 0.6913 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001459/1.454, allocations: 453.5 kB / 0.6918 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01778/1.472, allocations: 10.89 MB / 0.7024 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-05/1.472, allocations: 63.97 kB / 0.7025 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.194e-05/1.472, allocations: 15.98 kB / 0.7025 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-05/1.472, allocations: 15.94 kB / 0.7025 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03598/1.508, allocations: 19.74 MB / 0.7218 GB, free: 135.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-05/1.508, allocations: 12 kB / 0.7218 GB, free: 135.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003408/1.511, allocations: 0.6795 MB / 0.7225 GB, free: 134.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007339/1.519, allocations: 2.739 MB / 0.7251 GB, free: 131.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009985/1.52, allocations: 82.25 kB / 0.7252 GB, free: 131.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01741/1.537, allocations: 14.17 MB / 0.739 GB, free: 117.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/1.537, allocations: 15.94 kB / 0.7391 GB, free: 117.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02799/1.565, allocations: 15.51 MB / 0.7542 GB, free: 101.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004367/1.569, allocations: 1.196 MB / 0.7554 GB, free: 100.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002415/1.572, allocations: 72 kB / 0.7554 GB, free: 100.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005484/1.577, allocations: 460.7 kB / 0.7559 GB, free: 100.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001348/1.579, allocations: 273.8 kB / 0.7561 GB, free: 99.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000696/1.579, allocations: 120.3 kB / 0.7563 GB, free: 99.85 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005816/1.585, allocations: 2.822 MB / 0.759 GB, free: 97.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/1.585, allocations: 3.938 kB / 0.759 GB, free: 97.01 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0118/1.597, allocations: 1.92 MB / 0.7609 GB, free: 95.1 MB / 0.5137 GB 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 (334): * Single equations (assignments): 326 * 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,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001764/1.599, allocations: 256.5 kB / 0.7611 GB, free: 94.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01944/1.618, allocations: 9.69 MB / 0.7706 GB, free: 85.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-05/1.618, allocations: 4 kB / 0.7706 GB, free: 85.15 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00693/1.625, allocations: 4.061 MB / 0.7746 GB, free: 81.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008225/1.633, allocations: 0.6014 MB / 0.7752 GB, free: 80.47 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03152/1.665, allocations: 16.17 MB / 0.7909 GB, free: 64.15 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005217/1.67, allocations: 4.116 MB / 0.795 GB, free: 59.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006006/1.676, allocations: 2.717 MB / 0.7976 GB, free: 57.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00194/1.678, allocations: 352.4 kB / 0.798 GB, free: 56.92 MB / 0.5137 GB Notification: Performance of SimCode: time 2.194e-06/1.678, allocations: 0 / 0.798 GB, free: 56.92 MB / 0.5137 GB Notification: Performance of Templates: time 0.3787/2.057, allocations: 68.56 MB / 0.8649 GB, free: 179.7 MB / 0.5294 GB " [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: 9.64893552288413]