Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.001085/0.001085, allocations: 88.19 kB / 20.65 MB, free: 3.848 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.001152/0.001152, allocations: 169 kB / 24.06 MB, free: 460 kB / 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 0.9129/0.9129, allocations: 158.6 MB / 185.9 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] 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.1401/0.1401, allocations: 32.38 MB / 270.7 MB, free: 14.54 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.815e-05, allocations: 2.312 kB / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.00795/0.007978, allocations: 11.89 MB / 360 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006922/0.0149, allocations: 3.859 MB / 363.9 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.01661, allocations: 67.75 kB / 364 MB, free: 9.289 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.0189, allocations: 1.401 MB / 365.4 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.02236, allocations: 1.913 MB / 367.3 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009836/0.02334, allocations: 0.526 MB / 367.8 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004544/0.02788, allocations: 4.009 MB / 371.8 MB, free: 1.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003903/0.03179, allocations: 2.196 MB / 374 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/0.03595, allocations: 1.945 MB / 375.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00326/0.03921, allocations: 1.952 MB / 377.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009156/0.04013, allocations: 240 kB / 378.1 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.04237, allocations: 0.9126 MB / 379 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.04394, allocations: 1.745 MB / 380.8 MB, free: 8.375 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001604/0.04554, allocations: 1.043 MB / 381.8 MB, free: 7.328 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005645/0.05119, allocations: 4.19 MB / 386 MB, free: 3.121 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.0512, allocations: 0 / 386 MB, free: 3.121 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.0512, allocations: 0 / 386 MB, free: 3.121 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002026/0.0514, allocations: 0 / 386 MB, free: 3.121 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.006674/0.05807, allocations: 4.58 MB / 390.6 MB, free: 14.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.05813, allocations: 12.03 kB / 390.6 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004799/0.06293, allocations: 1.851 MB / 392.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003146/0.06607, allocations: 1.593 MB / 394.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.06619, allocations: 197.2 kB / 394.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004726/0.06666, allocations: 260.1 kB / 394.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009916/0.07658, allocations: 4.889 MB / 399.4 MB, free: 5.023 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.445e-05/0.07664, allocations: 35.69 kB / 399.4 MB, free: 4.988 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002227/0.07686, allocations: 123.8 kB / 399.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00199/0.07885, allocations: 2.234 MB / 401.8 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00418/0.08303, allocations: 2.585 MB / 404.4 MB, free: 0 / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02446/0.1075, allocations: 34.32 MB / 438.7 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.1101, allocations: 1.327 MB / 440 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/0.1105, allocations: 412.6 kB / 440.4 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005243/0.1158, allocations: 3.938 MB / 444.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.1158, allocations: 46.39 kB / 444.4 MB, free: 6.789 MB / 378.7 MB Notification: Performance of pre-optimization done (n=166): time 3.827e-06/0.1158, allocations: 0 / 444.4 MB, free: 6.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=167): time 0.007111/0.1229, allocations: 4.031 MB / 448.4 MB, free: 2.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.123, allocations: 68.34 kB / 448.5 MB, free: 2.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.157/0.2799, allocations: 2.718 MB / 451.2 MB, free: 98.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003127/0.2802, allocations: 44.39 kB / 451.3 MB, free: 98.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001814/0.2821, allocations: 3.154 MB / 454.4 MB, free: 97.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000554/0.2826, allocations: 0.6908 MB / 455.1 MB, free: 96.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/0.2838, allocations: 1.142 MB / 456.2 MB, free: 96.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.284, allocations: 0.5407 MB / 456.8 MB, free: 96.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.2851, allocations: 0.4919 MB / 457.3 MB, free: 96.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002774/0.2879, allocations: 5.106 MB / 462.4 MB, free: 90.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004599/0.2925, allocations: 6.138 MB / 468.5 MB, free: 84.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.169e-05/0.2925, allocations: 31 kB / 468.6 MB, free: 84.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=687) (initialization): time 0.005294/0.2978, allocations: 4.073 MB / 472.6 MB, free: 83.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.584e-05/0.2979, allocations: 54.84 kB / 472.7 MB, free: 83.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/0.298, allocations: 111.5 kB / 472.8 MB, free: 83.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/0.2983, allocations: 180.1 kB / 473 MB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/0.3005, allocations: 1.12 MB / 474.1 MB, free: 82.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009293/0.3015, allocations: 1.976 MB / 476.1 MB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.3036, allocations: 200.7 kB / 476.3 MB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002738/0.3039, allocations: 273 kB / 476.5 MB, free: 81.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 497 * Number of states: 0 () * Number of discrete variables: 27 (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 (637): * Single equations (assignments): 630 * Array equations: 6 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001042/0.305, allocations: 0.5723 MB / 477.1 MB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.3052, allocations: 290.3 kB / 477.4 MB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.3066, allocations: 0.9954 MB / 478.4 MB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/0.3066, allocations: 22.81 kB / 478.4 MB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3066, allocations: 0 / 478.4 MB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.3066, allocations: 9.156 kB / 478.4 MB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005386/0.312, allocations: 4.402 MB / 482.8 MB, free: 77.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.312, allocations: 4 kB / 482.8 MB, free: 77.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005608/0.3126, allocations: 182.1 kB / 483 MB, free: 77.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000142/0.3127, allocations: 55.39 kB / 483 MB, free: 77.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.539e-05/0.3128, allocations: 24 kB / 483.1 MB, free: 77.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006083/0.3134, allocations: 1.776 MB / 484.8 MB, free: 75.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.3134, allocations: 14.81 kB / 484.9 MB, free: 75.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.315, allocations: 1.575 MB / 486.4 MB, free: 73.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004374/0.3154, allocations: 368 kB / 486.8 MB, free: 73.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.3156, allocations: 24 kB / 486.8 MB, free: 73.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000543/0.3161, allocations: 28 kB / 486.8 MB, free: 73.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.3163, allocations: 89.8 kB / 486.9 MB, free: 73.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.522e-05/0.3164, allocations: 47.98 kB / 487 MB, free: 73.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008634/0.3172, allocations: 1.077 MB / 488.1 MB, free: 72.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3172, allocations: 11.09 kB / 488.1 MB, free: 72.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002642/0.3199, allocations: 0.8886 MB / 489 MB, free: 71.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 (revolute.phi,revolute.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): 113 * Array equations: 6 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002845/0.3202, allocations: 184.3 kB / 489.1 MB, free: 71.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002426/0.3226, allocations: 2.352 MB / 491.5 MB, free: 69.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3226, allocations: 448 / 491.5 MB, free: 69.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005362/0.3231, allocations: 0.6078 MB / 492.1 MB, free: 68.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.3241, allocations: 273.4 kB / 492.4 MB, free: 68.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007455/0.3316, allocations: 7.18 MB / 499.5 MB, free: 61.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000963/0.3325, allocations: 1.19 MB / 0.489 GB, free: 60.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001071/0.3336, allocations: 403.6 kB / 0.4894 GB, free: 59.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006677/0.3343, allocations: 470.1 kB / 0.4898 GB, free: 59.51 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.3343, allocations: 0 / 0.4898 GB, free: 59.51 MB / 378.7 MB Notification: Performance of Templates: time 0.0402/0.3745, allocations: 21.54 MB / 0.5109 GB, free: 38.11 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.912104383111]