Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002038/0.002038, allocations: 72 kB / 19.93 MB, free: 1.773 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.002085/0.002085, allocations: 174.5 kB / 23.22 MB, free: 4.887 MB / 14.72 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.41/1.41, allocations: 158.6 MB / 185 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] 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.2115/0.2115, allocations: 32.38 MB / 269.6 MB, free: 4.66 MB / 254.1 MB " [Timeout remaining time 179] 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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 407.4 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.466e-05/3.617e-05, allocations: 2.281 kB / 407.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01614/0.01618, allocations: 12.15 MB / 419.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.0277, allocations: 4.03 MB / 423.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003448/0.03115, allocations: 79.69 kB / 423.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005568/0.03672, allocations: 1.88 MB / 425.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006943/0.04366, allocations: 1.999 MB / 427.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.04587, allocations: 0.5963 MB / 428.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007169/0.05304, allocations: 4.321 MB / 432.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005214/0.05825, allocations: 2.582 MB / 435 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006198/0.06445, allocations: 2.183 MB / 437.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004842/0.06929, allocations: 2.166 MB / 439.3 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001157/0.07045, allocations: 300 kB / 439.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003186/0.07363, allocations: 0.979 MB / 440.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003096/0.07673, allocations: 1.92 MB / 442.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003343/0.08007, allocations: 1.183 MB / 443.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.09019, allocations: 7.07 MB / 450.8 MB, free: 7.375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.09019, allocations: 0 / 450.8 MB, free: 7.375 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09019, allocations: 8 kB / 450.8 MB, free: 7.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002155/0.09041, allocations: 0 / 450.8 MB, free: 7.367 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01033/0.1007, allocations: 4.69 MB / 455.5 MB, free: 2.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1008, allocations: 8.031 kB / 455.5 MB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/0.1131, allocations: 3.215 MB / 458.7 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0061/0.1192, allocations: 2.153 MB / 460.9 MB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/0.1194, allocations: 221.9 kB / 461.1 MB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/0.1206, allocations: 300.1 kB / 461.4 MB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/0.1403, allocations: 11.32 MB / 472.7 MB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.845e-05/0.1404, allocations: 27.77 kB / 472.7 MB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004289/0.1408, allocations: 139.8 kB / 472.9 MB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2717/0.4125, allocations: 2.694 MB / 475.6 MB, free: 65.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02475/0.4373, allocations: 10.45 MB / 486 MB, free: 62.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04624/0.4835, allocations: 34.48 MB / 0.5083 GB, free: 33.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008268/0.4918, allocations: 3.583 MB / 0.5118 GB, free: 29.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002706/0.4945, allocations: 2.225 MB / 0.514 GB, free: 27.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007002/0.4952, allocations: 448.4 kB / 0.5144 GB, free: 26.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.4952, allocations: 52.56 kB / 0.5144 GB, free: 26.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=242): time 6.281e-06/0.4952, allocations: 0 / 0.5144 GB, free: 26.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=254): time 0.03844/0.5336, allocations: 18.01 MB / 0.532 GB, free: 8.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.5337, allocations: 77.34 kB / 0.5321 GB, free: 8.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00349/0.5372, allocations: 2.865 MB / 0.5349 GB, free: 6.102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003942/0.5376, allocations: 61.22 kB / 0.535 GB, free: 6.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.5388, allocations: 2.963 MB / 0.5379 GB, free: 3.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008422/0.5397, allocations: 0.9386 MB / 0.5388 GB, free: 2.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/0.5409, allocations: 1.085 MB / 0.5398 GB, free: 1.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.338e-05/0.5409, allocations: 305.1 kB / 0.5401 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003261/0.5442, allocations: 2.331 MB / 0.5424 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006745/0.5509, allocations: 5.315 MB / 0.5476 GB, free: 7.656 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/0.5633, allocations: 8.38 MB / 0.5558 GB, free: 13.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/0.5634, allocations: 32 kB / 0.5558 GB, free: 13.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01807/0.5814, allocations: 8.373 MB / 0.564 GB, free: 5.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.5815, allocations: 48 kB / 0.564 GB, free: 5.352 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001447/0.5817, allocations: 104 kB / 0.5641 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002928/0.5846, allocations: 0.9529 MB / 0.5651 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004779/0.5894, allocations: 1.248 MB / 0.5663 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007903/0.5973, allocations: 4.978 MB / 0.5711 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004615/0.6019, allocations: 335.7 kB / 0.5715 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009403/0.6029, allocations: 319.4 kB / 0.5718 GB, free: 13.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (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 (669): * Single equations (assignments): 662 * 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.00527/0.6081, allocations: 2.186 MB / 0.5739 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009251/0.609, allocations: 274.2 kB / 0.5742 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009663/0.6187, allocations: 5.115 MB / 0.5792 GB, free: 5.734 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-05/0.6188, allocations: 47.98 kB / 0.5792 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.6188, allocations: 8 kB / 0.5792 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.621e-05/0.6188, allocations: 12.05 kB / 0.5792 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02102/0.6399, allocations: 10.52 MB / 0.5895 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.6399, allocations: 8 kB / 0.5895 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/0.6416, allocations: 399.3 kB / 0.5899 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002514/0.6441, allocations: 0.7735 MB / 0.5906 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001773/0.6443, allocations: 58.17 kB / 0.5907 GB, free: 9.801 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006298/0.6506, allocations: 4.244 MB / 0.5948 GB, free: 5.457 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/0.6506, allocations: 11.94 kB / 0.5948 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/0.6636, allocations: 7.605 MB / 0.6023 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002127/0.6657, allocations: 0.623 MB / 0.6029 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005147/0.6662, allocations: 50.09 kB / 0.6029 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/0.6678, allocations: 179.7 kB / 0.6031 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004981/0.6683, allocations: 163.1 kB / 0.6033 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001836/0.6684, allocations: 75.92 kB / 0.6033 GB, free: 12.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002973/0.6714, allocations: 1.637 MB / 0.6049 GB, free: 10.95 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6714, allocations: 0 / 0.6049 GB, free: 10.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006344/0.6778, allocations: 1.077 MB / 0.606 GB, free: 9.879 MB / 478.1 MB 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.0008968/0.6786, allocations: 214.7 kB / 0.6062 GB, free: 9.664 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01075/0.6894, allocations: 5.456 MB / 0.6115 GB, free: 4.219 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.931e-05/0.6894, allocations: 4.188 kB / 0.6115 GB, free: 4.215 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00353/0.693, allocations: 2.003 MB / 0.6135 GB, free: 2.203 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/0.6954, allocations: 304.7 kB / 0.6138 GB, free: 1.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/0.7165, allocations: 10.46 MB / 0.624 GB, free: 7.281 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004161/0.7206, allocations: 2.894 MB / 0.6268 GB, free: 4.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004749/0.7254, allocations: 1.984 MB / 0.6287 GB, free: 2.348 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008093/0.7262, allocations: 212.5 kB / 0.6289 GB, free: 2.141 MB / 494.1 MB Notification: Performance of SimCode: time 2.264e-06/0.7262, allocations: 0 / 0.6289 GB, free: 2.141 MB / 494.1 MB Notification: Performance of Templates: time 0.06669/0.7929, allocations: 27.92 MB / 0.6562 GB, free: 6.27 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.453485116362572]