Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001325/0.001325, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001561/0.001561, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 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.22/0.22, allocations: 44.93 MB / 358.8 MB, free: 6.105 MB / 286.1 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 71.89 kB / 0.4935 GB, free: 10.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3867, allocations: 65.48 MB / 0.5575 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01361/0.4004, allocations: 10.72 MB / 0.5679 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009558/0.4099, allocations: 3.754 MB / 0.5716 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.4115, allocations: 67.75 kB / 0.5717 GB, free: 8.895 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002968/0.4145, allocations: 1.3 MB / 0.5729 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004327/0.4188, allocations: 1.775 MB / 0.5747 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.4201, allocations: 495 kB / 0.5751 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00449/0.4246, allocations: 3.606 MB / 0.5787 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002443/0.427, allocations: 1.832 MB / 0.5804 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.4291, allocations: 1.211 MB / 0.5816 GB, free: 14.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.4315, allocations: 1.814 MB / 0.5834 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005113/0.432, allocations: 236 kB / 0.5836 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.4339, allocations: 0.8463 MB / 0.5845 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001831/0.4358, allocations: 1.604 MB / 0.586 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001702/0.4375, allocations: 1.342 MB / 0.5873 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007551/0.445, allocations: 6.226 MB / 0.5934 GB, free: 2.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.445, allocations: 0 / 0.5934 GB, free: 2.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.506e-06/0.445, allocations: 4 kB / 0.5934 GB, free: 2.516 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001228/0.4452, allocations: 0 / 0.5934 GB, free: 2.516 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.007406/0.4526, allocations: 4.163 MB / 0.5975 GB, free: 14.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.4526, allocations: 15.97 kB / 0.5975 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.463, allocations: 3.094 MB / 0.6005 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004462/0.4675, allocations: 1.835 MB / 0.6023 GB, free: 9.316 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.4677, allocations: 185 kB / 0.6025 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005717/0.4683, allocations: 248 kB / 0.6027 GB, free: 8.891 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0165/0.4848, allocations: 10.48 MB / 0.613 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.705e-05/0.4849, allocations: 23.77 kB / 0.613 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003567/0.4852, allocations: 119.8 kB / 0.6131 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00467/0.4899, allocations: 2.553 MB / 0.6156 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02142/0.5113, allocations: 9.895 MB / 0.6253 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05372/0.565, allocations: 31.65 MB / 0.6562 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009601/0.5746, allocations: 4.044 MB / 0.6601 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003259/0.5779, allocations: 2.109 MB / 0.6622 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/0.5792, allocations: 0.5556 MB / 0.6627 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/0.5792, allocations: 52.56 kB / 0.6628 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 7.474e-06/0.5792, allocations: 3.984 kB / 0.6628 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03409/0.6133, allocations: 13.93 MB / 0.6764 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/0.6134, allocations: 73.41 kB / 0.6764 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005639/0.619, allocations: 2.624 MB / 0.679 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002112/0.6193, allocations: 53.7 kB / 0.679 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002596/0.6218, allocations: 2.753 MB / 0.6817 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001163/0.623, allocations: 0.8873 MB / 0.6826 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002009/0.625, allocations: 1.056 MB / 0.6836 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002197/0.6252, allocations: 357.9 kB / 0.684 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003665/0.6289, allocations: 2.204 MB / 0.6861 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0064/0.6353, allocations: 5.075 MB / 0.6911 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/0.6463, allocations: 7.969 MB / 0.6989 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/0.6464, allocations: 32 kB / 0.6989 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01513/0.6615, allocations: 7.873 MB / 0.7066 GB, free: 10.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.82e-05/0.6616, allocations: 48 kB / 0.7066 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001716/0.6618, allocations: 104.1 kB / 0.7067 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002488/0.6643, allocations: 0.7889 MB / 0.7075 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004041/0.6683, allocations: 1.185 MB / 0.7087 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006318/0.6746, allocations: 4.362 MB / 0.7129 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003196/0.6778, allocations: 295.7 kB / 0.7132 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006133/0.6784, allocations: 304 kB / 0.7135 GB, free: 3.117 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (635): * Single equations (assignments): 628 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003695/0.6821, allocations: 2.016 MB / 0.7155 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006001/0.6827, allocations: 254.3 kB / 0.7157 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008771/0.6915, allocations: 4.719 MB / 0.7203 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.486e-05/0.6916, allocations: 43.98 kB / 0.7204 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.6916, allocations: 4 kB / 0.7204 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.6916, allocations: 7.969 kB / 0.7204 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/0.7094, allocations: 9.192 MB / 0.7293 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.752e-05/0.7095, allocations: 4 kB / 0.7293 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.7111, allocations: 363.4 kB / 0.7297 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002143/0.7133, allocations: 0.6566 MB / 0.7303 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001824/0.7134, allocations: 51.97 kB / 0.7304 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2939/1.007, allocations: 3.74 MB / 0.734 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-05/1.007, allocations: 14.09 kB / 0.734 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008873/1.016, allocations: 7.117 MB / 0.741 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004818/1.017, allocations: 226.5 kB / 0.7412 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/1.017, allocations: 47.45 kB / 0.7413 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/1.018, allocations: 140.1 kB / 0.7414 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/1.018, allocations: 141.3 kB / 0.7415 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/1.018, allocations: 64.98 kB / 0.7416 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001586/1.02, allocations: 1.476 MB / 0.743 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.02, allocations: 0 / 0.743 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003485/1.024, allocations: 0.9052 MB / 0.7439 GB, free: 153.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (178): * Single equations (assignments): 171 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003613/1.024, allocations: 182.8 kB / 0.7441 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005952/1.03, allocations: 5.157 MB / 0.7491 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.03, allocations: 0 / 0.7491 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001934/1.032, allocations: 1.874 MB / 0.751 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/1.033, allocations: 281 kB / 0.7512 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/1.045, allocations: 9.537 MB / 0.7605 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002757/1.047, allocations: 2.632 MB / 0.7631 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003452/1.051, allocations: 1.933 MB / 0.765 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000567/1.051, allocations: 195.4 kB / 0.7652 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/1.051, allocations: 0 / 0.7652 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.0445/1.096, allocations: 27.73 MB / 0.7923 GB, free: 108.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.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: 6.951735926792026]