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.001529/0.001529, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.00173/0.00173, allocations: 173.4 kB / 24.06 MB, free: 452 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 1.01/1.01, 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.1439/0.1439, allocations: 32.38 MB / 270.7 MB, free: 14.52 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.953e-06/1.953e-06, allocations: 0 / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.721e-05, allocations: 2.312 kB / 348.1 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01327/0.0133, allocations: 17.44 MB / 365.6 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.02399, allocations: 5.226 MB / 370.8 MB, free: 2.391 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003122/0.02711, allocations: 135.4 kB / 370.9 MB, free: 2.258 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004646/0.03176, allocations: 3.246 MB / 374.2 MB, free: 15 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00649/0.03825, allocations: 2.811 MB / 377 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.04034, allocations: 1.15 MB / 378.1 MB, free: 11.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009646/0.04999, allocations: 8.654 MB / 386.8 MB, free: 2.355 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007548/0.05753, allocations: 4.842 MB / 391.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00653/0.06406, allocations: 4.077 MB / 395.7 MB, free: 9.367 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003648/0.06771, allocations: 3.882 MB / 399.6 MB, free: 5.477 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006663/0.06838, allocations: 468 kB / 400.1 MB, free: 5.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.07012, allocations: 1.295 MB / 401.4 MB, free: 3.723 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002026/0.07215, allocations: 3.109 MB / 404.5 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002081/0.07423, allocations: 1.924 MB / 406.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005076/0.0793, allocations: 6.83 MB / 413.2 MB, free: 7.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.07931, allocations: 0 / 413.2 MB, free: 7.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.07931, allocations: 0 / 413.2 MB, free: 7.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.807e-05/0.07939, allocations: 0 / 413.2 MB, free: 7.82 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.008115/0.0875, allocations: 7.545 MB / 420.8 MB, free: 192 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.08755, allocations: 8.031 kB / 420.8 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006149/0.0937, allocations: 2.814 MB / 423.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003592/0.09729, allocations: 3.193 MB / 426.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.09746, allocations: 332.5 kB / 427.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004877/0.09795, allocations: 436 kB / 427.5 MB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008184/0.1061, allocations: 7.629 MB / 435.2 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/0.1062, allocations: 63.47 kB / 435.2 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003539/0.1066, allocations: 203.8 kB / 435.4 MB, free: 476 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002316/0.1089, allocations: 2.846 MB / 438.3 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006545/0.1155, allocations: 3.933 MB / 442.2 MB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1974/0.3128, allocations: 54.35 MB / 496.5 MB, free: 55.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005395/0.3182, allocations: 2.587 MB / 499.1 MB, free: 55.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008954/0.3191, allocations: 0.7969 MB / 499.9 MB, free: 55.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008278/0.3274, allocations: 6.742 MB / 0.4948 GB, free: 50.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3274, allocations: 59.39 kB / 0.4949 GB, free: 50.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=256): time 4.047e-06/0.3274, allocations: 0 / 0.4949 GB, free: 50.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=272): time 0.02602/0.3534, allocations: 10.79 MB / 0.5054 GB, free: 40 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.3535, allocations: 103 kB / 0.5055 GB, free: 39.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003769/0.3572, allocations: 4.358 MB / 0.5097 GB, free: 35.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.3574, allocations: 61.7 kB / 0.5098 GB, free: 35.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001991/0.3594, allocations: 4.59 MB / 0.5143 GB, free: 31.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006641/0.36, allocations: 1.109 MB / 0.5154 GB, free: 30.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001546/0.3616, allocations: 1.639 MB / 0.517 GB, free: 28.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.959e-05/0.3616, allocations: 480.8 kB / 0.5174 GB, free: 28.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.363, allocations: 0.78 MB / 0.5182 GB, free: 27.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00326/0.3662, allocations: 7.162 MB / 0.5252 GB, free: 17.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005699/0.3719, allocations: 8.641 MB / 0.5336 GB, free: 6.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.978e-05/0.372, allocations: 40 kB / 0.5337 GB, free: 6.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.00811/0.3801, allocations: 6.093 MB / 0.5396 GB, free: 120 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.204e-05/0.3802, allocations: 68 kB / 0.5397 GB, free: 52 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/0.3803, allocations: 152.9 kB / 0.5398 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.3813, allocations: 423 kB / 0.5402 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003697/0.385, allocations: 1.661 MB / 0.5418 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003631/0.3886, allocations: 4.566 MB / 0.5463 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003707/0.3924, allocations: 284 kB / 0.5466 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004492/0.3928, allocations: 384 kB / 0.5469 GB, free: 8.371 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 681 * 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 (944): * Single equations (assignments): 936 * 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 {(2,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001667/0.3945, allocations: 0.7597 MB / 0.5477 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004891/0.395, allocations: 0.4971 MB / 0.5482 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.3974, allocations: 1.91 MB / 0.55 GB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.3974, allocations: 32 kB / 0.5501 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3974, allocations: 4 kB / 0.5501 GB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.3975, allocations: 11.95 kB / 0.5501 GB, free: 5.086 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009785/0.4072, allocations: 7.379 MB / 0.5573 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.4073, allocations: 8.219 kB / 0.5573 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.4084, allocations: 375.5 kB / 0.5576 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005215/0.4089, allocations: 207.1 kB / 0.5578 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.823e-05/0.409, allocations: 59.98 kB / 0.5579 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/0.4114, allocations: 4.21 MB / 0.562 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.944e-06/0.4114, allocations: 15.94 kB / 0.562 GB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003567/0.4149, allocations: 2.824 MB / 0.5648 GB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/0.4165, allocations: 0.6567 MB / 0.5654 GB, free: 4.605 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002963/0.4168, allocations: 59.97 kB / 0.5655 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009067/0.4177, allocations: 55.98 kB / 0.5655 GB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.4179, allocations: 181.4 kB / 0.5657 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.418, allocations: 64 kB / 0.5658 GB, free: 4.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001747/0.4198, allocations: 1.811 MB / 0.5675 GB, free: 2.438 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4198, allocations: 0 / 0.5675 GB, free: 2.438 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004619/0.4244, allocations: 1.535 MB / 0.569 GB, free: 0.9023 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 7 (revolute.phi,revolute.w,revolute1.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 (220): * Single equations (assignments): 212 * 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,2,100.0%), (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.0003693/0.4247, allocations: 226.6 kB / 0.5693 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004554/0.4293, allocations: 3.689 MB / 0.5729 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4293, allocations: 4 kB / 0.5729 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.4303, allocations: 1.139 MB / 0.574 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.4321, allocations: 0.5923 MB / 0.5746 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.4454, allocations: 11.42 MB / 0.5857 GB, free: 15.49 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001957/0.4473, allocations: 1.811 MB / 0.5875 GB, free: 13.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001703/0.449, allocations: 0.6445 MB / 0.5881 GB, free: 13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/0.4502, allocations: 0.7831 MB / 0.5889 GB, free: 12.21 MB / 442.7 MB Notification: Performance of SimCode: time 1.363e-06/0.4502, allocations: 0 / 0.5889 GB, free: 12.21 MB / 442.7 MB Notification: Performance of Templates: time 0.2241/0.6744, allocations: 44.98 MB / 0.6328 GB, free: 126.3 MB / 442.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.872147035785019]