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.0008584/0.0008584, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003088/0.003088, allocations: 160.6 kB / 24.7 MB, free: 9.441 MB / 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.8717/0.8717, allocations: 177 MB / 204.9 MB, free: 5.727 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.2326/0.2326, allocations: 34.24 MB / 295.6 MB, free: 0.6719 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 2.184e-06/2.184e-06, allocations: 0 / 443.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.885e-05, allocations: 2.281 kB / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.163/0.163, allocations: 11.8 MB / 455.2 MB, free: 37.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004413/0.1674, allocations: 3.985 MB / 459.2 MB, free: 35.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006667/0.1681, allocations: 81.16 kB / 459.3 MB, free: 34.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.1696, allocations: 1.855 MB / 461.1 MB, free: 34.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.1714, allocations: 1.927 MB / 463.1 MB, free: 33.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.172, allocations: 0.5924 MB / 463.7 MB, free: 33.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.1739, allocations: 4.264 MB / 467.9 MB, free: 31.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.1751, allocations: 2.533 MB / 470.5 MB, free: 30.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.1762, allocations: 2.114 MB / 472.6 MB, free: 29.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.1774, allocations: 2.143 MB / 474.7 MB, free: 28.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002164/0.1777, allocations: 293.8 kB / 475 MB, free: 28.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000845/0.1785, allocations: 0.9694 MB / 476 MB, free: 28.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007078/0.1792, allocations: 1.856 MB / 477.8 MB, free: 27.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005765/0.1798, allocations: 1.144 MB / 479 MB, free: 27.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004494/0.1843, allocations: 6.887 MB / 485.9 MB, free: 24.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1843, allocations: 1.734 kB / 485.9 MB, free: 24.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1843, allocations: 0 / 485.9 MB, free: 24.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.255e-05/0.1844, allocations: 0 / 485.9 MB, free: 24.98 MB / 410.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.005103/0.1895, allocations: 4.568 MB / 490.4 MB, free: 22.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1895, allocations: 10.53 kB / 490.4 MB, free: 22.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006229/0.1957, allocations: 3.189 MB / 493.6 MB, free: 21.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.1982, allocations: 2.076 MB / 495.7 MB, free: 20.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.1984, allocations: 222 kB / 495.9 MB, free: 20.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004055/0.1988, allocations: 282.3 kB / 496.2 MB, free: 20.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/0.2099, allocations: 11.13 MB / 0.4954 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.253e-05/0.21, allocations: 26.94 kB / 0.4955 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002759/0.2102, allocations: 134.8 kB / 0.4956 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002262/0.2125, allocations: 2.627 MB / 0.4982 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009354/0.2218, allocations: 10.36 MB / 0.5083 GB, free: 2.844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02952/0.2514, allocations: 33.74 MB / 0.5412 GB, free: 264 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004771/0.2561, allocations: 3.594 MB / 0.5447 GB, free: 12.67 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/0.258, allocations: 2.22 MB / 0.5469 GB, free: 10.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005089/0.2585, allocations: 445.3 kB / 0.5473 GB, free: 10.01 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.2586, allocations: 60.55 kB / 0.5474 GB, free: 9.941 MB / 458.7 MB Notification: Performance of pre-optimization done (n=242): time 4.909e-06/0.2586, allocations: 0 / 0.5474 GB, free: 9.941 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.02421/0.2828, allocations: 17.94 MB / 0.5649 GB, free: 7.992 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.2828, allocations: 73.41 kB / 0.565 GB, free: 7.906 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002639/0.2855, allocations: 2.758 MB / 0.5677 GB, free: 5.121 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.2856, allocations: 57.7 kB / 0.5677 GB, free: 5.059 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.2868, allocations: 2.886 MB / 0.5705 GB, free: 2.145 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005888/0.2874, allocations: 0.9454 MB / 0.5715 GB, free: 1.191 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.2884, allocations: 1.061 MB / 0.5725 GB, free: 124 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.996e-05/0.2885, allocations: 313 kB / 0.5728 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002151/0.2907, allocations: 2.314 MB / 0.5751 GB, free: 13.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003379/0.294, allocations: 5.226 MB / 0.5802 GB, free: 6.848 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006331/0.3004, allocations: 8.264 MB / 0.5882 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.259e-05/0.3004, allocations: 32 kB / 0.5883 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.008416/0.3088, allocations: 8.284 MB / 0.5963 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.3089, allocations: 48 kB / 0.5964 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.175e-05/0.3089, allocations: 100 kB / 0.5965 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.3103, allocations: 0.9491 MB / 0.5974 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/0.3122, allocations: 1.224 MB / 0.5986 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004307/0.3166, allocations: 4.978 MB / 0.6035 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.3186, allocations: 323.7 kB / 0.6038 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003115/0.3189, allocations: 308 kB / 0.6041 GB, free: 12.82 MB / 0.5105 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.002928/0.3218, allocations: 2.146 MB / 0.6062 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/0.3221, allocations: 274.2 kB / 0.6064 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005088/0.3272, allocations: 5.12 MB / 0.6114 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.718e-05/0.3272, allocations: 44.09 kB / 0.6115 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3272, allocations: 4 kB / 0.6115 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.3272, allocations: 15.94 kB / 0.6115 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/0.3386, allocations: 10.46 MB / 0.6217 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.3386, allocations: 13.5 kB / 0.6217 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008663/0.3395, allocations: 399.3 kB / 0.6221 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.3407, allocations: 0.7811 MB / 0.6229 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.3409, allocations: 48 kB / 0.6229 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003548/0.3444, allocations: 4.228 MB / 0.627 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.3444, allocations: 20 kB / 0.6271 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2012/0.5456, allocations: 7.582 MB / 0.6345 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007703/0.5464, allocations: 266.9 kB / 0.6347 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.5466, allocations: 45.92 kB / 0.6348 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007705/0.5474, allocations: 176.4 kB / 0.6349 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/0.5476, allocations: 165.2 kB / 0.6351 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.5477, allocations: 74.83 kB / 0.6352 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001769/0.5495, allocations: 1.578 MB / 0.6367 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5495, allocations: 0 / 0.6367 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003044/0.5525, allocations: 1.033 MB / 0.6377 GB, free: 149.6 MB / 0.5261 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.0003821/0.5529, allocations: 199 kB / 0.6379 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004605/0.5575, allocations: 5.43 MB / 0.6432 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5575, allocations: 0 / 0.6432 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.559, allocations: 2.006 MB / 0.6452 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.56, allocations: 306.4 kB / 0.6454 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.5705, allocations: 10.75 MB / 0.6559 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002619/0.5731, allocations: 2.835 MB / 0.6587 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008543/0.574, allocations: 253.5 kB / 0.659 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.173e-06/0.574, allocations: 0 / 0.659 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.05929/0.6333, allocations: 76.46 MB / 0.7336 GB, free: 87.84 MB / 0.5261 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 8.127754639834166]