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.0009007/0.0009007, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002243, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0007234/0.0007234, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.00178, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.9508/0.9508, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1666/1.117, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] 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.1375/0.1375, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02205/0.1596, allocations: 12.31 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] 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.042e-06/1.042e-06, allocations: 0 / 267.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046e-05/1.15e-05, allocations: 2.312 kB / 267.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.00981/0.009822, allocations: 13.2 MB / 280.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006566/0.01639, allocations: 4.313 MB / 284.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.0177, allocations: 79.69 kB / 285 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.141/0.1587, allocations: 1.886 MB / 286.9 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003593/0.1623, allocations: 1.972 MB / 288.9 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009776/0.1633, allocations: 0.5636 MB / 289.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00334/0.1666, allocations: 4.221 MB / 293.6 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.1685, allocations: 2.41 MB / 296.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.1703, allocations: 2.283 MB / 298.3 MB, free: 32 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.1719, allocations: 2.018 MB / 300.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002851/0.1722, allocations: 294.4 kB / 300.6 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.1735, allocations: 0.9899 MB / 301.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008841/0.1744, allocations: 1.724 MB / 303.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007165/0.1751, allocations: 0.9721 MB / 304.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.1781, allocations: 4.255 MB / 308.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.356e-05/0.1781, allocations: 0 / 308.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1781, allocations: 3.938 kB / 308.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.981e-05/0.1781, allocations: 0 / 308.6 MB, free: 11.09 MB / 298.7 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.004026/0.1821, allocations: 5.24 MB / 313.8 MB, free: 6.203 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.1822, allocations: 11.89 kB / 313.8 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003426/0.1856, allocations: 1.455 MB / 315.3 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.1872, allocations: 1.616 MB / 316.9 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.854e-05/0.1873, allocations: 223 kB / 317.1 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003348/0.1876, allocations: 295 kB / 317.4 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004233/0.1918, allocations: 4.865 MB / 322.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.463e-05/0.1919, allocations: 30.69 kB / 322.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/0.1921, allocations: 138.2 kB / 322.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001864/0.194, allocations: 2.19 MB / 324.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003614/0.1976, allocations: 2.762 MB / 327.4 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01964/0.2172, allocations: 27.53 MB / 354.9 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/0.22, allocations: 1.442 MB / 356.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.2205, allocations: 367.8 kB / 356.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005193/0.2257, allocations: 3.777 MB / 360.5 MB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.2257, allocations: 47.81 kB / 360.6 MB, free: 8.316 MB / 346.7 MB Notification: Performance of pre-optimization done (n=180): time 2.785e-06/0.2257, allocations: 4 kB / 360.6 MB, free: 8.312 MB / 346.7 MB Notification: Performance of matching and sorting (n=187): time 0.009297/0.235, allocations: 5.318 MB / 365.9 MB, free: 3.047 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.235, allocations: 67.62 kB / 365.9 MB, free: 2.969 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.2369, allocations: 2.535 MB / 368.5 MB, free: 0.875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.63e-05/0.237, allocations: 48.52 kB / 368.5 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.238, allocations: 3.038 MB / 371.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003509/0.2384, allocations: 0.7229 MB / 372.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007562/0.2392, allocations: 1.007 MB / 373.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.2392, allocations: 305.1 kB / 373.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008939/0.2401, allocations: 0.6781 MB / 374.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/0.2424, allocations: 3.688 MB / 378 MB, free: 6.172 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/0.2459, allocations: 5.191 MB / 383.1 MB, free: 15.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.889e-05/0.2459, allocations: 32 kB / 383.2 MB, free: 15.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.00369/0.2496, allocations: 3.546 MB / 386.7 MB, free: 11.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.2496, allocations: 55.94 kB / 386.8 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.198e-05/0.2497, allocations: 124 kB / 386.9 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002474/0.25, allocations: 183.6 kB / 387.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/0.252, allocations: 1.306 MB / 388.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008995/0.2529, allocations: 1.461 MB / 389.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.2546, allocations: 207.9 kB / 390.1 MB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002393/0.2548, allocations: 280 kB / 390.3 MB, free: 8.129 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 503 * 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 (666): * Single equations (assignments): 659 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001046/0.2559, allocations: 0.5447 MB / 390.9 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.2561, allocations: 183.8 kB / 391 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.2572, allocations: 0.9131 MB / 392 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.2572, allocations: 19.98 kB / 392 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2572, allocations: 0 / 392 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.2572, allocations: 11.91 kB / 392 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004763/0.262, allocations: 4.106 MB / 396.1 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.379e-05/0.262, allocations: 31.92 kB / 396.1 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.2626, allocations: 259.8 kB / 396.4 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/0.263, allocations: 382.1 kB / 396.8 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/0.2631, allocations: 59.62 kB / 396.8 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.399e-05/0.2632, allocations: 39.92 kB / 396.9 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007563/0.2639, allocations: 1.385 MB / 398.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.2639, allocations: 12.03 kB / 398.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.2654, allocations: 1.472 MB / 399.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.2655, allocations: 39.98 kB / 399.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.266, allocations: 36 kB / 399.8 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.2661, allocations: 112.6 kB / 399.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.2662, allocations: 51.98 kB / 400 MB, free: 14.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001054/0.2672, allocations: 0.8903 MB / 400.8 MB, free: 13.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2672, allocations: 0 / 400.8 MB, free: 13.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002479/0.2697, allocations: 0.9608 MB / 401.8 MB, free: 12.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 134 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003686/0.2701, allocations: 179.9 kB / 402 MB, free: 12.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002238/0.2723, allocations: 2.32 MB / 404.3 MB, free: 9.711 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001151/0.2724, allocations: 74.55 kB / 404.4 MB, free: 9.637 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.273, allocations: 0.6472 MB / 405 MB, free: 8.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.275, allocations: 2.09 MB / 407.1 MB, free: 6.664 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009554/0.2845, allocations: 8.017 MB / 415.1 MB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000917/0.2855, allocations: 1.279 MB / 416.4 MB, free: 13.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008325/0.2863, allocations: 426.1 kB / 416.8 MB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005443/0.2868, allocations: 441.3 kB / 417.3 MB, free: 12.3 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2868, allocations: 0 / 417.3 MB, free: 12.3 MB / 410.7 MB Notification: Performance of Templates: time 0.0369/0.3237, allocations: 22.23 MB / 439.5 MB, free: 6.109 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3164058066904545]