Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.001668/0.001668, 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.002011/0.002011, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2358/0.2358, allocations: 44.94 MB / 358.8 MB, free: 6.09 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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") [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.002661/0.002661, allocations: 67.89 kB / 0.4935 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3503, allocations: 65.48 MB / 0.5575 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01621/0.3666, allocations: 11.78 MB / 0.569 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01187/0.3784, allocations: 3.988 MB / 0.5729 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003624/0.382, allocations: 79.69 kB / 0.5729 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006061/0.3881, allocations: 1.783 MB / 0.5747 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006592/0.3947, allocations: 1.872 MB / 0.5765 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.3965, allocations: 0.542 MB / 0.577 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006165/0.4027, allocations: 3.893 MB / 0.5808 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0032/0.4059, allocations: 2.278 MB / 0.5831 GB, free: 13.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.4084, allocations: 1.394 MB / 0.5844 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003354/0.4117, allocations: 2.04 MB / 0.5864 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007789/0.4125, allocations: 292 kB / 0.5867 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.4146, allocations: 0.8855 MB / 0.5876 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001939/0.4166, allocations: 1.784 MB / 0.5893 GB, free: 6.746 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002049/0.4186, allocations: 1.513 MB / 0.5908 GB, free: 5.223 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.4288, allocations: 6.939 MB / 0.5976 GB, free: 14.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.4288, allocations: 4 kB / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-05/0.4288, allocations: 4 kB / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003652/0.4292, allocations: 3.938 kB / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01123/0.4404, allocations: 4.566 MB / 0.602 GB, free: 9.621 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4404, allocations: 8.031 kB / 0.602 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.4517, allocations: 3.141 MB / 0.6051 GB, free: 6.465 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006054/0.4578, allocations: 2.084 MB / 0.6071 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/0.458, allocations: 225.7 kB / 0.6073 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/0.4594, allocations: 283.7 kB / 0.6076 GB, free: 3.848 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/0.4793, allocations: 11.11 MB / 0.6185 GB, free: 8.262 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/0.4794, allocations: 31.75 kB / 0.6185 GB, free: 8.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004084/0.4798, allocations: 139.8 kB / 0.6186 GB, free: 8.094 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004915/0.4847, allocations: 2.62 MB / 0.6212 GB, free: 5.469 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0217/0.5064, allocations: 10.34 MB / 0.6313 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05985/0.5663, allocations: 33.52 MB / 0.664 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009221/0.5755, allocations: 3.473 MB / 0.6674 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003554/0.579, allocations: 2.222 MB / 0.6696 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009943/0.58, allocations: 445.3 kB / 0.67 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.403e-05/0.5801, allocations: 56.56 kB / 0.6701 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 6.442e-06/0.5801, allocations: 0 / 0.6701 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04335/0.6235, allocations: 17.47 MB / 0.6871 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.6235, allocations: 73.41 kB / 0.6872 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003854/0.6274, allocations: 2.691 MB / 0.6898 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004371/0.6278, allocations: 53.7 kB / 0.6899 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002329/0.6301, allocations: 2.909 MB / 0.6927 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001324/0.6315, allocations: 0.961 MB / 0.6937 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001597/0.6331, allocations: 1.077 MB / 0.6947 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6332, allocations: 301.1 kB / 0.695 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003633/0.6368, allocations: 2.314 MB / 0.6973 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006347/0.6432, allocations: 5.222 MB / 0.7024 GB, free: 15.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/0.6553, allocations: 8.273 MB / 0.7104 GB, free: 6.207 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001299/0.6554, allocations: 32 kB / 0.7105 GB, free: 6.176 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01743/0.6728, allocations: 8.287 MB / 0.7186 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.188e-05/0.6729, allocations: 48.97 kB / 0.7186 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/0.673, allocations: 100 kB / 0.7187 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002905/0.6759, allocations: 0.9372 MB / 0.7196 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004553/0.6805, allocations: 1.224 MB / 0.7208 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007623/0.6881, allocations: 4.982 MB / 0.7257 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004107/0.6922, allocations: 303.8 kB / 0.726 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008743/0.6931, allocations: 304 kB / 0.7263 GB, free: 5.891 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[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 (657): * Single equations (assignments): 650 * 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 {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004489/0.6976, allocations: 2.147 MB / 0.7284 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006662/0.6983, allocations: 274.1 kB / 0.7286 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3315/1.03, allocations: 5.114 MB / 0.7336 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001126/1.03, allocations: 45.72 kB / 0.7337 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/1.03, allocations: 2.75 kB / 0.7337 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-05/1.03, allocations: 10.2 kB / 0.7337 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0162/1.046, allocations: 10.38 MB / 0.7438 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/1.046, allocations: 8.5 kB / 0.7438 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/1.048, allocations: 401 kB / 0.7442 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/1.05, allocations: 0.7796 MB / 0.745 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/1.05, allocations: 49.86 kB / 0.745 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004483/1.055, allocations: 4.214 MB / 0.7491 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/1.055, allocations: 15.44 kB / 0.7491 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009117/1.064, allocations: 7.616 MB / 0.7566 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007454/1.064, allocations: 241.2 kB / 0.7568 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003204/1.065, allocations: 50.95 kB / 0.7569 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.066, allocations: 143.8 kB / 0.757 GB, free: 144 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003299/1.066, allocations: 164.8 kB / 0.7571 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.066, allocations: 71.36 kB / 0.7572 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00188/1.068, allocations: 1.522 MB / 0.7587 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.068, allocations: 0 / 0.7587 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00359/1.072, allocations: 0.9583 MB / 0.7596 GB, free: 141.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * 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 {(2,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.0004272/1.072, allocations: 194.5 kB / 0.7598 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006818/1.079, allocations: 5.428 MB / 0.7651 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/1.079, allocations: 4 kB / 0.7651 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00229/1.081, allocations: 2.005 MB / 0.7671 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/1.083, allocations: 304.9 kB / 0.7674 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/1.098, allocations: 10.35 MB / 0.7775 GB, free: 123 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003016/1.101, allocations: 2.838 MB / 0.7803 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003586/1.104, allocations: 1.961 MB / 0.7822 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000656/1.105, allocations: 203.4 kB / 0.7824 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/1.105, allocations: 0 / 0.7824 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.0523/1.157, allocations: 30.63 MB / 0.8123 GB, free: 87.65 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.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: 7.188090918585658]