Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001912/0.001912, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002325/0.002325, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3375/0.3375, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.527e-05, allocations: 2.312 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02205/0.02208, allocations: 15.71 MB / 391 MB, free: 5.176 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.03485, allocations: 5.12 MB / 396.1 MB, free: 40 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003044/0.03789, allocations: 131.4 kB / 396.2 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007035/0.04493, allocations: 3.169 MB / 399.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007689/0.05262, allocations: 2.702 MB / 402.1 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.05543, allocations: 1.158 MB / 403.3 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0129/0.06833, allocations: 9.028 MB / 412.3 MB, free: 15.81 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008022/0.07635, allocations: 4.744 MB / 417 MB, free: 11.02 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007598/0.08395, allocations: 3.59 MB / 420.6 MB, free: 7.422 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007532/0.09148, allocations: 3.874 MB / 424.5 MB, free: 3.539 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001745/0.09323, allocations: 476 kB / 425 MB, free: 3.074 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003529/0.09676, allocations: 1.287 MB / 426.3 MB, free: 1.785 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004719/0.1015, allocations: 3.023 MB / 429.3 MB, free: 14.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00401/0.1055, allocations: 1.881 MB / 431.2 MB, free: 12.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01336/0.1188, allocations: 10.16 MB / 441.3 MB, free: 2.676 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1189, allocations: 0 / 441.3 MB, free: 2.676 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1189, allocations: 0 / 441.3 MB, free: 2.676 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000246/0.1191, allocations: 0 / 441.3 MB, free: 2.676 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.1587/0.2778, allocations: 7.493 MB / 448.8 MB, free: 100 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.2779, allocations: 11.75 kB / 448.8 MB, free: 100 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/0.2927, allocations: 4.77 MB / 453.6 MB, free: 99.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007475/0.3002, allocations: 3.937 MB / 457.5 MB, free: 97.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.3004, allocations: 320.4 kB / 457.8 MB, free: 97.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.3016, allocations: 430.7 kB / 458.3 MB, free: 97.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02235/0.324, allocations: 15.73 MB / 474 MB, free: 91.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002105/0.3242, allocations: 54.55 kB / 474 MB, free: 91.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006954/0.3249, allocations: 198.4 kB / 474.2 MB, free: 91.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005901/0.3308, allocations: 3.386 MB / 477.6 MB, free: 90.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02749/0.3583, allocations: 14.82 MB / 492.4 MB, free: 80.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07425/0.4325, allocations: 52.05 MB / 0.5317 GB, free: 27.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01655/0.4491, allocations: 7.027 MB / 0.5386 GB, free: 20.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006186/0.4552, allocations: 4.499 MB / 0.543 GB, free: 16.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/0.4568, allocations: 0.6809 MB / 0.5437 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.704e-05/0.4568, allocations: 69.08 kB / 0.5437 GB, free: 15.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=368): time 8.586e-06/0.4568, allocations: 0 / 0.5437 GB, free: 15.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=420): time 0.1493/0.6061, allocations: 50.29 MB / 0.5928 GB, free: 13.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.6063, allocations: 116 kB / 0.5929 GB, free: 12.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007166/0.6134, allocations: 4.455 MB / 0.5973 GB, free: 8.449 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009536/0.6144, allocations: 85.7 kB / 0.5974 GB, free: 8.359 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003506/0.6179, allocations: 3.919 MB / 0.6012 GB, free: 4.402 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002795/0.6207, allocations: 1.542 MB / 0.6027 GB, free: 2.848 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003004/0.6237, allocations: 1.565 MB / 0.6042 GB, free: 1.273 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.6238, allocations: 305.1 kB / 0.6045 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1843/0.8082, allocations: 4.298 MB / 0.6087 GB, free: 133.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007637/0.8158, allocations: 8.057 MB / 0.6166 GB, free: 127.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01444/0.8303, allocations: 13.29 MB / 0.6296 GB, free: 118.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001519/0.8304, allocations: 37.78 kB / 0.6296 GB, free: 118.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=1037) (initialization): time 0.03253/0.863, allocations: 16.17 MB / 0.6454 GB, free: 113.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.8631, allocations: 64.08 kB / 0.6455 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002276/0.8633, allocations: 128.4 kB / 0.6456 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01215/0.8755, allocations: 3.951 MB / 0.6494 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006828/0.8823, allocations: 1.805 MB / 0.6512 GB, free: 112.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02207/0.9044, allocations: 17.9 MB / 0.6687 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008176/0.9125, allocations: 0.6494 MB / 0.6693 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001875/0.9144, allocations: 426 kB / 0.6697 GB, free: 100.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (938): * Single equations (assignments): 930 * 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.006081/0.9205, allocations: 2.871 MB / 0.6725 GB, free: 98.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001677/0.9222, allocations: 0.5576 MB / 0.6731 GB, free: 97.97 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01924/0.9414, allocations: 12.05 MB / 0.6848 GB, free: 87.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.604e-05/0.9415, allocations: 62.73 kB / 0.6849 GB, free: 87.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.507e-05/0.9415, allocations: 8 kB / 0.6849 GB, free: 87.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.23e-05/0.9416, allocations: 23.86 kB / 0.6849 GB, free: 87.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03548/0.9771, allocations: 21.1 MB / 0.7055 GB, free: 65.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.266e-05/0.9771, allocations: 12 kB / 0.7055 GB, free: 65.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003722/0.9809, allocations: 0.6903 MB / 0.7062 GB, free: 65.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01054/0.9914, allocations: 3.745 MB / 0.7099 GB, free: 61.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001118/0.9925, allocations: 80 kB / 0.7099 GB, free: 61.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01876/1.011, allocations: 16.5 MB / 0.7261 GB, free: 44.85 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/1.011, allocations: 17.31 kB / 0.7261 GB, free: 44.83 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02683/1.038, allocations: 17.13 MB / 0.7428 GB, free: 27.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/1.04, allocations: 499.3 kB / 0.7433 GB, free: 27.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001229/1.041, allocations: 79.59 kB / 0.7434 GB, free: 27.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003398/1.044, allocations: 475.2 kB / 0.7438 GB, free: 26.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000829/1.045, allocations: 277.7 kB / 0.7441 GB, free: 26.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003145/1.045, allocations: 116 kB / 0.7442 GB, free: 26.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003043/1.048, allocations: 2.659 MB / 0.7468 GB, free: 23.53 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/1.048, allocations: 0 / 0.7468 GB, free: 23.53 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006543/1.055, allocations: 1.899 MB / 0.7486 GB, free: 21.64 MB / 458.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.0006874/1.056, allocations: 244.6 kB / 0.7489 GB, free: 21.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0132/1.069, allocations: 10.13 MB / 0.7588 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.44e-05/1.069, allocations: 4.938 kB / 0.7588 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0064/1.075, allocations: 4.321 MB / 0.763 GB, free: 6.922 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004747/1.08, allocations: 0.6439 MB / 0.7636 GB, free: 6.301 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.185/1.265, allocations: 16.41 MB / 0.7796 GB, free: 133.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005569/1.271, allocations: 4.045 MB / 0.7836 GB, free: 133.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006149/1.277, allocations: 2.73 MB / 0.7863 GB, free: 133.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/1.279, allocations: 345.4 kB / 0.7866 GB, free: 133.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.913e-06/1.279, allocations: 0 / 0.7866 GB, free: 133.2 MB / 474.7 MB Notification: Performance of Templates: time 0.1055/1.384, allocations: 71.01 MB / 0.8559 GB, free: 93.09 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.425413471995853]