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.001126/0.001126, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001858/0.002984, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001182/0.001182, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001516/0.002698, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 1.026/1.026, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1024/1.128, allocations: 53.87 MB / 243.7 MB, free: 14.9 MB / 250.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.3305/0.3305, allocations: 34.86 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02643/0.3569, allocations: 13.24 MB / 292.6 MB, free: 6.453 MB / 282.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 1.442e-06/1.442e-06, allocations: 0 / 293.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.365e-05, allocations: 3.078 kB / 293.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01207/0.01209, allocations: 14.18 MB / 308.1 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007863/0.01995, allocations: 4.538 MB / 312.6 MB, free: 2.375 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.02171, allocations: 91.62 kB / 312.7 MB, free: 2.285 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.02413, allocations: 2.285 MB / 315 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.02747, allocations: 2.104 MB / 317.1 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.02849, allocations: 0.6081 MB / 317.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004335/0.03283, allocations: 4.644 MB / 322.3 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003112/0.03594, allocations: 2.756 MB / 325.1 MB, free: 5.797 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003702/0.03964, allocations: 2.621 MB / 327.7 MB, free: 3.172 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00279/0.04243, allocations: 2.17 MB / 329.9 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007233/0.04315, allocations: 332 kB / 330.2 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.04468, allocations: 1.018 MB / 331.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001525/0.04621, allocations: 1.866 MB / 333.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.04732, allocations: 1.059 MB / 334.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004095/0.05141, allocations: 4.583 MB / 338.7 MB, free: 8.117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.251e-05/0.05144, allocations: 0 / 338.7 MB, free: 8.117 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.05144, allocations: 0 / 338.7 MB, free: 8.117 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001075/0.05155, allocations: 4 kB / 338.7 MB, free: 8.113 MB / 330.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.005508/0.05705, allocations: 5.707 MB / 344.4 MB, free: 2.332 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.05709, allocations: 12.92 kB / 344.4 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003711/0.0608, allocations: 1.526 MB / 346 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.0631, allocations: 1.748 MB / 347.7 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.06322, allocations: 250.6 kB / 348 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003828/0.0636, allocations: 332.1 kB / 348.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005258/0.06886, allocations: 5.354 MB / 353.6 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.76e-05/0.06893, allocations: 35.7 kB / 353.7 MB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000259/0.06919, allocations: 151.8 kB / 353.8 MB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00229/0.07148, allocations: 2.473 MB / 356.3 MB, free: 5.887 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004505/0.07598, allocations: 2.987 MB / 359.3 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02911/0.1051, allocations: 30.16 MB / 389.4 MB, free: 3.625 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003608/0.1087, allocations: 1.533 MB / 391 MB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.1092, allocations: 370.7 kB / 391.3 MB, free: 1.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005807/0.115, allocations: 3.877 MB / 395.2 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.1151, allocations: 55.81 kB / 395.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=185): time 4.859e-06/0.1151, allocations: 0 / 395.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=198): time 0.01145/0.1265, allocations: 5.649 MB / 400.9 MB, free: 8.066 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.1266, allocations: 68.7 kB / 401 MB, free: 7.988 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/0.1291, allocations: 2.81 MB / 403.8 MB, free: 5.152 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.163e-05/0.1291, allocations: 57.64 kB / 403.9 MB, free: 5.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001709/0.1309, allocations: 3.321 MB / 407.2 MB, free: 1.738 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000429/0.1313, allocations: 0.7711 MB / 407.9 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008553/0.1321, allocations: 1.113 MB / 409.1 MB, free: 15.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.299e-05/0.1322, allocations: 301.1 kB / 409.4 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.1332, allocations: 0.7385 MB / 410.1 MB, free: 14.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002458/0.1357, allocations: 4.084 MB / 414.2 MB, free: 8.969 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003637/0.1393, allocations: 5.329 MB / 419.5 MB, free: 1.918 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.632e-05/0.1394, allocations: 36 kB / 419.5 MB, free: 1.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.004353/0.1437, allocations: 3.924 MB / 423.5 MB, free: 13.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.859e-05/0.1438, allocations: 56 kB / 423.5 MB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.374e-05/0.1438, allocations: 124 kB / 423.6 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/0.1441, allocations: 219.9 kB / 423.9 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/0.1465, allocations: 1.439 MB / 425.3 MB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001203/0.1466, allocations: 239.1 kB / 425.5 MB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.1486, allocations: 231.9 kB / 425.8 MB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002766/0.1488, allocations: 308 kB / 426.1 MB, free: 11.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 560 * 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 (736): * Single equations (assignments): 728 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001338/0.1502, allocations: 0.5964 MB / 426.6 MB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/0.1505, allocations: 207.7 kB / 426.9 MB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.1517, allocations: 0.9778 MB / 427.8 MB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/0.1517, allocations: 27.98 kB / 427.9 MB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1517, allocations: 0 / 427.9 MB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.1517, allocations: 7.969 kB / 427.9 MB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006233/0.158, allocations: 4.646 MB / 432.5 MB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.158, allocations: 11.94 kB / 432.5 MB, free: 4.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007289/0.1587, allocations: 292.4 kB / 432.8 MB, free: 4.336 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005191/0.1592, allocations: 258 kB / 433.1 MB, free: 4.082 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003353/0.1596, allocations: 232 kB / 433.3 MB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/0.1596, allocations: 36 kB / 433.3 MB, free: 3.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.359e-05/0.1597, allocations: 23.92 kB / 433.3 MB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.1597, allocations: 15.94 kB / 433.4 MB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.1615, allocations: 1.619 MB / 435 MB, free: 1.973 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004358/0.1619, allocations: 47.97 kB / 435 MB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005409/0.1625, allocations: 28 kB / 435.1 MB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.1626, allocations: 124.6 kB / 435.2 MB, free: 1.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.575e-05/0.1627, allocations: 55.98 kB / 435.2 MB, free: 1.719 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009562/0.1637, allocations: 0.989 MB / 436.2 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1637, allocations: 7.828 kB / 436.2 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.1715/0.3351, allocations: 0.9966 MB / 437.2 MB, free: 101.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (152): * Single equations (assignments): 144 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006531/0.3358, allocations: 171.7 kB / 437.4 MB, free: 101.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003461/0.3392, allocations: 2.357 MB / 439.7 MB, free: 101.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002505/0.3395, allocations: 107.6 kB / 439.9 MB, free: 101.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006874/0.3402, allocations: 0.4966 MB / 440.4 MB, free: 101.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/0.3431, allocations: 0.8933 MB / 441.2 MB, free: 101.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.356, allocations: 8.79 MB / 450 MB, free: 97.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.3574, allocations: 1.413 MB / 451.4 MB, free: 97.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001439/0.3588, allocations: 485.2 kB / 451.9 MB, free: 97.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007962/0.3596, allocations: 0.5174 MB / 452.4 MB, free: 97.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.943e-06/0.3596, allocations: 0 / 452.4 MB, free: 97.64 MB / 426.7 MB Notification: Performance of Templates: time 0.04235/0.402, allocations: 26.73 MB / 479.2 MB, free: 80.29 MB / 426.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 -ignoreHideResult -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.082834098488092]