Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.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.001121/0.001121, allocations: 91.5 kB / 21.19 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.001167/0.001167, allocations: 156.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.9874/0.9874, allocations: 177 MB / 204.8 MB, free: 5.582 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.3113/0.3113, allocations: 34.87 MB / 296.3 MB, free: 0.543 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.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.148e-05/3.359e-05, allocations: 6.953 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01147/0.0115, allocations: 14.41 MB / 393.2 MB, free: 3.605 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008546/0.02005, allocations: 4.337 MB / 397.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002685/0.02273, allocations: 91.62 kB / 397.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003576/0.02631, allocations: 2.382 MB / 400 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004945/0.03125, allocations: 2.127 MB / 402.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.03298, allocations: 0.6782 MB / 402.8 MB, free: 9.957 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00609/0.03908, allocations: 4.692 MB / 407.5 MB, free: 5.258 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003936/0.04301, allocations: 3.024 MB / 410.5 MB, free: 2.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003514/0.04652, allocations: 2.436 MB / 413 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003263/0.04979, allocations: 2.424 MB / 415.4 MB, free: 13.31 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000816/0.0506, allocations: 344 kB / 415.7 MB, free: 12.97 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.0521, allocations: 1.01 MB / 416.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001569/0.05367, allocations: 2.107 MB / 418.8 MB, free: 9.848 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00177/0.05544, allocations: 1.308 MB / 420.1 MB, free: 8.535 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0057/0.06114, allocations: 4.95 MB / 425.1 MB, free: 3.566 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.06115, allocations: 0 / 425.1 MB, free: 3.566 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.06115, allocations: 0 / 425.1 MB, free: 3.566 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001886/0.06134, allocations: 0 / 425.1 MB, free: 3.566 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: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.006844/0.06818, allocations: 5.605 MB / 430.7 MB, free: 13.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.06823, allocations: 12.03 kB / 430.7 MB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007093/0.07533, allocations: 3.82 MB / 434.5 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00335/0.07868, allocations: 2.172 MB / 436.7 MB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.07882, allocations: 246.6 kB / 436.9 MB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004631/0.07929, allocations: 336.1 kB / 437.3 MB, free: 7.273 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009496/0.08878, allocations: 6.36 MB / 443.6 MB, free: 200 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.456e-05/0.08888, allocations: 35.7 kB / 443.7 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003115/0.08919, allocations: 155.8 kB / 443.8 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1727/0.2619, allocations: 2.844 MB / 446.7 MB, free: 91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009766/0.2716, allocations: 3.783 MB / 450.4 MB, free: 90.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0338/0.3054, allocations: 40.27 MB / 490.7 MB, free: 62.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004482/0.3099, allocations: 1.893 MB / 492.6 MB, free: 61.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.3113, allocations: 0.7262 MB / 493.3 MB, free: 61.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000592/0.3119, allocations: 414.2 kB / 493.7 MB, free: 61.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.3119, allocations: 55.14 kB / 493.8 MB, free: 61.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 4.589e-06/0.3119, allocations: 0 / 493.8 MB, free: 61.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.02272/0.3346, allocations: 11.04 MB / 0.493 GB, free: 58.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.3347, allocations: 80.36 kB / 0.4931 GB, free: 58.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003298/0.338, allocations: 2.866 MB / 0.4959 GB, free: 57.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001697/0.3381, allocations: 61.58 kB / 0.4959 GB, free: 57.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00146/0.3396, allocations: 3.394 MB / 0.4992 GB, free: 54.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007922/0.3404, allocations: 1.053 MB / 0.5003 GB, free: 53.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/0.3416, allocations: 1.264 MB / 0.5015 GB, free: 52.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.134e-05/0.3416, allocations: 477.4 kB / 0.502 GB, free: 52.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.3428, allocations: 0.7482 MB / 0.5027 GB, free: 51.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002629/0.3455, allocations: 5.576 MB / 0.5081 GB, free: 44.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004654/0.3501, allocations: 7.027 MB / 0.515 GB, free: 35.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.722e-05/0.3502, allocations: 40 kB / 0.515 GB, free: 35.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.007703/0.3579, allocations: 5.662 MB / 0.5206 GB, free: 30.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.656e-05/0.3579, allocations: 58.03 kB / 0.5206 GB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.028e-05/0.358, allocations: 112 kB / 0.5207 GB, free: 30.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/0.3596, allocations: 0.7621 MB / 0.5215 GB, free: 29.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/0.3622, allocations: 1.349 MB / 0.5228 GB, free: 28.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/0.3651, allocations: 3.293 MB / 0.526 GB, free: 25.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/0.3678, allocations: 348 kB / 0.5263 GB, free: 25.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004182/0.3682, allocations: 341.8 kB / 0.5267 GB, free: 24.78 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (729): * Single equations (assignments): 722 * 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,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001521/0.3697, allocations: 0.6329 MB / 0.5273 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004696/0.3702, allocations: 377.1 kB / 0.5276 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/0.3739, allocations: 2.784 MB / 0.5304 GB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.852e-05/0.3739, allocations: 54.72 kB / 0.5304 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.374, allocations: 4 kB / 0.5304 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.374, allocations: 7.688 kB / 0.5304 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/0.385, allocations: 7.631 MB / 0.5379 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.385, allocations: 12.88 kB / 0.5379 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009727/0.386, allocations: 419.3 kB / 0.5383 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.3873, allocations: 0.5981 MB / 0.5389 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/0.3875, allocations: 54.84 kB / 0.5389 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002285/0.3897, allocations: 2.688 MB / 0.5416 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.3897, allocations: 15.94 kB / 0.5416 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/0.3941, allocations: 3.549 MB / 0.545 GB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006514/0.3947, allocations: 293.8 kB / 0.5453 GB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002528/0.395, allocations: 51.98 kB / 0.5454 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.3958, allocations: 183.8 kB / 0.5455 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/0.396, allocations: 173.4 kB / 0.5457 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.3961, allocations: 82.56 kB / 0.5458 GB, free: 5.426 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001393/0.3975, allocations: 1.21 MB / 0.547 GB, free: 4.211 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3975, allocations: 0 / 0.547 GB, free: 4.211 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003345/0.4009, allocations: 1.133 MB / 0.5481 GB, free: 3.078 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (208): * Single equations (assignments): 201 * 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 {(3,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.0004192/0.4013, allocations: 205.9 kB / 0.5483 GB, free: 2.871 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004522/0.4058, allocations: 3.276 MB / 0.5515 GB, free: 15.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.4058, allocations: 0 / 0.5515 GB, free: 15.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.4073, allocations: 1.099 MB / 0.5525 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.4089, allocations: 368.5 kB / 0.5529 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.4221, allocations: 9.238 MB / 0.5619 GB, free: 4.625 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/0.4235, allocations: 1.414 MB / 0.5633 GB, free: 3.188 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002921/0.4264, allocations: 1.745 MB / 0.565 GB, free: 1.441 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005967/0.427, allocations: 228.5 kB / 0.5652 GB, free: 1.219 MB / 426.7 MB Notification: Performance of SimCode: time 2.615e-06/0.427, allocations: 3.938 kB / 0.5652 GB, free: 1.215 MB / 426.7 MB Notification: Performance of Templates: time 0.04748/0.4745, allocations: 30.34 MB / 0.5948 GB, free: 3.336 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.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.6384953036904335]