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.001708/0.001708, allocations: 85.72 kB / 20.68 MB, free: 1.023 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.001733/0.001733, allocations: 162.5 kB / 23.95 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.435/1.435, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.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.2002/0.2002, allocations: 32.83 MB / 293.5 MB, free: 24 kB / 270.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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.318e-05, allocations: 6.219 kB / 440.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.1938/0.1939, allocations: 11.78 MB / 451.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007744/0.2016, allocations: 3.997 MB / 455.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002684/0.2043, allocations: 79.62 kB / 456 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004031/0.2083, allocations: 1.862 MB / 457.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005005/0.2133, allocations: 1.924 MB / 459.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.2148, allocations: 0.5862 MB / 460.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005405/0.2202, allocations: 4.268 MB / 464.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003592/0.2238, allocations: 2.543 MB / 467.2 MB, free: 8.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/0.2267, allocations: 2.112 MB / 469.3 MB, free: 7.684 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/0.2296, allocations: 2.138 MB / 471.4 MB, free: 6.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005161/0.2301, allocations: 295 kB / 471.7 MB, free: 6.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.2319, allocations: 0.9591 MB / 472.6 MB, free: 6.164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.2332, allocations: 1.858 MB / 474.5 MB, free: 5.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.2347, allocations: 1.14 MB / 475.6 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00659/0.2412, allocations: 6.9 MB / 482.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2413, allocations: 0 / 482.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2413, allocations: 0 / 482.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001595/0.2414, allocations: 3.938 kB / 482.6 MB, free: 15.54 MB / 382.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.00951/0.2509, allocations: 4.573 MB / 487.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.251, allocations: 8.031 kB / 487.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.2626, allocations: 3.184 MB / 490.3 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005187/0.2678, allocations: 2.079 MB / 492.4 MB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/0.268, allocations: 217.8 kB / 492.6 MB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007548/0.2688, allocations: 284.2 kB / 492.9 MB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/0.2882, allocations: 11.12 MB / 0.4922 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-05/0.2883, allocations: 35.73 kB / 0.4922 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004425/0.2888, allocations: 131.8 kB / 0.4924 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004786/0.2936, allocations: 2.624 MB / 0.4949 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02125/0.3148, allocations: 10.35 MB / 0.505 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05335/0.3682, allocations: 33.75 MB / 0.538 GB, free: 9.727 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009259/0.3774, allocations: 3.581 MB / 0.5415 GB, free: 6.145 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003713/0.3811, allocations: 2.224 MB / 0.5437 GB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009449/0.3821, allocations: 441.3 kB / 0.5441 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/0.3821, allocations: 56.5 kB / 0.5441 GB, free: 3.418 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 5.52e-06/0.3821, allocations: 0 / 0.5441 GB, free: 3.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.04215/0.4243, allocations: 17.95 MB / 0.5617 GB, free: 1.465 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.4244, allocations: 73.41 kB / 0.5617 GB, free: 1.379 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003749/0.4281, allocations: 2.765 MB / 0.5644 GB, free: 14.58 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00026/0.4284, allocations: 53.7 kB / 0.5645 GB, free: 14.52 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002098/0.4305, allocations: 2.878 MB / 0.5673 GB, free: 11.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009908/0.4315, allocations: 0.9571 MB / 0.5682 GB, free: 10.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001522/0.433, allocations: 1.057 MB / 0.5693 GB, free: 9.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4331, allocations: 305.1 kB / 0.5695 GB, free: 9.289 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00355/0.4367, allocations: 2.318 MB / 0.5718 GB, free: 6.965 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006085/0.4428, allocations: 5.218 MB / 0.5769 GB, free: 336 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/0.4538, allocations: 8.277 MB / 0.585 GB, free: 6.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.303e-05/0.4539, allocations: 28 kB / 0.585 GB, free: 6.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01469/0.4685, allocations: 8.283 MB / 0.5931 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.834e-05/0.4686, allocations: 48 kB / 0.5932 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/0.4687, allocations: 100 kB / 0.5932 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00281/0.4715, allocations: 0.9493 MB / 0.5942 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003804/0.4754, allocations: 1.22 MB / 0.5954 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007128/0.4825, allocations: 4.981 MB / 0.6002 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004035/0.4865, allocations: 319.7 kB / 0.6005 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008828/0.4874, allocations: 308 kB / 0.6008 GB, free: 6.289 MB / 0.4981 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.004064/0.4915, allocations: 2.154 MB / 0.6029 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005503/0.492, allocations: 274.1 kB / 0.6032 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009497/0.5015, allocations: 5.11 MB / 0.6082 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-05/0.5016, allocations: 47.98 kB / 0.6082 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.5016, allocations: 4 kB / 0.6082 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-05/0.5016, allocations: 15.95 kB / 0.6082 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01913/0.5207, allocations: 10.46 MB / 0.6185 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/0.5208, allocations: 12 kB / 0.6185 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/0.5225, allocations: 399.3 kB / 0.6189 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002578/0.5251, allocations: 0.7736 MB / 0.6196 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002329/0.5254, allocations: 51.98 kB / 0.6197 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006146/0.5315, allocations: 4.235 MB / 0.6238 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.344e-05/0.5315, allocations: 15.94 kB / 0.6238 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/0.5438, allocations: 7.589 MB / 0.6312 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007633/0.5445, allocations: 254.2 kB / 0.6315 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003885/0.5449, allocations: 47.98 kB / 0.6315 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.5464, allocations: 179.7 kB / 0.6317 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004076/0.5468, allocations: 168.8 kB / 0.6318 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001865/0.5469, allocations: 75.92 kB / 0.6319 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00252/0.5495, allocations: 1.577 MB / 0.6335 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5495, allocations: 0 / 0.6335 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004527/0.554, allocations: 1.027 MB / 0.6345 GB, free: 3.355 MB / 0.5294 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.0006017/0.5546, allocations: 210.7 kB / 0.6347 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.1871/0.7417, allocations: 5.434 MB / 0.64 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/0.7417, allocations: 2.062 kB / 0.64 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002919/0.7446, allocations: 2.001 MB / 0.6419 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.7465, allocations: 302.8 kB / 0.6422 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/0.7617, allocations: 10.26 MB / 0.6522 GB, free: 168.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003729/0.7655, allocations: 2.837 MB / 0.655 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004047/0.7695, allocations: 1.967 MB / 0.6569 GB, free: 168 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007503/0.7703, allocations: 204 kB / 0.6571 GB, free: 168 MB / 0.5294 GB Notification: Performance of SimCode: time 1.272e-06/0.7703, allocations: 0 / 0.6571 GB, free: 168 MB / 0.5294 GB Notification: Performance of Templates: time 0.04595/0.8162, allocations: 27.63 MB / 0.6841 GB, free: 150.8 MB / 0.5294 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: 6.257590997964144]