Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00149/0.00149, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9261/0.9261, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2523/0.2523, allocations: 34.86 MB / 296.3 MB, free: 0.5352 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.118e-05, allocations: 3.156 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.009265/0.009286, allocations: 13.01 MB / 391.8 MB, free: 5.012 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005477/0.01476, allocations: 4.104 MB / 395.9 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008366/0.0156, allocations: 79.69 kB / 396 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.01777, allocations: 1.942 MB / 397.9 MB, free: 14.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002462/0.02024, allocations: 1.929 MB / 399.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007887/0.02102, allocations: 0.6002 MB / 400.4 MB, free: 12.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003065/0.02409, allocations: 4.268 MB / 404.7 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/0.02646, allocations: 2.622 MB / 407.3 MB, free: 5.379 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.0286, allocations: 2.112 MB / 409.4 MB, free: 3.262 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.03071, allocations: 2.155 MB / 411.6 MB, free: 1.102 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003721/0.03108, allocations: 296 kB / 411.9 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.03225, allocations: 0.9672 MB / 412.9 MB, free: 15.84 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001293/0.03354, allocations: 1.866 MB / 414.7 MB, free: 13.97 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009303/0.03447, allocations: 1.148 MB / 415.9 MB, free: 12.82 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003338/0.03781, allocations: 4.448 MB / 420.3 MB, free: 8.355 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.03781, allocations: 0 / 420.3 MB, free: 8.355 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.03781, allocations: 0 / 420.3 MB, free: 8.355 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.128e-05/0.0379, allocations: 0 / 420.3 MB, free: 8.355 MB / 394.7 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.005153/0.04306, allocations: 5 MB / 425.3 MB, free: 3.289 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.0431, allocations: 12.03 kB / 425.3 MB, free: 3.277 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006043/0.04914, allocations: 3.703 MB / 429 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002276/0.05142, allocations: 1.934 MB / 431 MB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.05154, allocations: 213.8 kB / 431.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003906/0.05193, allocations: 292.1 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006779/0.05871, allocations: 5.684 MB / 437.1 MB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-05/0.05877, allocations: 31.77 kB / 437.2 MB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002587/0.05903, allocations: 135.8 kB / 437.3 MB, free: 6.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002453/0.06149, allocations: 2.62 MB / 439.9 MB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007015/0.0685, allocations: 3.507 MB / 443.4 MB, free: 488 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1956/0.2641, allocations: 35.62 MB / 479.1 MB, free: 63.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003569/0.2677, allocations: 1.816 MB / 480.9 MB, free: 63.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009075/0.2686, allocations: 0.7004 MB / 481.6 MB, free: 63.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004563/0.269, allocations: 423.6 kB / 482 MB, free: 63.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.2691, allocations: 56.78 kB / 482 MB, free: 63.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 4.518e-06/0.2691, allocations: 5.281 kB / 482 MB, free: 63.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.01764/0.2867, allocations: 10.17 MB / 492.2 MB, free: 60.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.2868, allocations: 77.22 kB / 492.3 MB, free: 60.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/0.2892, allocations: 2.524 MB / 494.8 MB, free: 59.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-05/0.2893, allocations: 56.36 kB / 494.9 MB, free: 59.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.2904, allocations: 3.011 MB / 497.9 MB, free: 57.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005269/0.2909, allocations: 0.9971 MB / 498.9 MB, free: 56.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/0.292, allocations: 1.136 MB / 0.4883 GB, free: 56.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.2e-05/0.292, allocations: 481.7 kB / 0.4888 GB, free: 55.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.2931, allocations: 0.7001 MB / 0.4894 GB, free: 55.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/0.2956, allocations: 4.995 MB / 0.4943 GB, free: 49.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003661/0.2992, allocations: 6.334 MB / 0.5005 GB, free: 43.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.352e-05/0.2993, allocations: 28.66 kB / 0.5005 GB, free: 43.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.00579/0.305, allocations: 5.151 MB / 0.5056 GB, free: 41.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/0.3051, allocations: 48.25 kB / 0.5056 GB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.784e-05/0.3052, allocations: 103.8 kB / 0.5057 GB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.3066, allocations: 0.645 MB / 0.5063 GB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.3086, allocations: 1.232 MB / 0.5075 GB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/0.3114, allocations: 3.11 MB / 0.5106 GB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.3133, allocations: 330.5 kB / 0.5109 GB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/0.3136, allocations: 310.3 kB / 0.5112 GB, free: 38.15 MB / 410.7 MB 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.001139/0.3147, allocations: 0.5777 MB / 0.5117 GB, free: 37.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/0.315, allocations: 334.7 kB / 0.5121 GB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00402/0.319, allocations: 2.638 MB / 0.5146 GB, free: 35.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.672e-05/0.3191, allocations: 47.12 kB / 0.5147 GB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.3191, allocations: 0 / 0.5147 GB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.269e-05/0.3191, allocations: 10.22 kB / 0.5147 GB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.3293, allocations: 6.938 MB / 0.5215 GB, free: 29.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.3293, allocations: 12 kB / 0.5215 GB, free: 29.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.3304, allocations: 402.5 kB / 0.5219 GB, free: 28.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/0.3318, allocations: 0.5159 MB / 0.5224 GB, free: 28.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.3319, allocations: 48 kB / 0.5224 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/0.3343, allocations: 2.567 MB / 0.5249 GB, free: 25.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.3343, allocations: 11.94 kB / 0.5249 GB, free: 25.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004584/0.3389, allocations: 3.293 MB / 0.5282 GB, free: 22.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.3391, allocations: 254.4 kB / 0.5284 GB, free: 22.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/0.3394, allocations: 52.41 kB / 0.5284 GB, free: 22.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009069/0.3403, allocations: 177.9 kB / 0.5286 GB, free: 22.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/0.3405, allocations: 161.2 kB / 0.5288 GB, free: 22.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.3407, allocations: 73.52 kB / 0.5288 GB, free: 22.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001109/0.3418, allocations: 1.075 MB / 0.5299 GB, free: 21.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3418, allocations: 3.062 kB / 0.5299 GB, free: 21.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003086/0.3449, allocations: 1.037 MB / 0.5309 GB, free: 20.39 MB / 410.7 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.0003643/0.3452, allocations: 201 kB / 0.5311 GB, free: 20.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003907/0.3491, allocations: 3.013 MB / 0.534 GB, free: 17.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3491, allocations: 0 / 0.534 GB, free: 17.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.3503, allocations: 1.027 MB / 0.535 GB, free: 16.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.3517, allocations: 313 kB / 0.5353 GB, free: 16.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008671/0.3603, allocations: 8.272 MB / 0.5434 GB, free: 7.672 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009864/0.3613, allocations: 1.264 MB / 0.5447 GB, free: 6.383 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002525/0.3638, allocations: 1.616 MB / 0.5462 GB, free: 4.762 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000536/0.3644, allocations: 204.5 kB / 0.5464 GB, free: 4.559 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3644, allocations: 0 / 0.5464 GB, free: 4.559 MB / 410.7 MB Notification: Performance of Templates: time 0.03929/0.4037, allocations: 27.8 MB / 0.5736 GB, free: 9.18 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.236537165939808]