Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.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.001118/0.001118, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001566/0.002684, allocations: 449.7 kB / 10.37 MB, free: 328 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.001068/0.001068, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002401, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.065/1.065, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1303/1.196, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3206/0.3206, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03264/0.3532, allocations: 12.52 MB / 289.3 MB, free: 8.688 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.336e-05/3.594e-05, allocations: 4.172 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01481/0.01485, allocations: 14.18 MB / 304.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.02616, allocations: 4.535 MB / 309.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003456/0.02962, allocations: 87.69 kB / 309.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004314/0.03393, allocations: 2.3 MB / 311.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005993/0.03993, allocations: 2.104 MB / 313.8 MB, free: 1.008 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.04182, allocations: 0.6041 MB / 314.4 MB, free: 412 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007141/0.04896, allocations: 4.639 MB / 319.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005166/0.05412, allocations: 2.763 MB / 321.8 MB, free: 8.926 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007796/0.06192, allocations: 2.62 MB / 324.5 MB, free: 6.301 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004195/0.06612, allocations: 2.17 MB / 326.6 MB, free: 4.125 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009706/0.06709, allocations: 332 kB / 326.9 MB, free: 3.801 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002228/0.06931, allocations: 1.014 MB / 328 MB, free: 2.785 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002191/0.0715, allocations: 1.866 MB / 329.8 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001903/0.07341, allocations: 1.067 MB / 330.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006565/0.07997, allocations: 4.587 MB / 335.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.407e-05/0.08, allocations: 0 / 335.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.08, allocations: 0 / 335.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002909/0.08029, allocations: 4 kB / 335.5 MB, free: 11.23 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.008591/0.08888, allocations: 5.699 MB / 341.2 MB, free: 5.461 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.08894, allocations: 8.031 kB / 341.2 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004015/0.09295, allocations: 1.526 MB / 342.7 MB, free: 3.926 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003627/0.09658, allocations: 1.755 MB / 344.5 MB, free: 2.137 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.09675, allocations: 250.6 kB / 344.7 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005718/0.09732, allocations: 328.1 kB / 345 MB, free: 1.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008656/0.106, allocations: 5.346 MB / 350.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.165e-05/0.1061, allocations: 35.69 kB / 350.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003058/0.1064, allocations: 155.8 kB / 350.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002253/0.1086, allocations: 2.473 MB / 353 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008216/0.1168, allocations: 2.976 MB / 356 MB, free: 6.016 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04367/0.1605, allocations: 30.17 MB / 386.2 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004926/0.1654, allocations: 1.533 MB / 387.7 MB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007864/0.1662, allocations: 375.4 kB / 388.1 MB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008351/0.1746, allocations: 3.869 MB / 392 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.1746, allocations: 43.88 kB / 392 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=185): time 5.721e-06/0.1746, allocations: 0 / 392 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of matching and sorting (n=198): time 0.01465/0.1893, allocations: 5.669 MB / 397.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.1893, allocations: 68.72 kB / 397.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/0.1922, allocations: 2.802 MB / 400.5 MB, free: 8.289 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.194e-05/0.1923, allocations: 49.69 kB / 400.6 MB, free: 8.234 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001915/0.1942, allocations: 3.325 MB / 403.9 MB, free: 4.879 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005888/0.1948, allocations: 0.7751 MB / 404.7 MB, free: 4.098 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009386/0.1958, allocations: 1.116 MB / 405.8 MB, free: 2.969 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.1959, allocations: 301.1 kB / 406.1 MB, free: 2.672 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.197, allocations: 0.7424 MB / 406.8 MB, free: 1.922 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002806/0.1998, allocations: 4.088 MB / 410.9 MB, free: 12.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004491/0.2043, allocations: 5.325 MB / 416.3 MB, free: 5.047 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.789e-05/0.2043, allocations: 36 kB / 416.3 MB, free: 5.012 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.005299/0.2096, allocations: 3.908 MB / 420.2 MB, free: 1.078 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/0.2097, allocations: 60 kB / 420.3 MB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-05/0.2098, allocations: 120 kB / 420.4 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/0.2102, allocations: 224 kB / 420.6 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/0.2129, allocations: 1.439 MB / 422 MB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001591/0.2131, allocations: 247 kB / 422.3 MB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/0.2157, allocations: 231.9 kB / 422.5 MB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003319/0.216, allocations: 304 kB / 422.8 MB, free: 14.47 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.001805/0.2178, allocations: 0.6003 MB / 423.4 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003953/0.2182, allocations: 203.7 kB / 423.6 MB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.2195, allocations: 0.9779 MB / 424.6 MB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/0.2195, allocations: 20 kB / 424.6 MB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.2195, allocations: 4.062 kB / 424.6 MB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.2196, allocations: 15.97 kB / 424.6 MB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007034/0.2266, allocations: 4.642 MB / 429.3 MB, free: 7.777 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.2266, allocations: 15.94 kB / 429.3 MB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007473/0.2274, allocations: 288.5 kB / 429.6 MB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005313/0.2279, allocations: 273.9 kB / 429.8 MB, free: 7.211 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003463/0.2282, allocations: 224.1 kB / 430 MB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.929e-05/0.2283, allocations: 36 kB / 430.1 MB, free: 6.945 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.438e-05/0.2283, allocations: 23.92 kB / 430.1 MB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.2283, allocations: 11.94 kB / 430.1 MB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.23, allocations: 1.631 MB / 431.7 MB, free: 5.105 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002613/0.2302, allocations: 39.98 kB / 431.8 MB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.2307, allocations: 32 kB / 431.8 MB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.2308, allocations: 124.6 kB / 431.9 MB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/0.2309, allocations: 55.97 kB / 432 MB, free: 4.855 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008566/0.2318, allocations: 0.9929 MB / 433 MB, free: 3.855 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2318, allocations: 0 / 433 MB, free: 3.855 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003657/0.2354, allocations: 0.9999 MB / 434 MB, free: 2.855 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.0003778/0.2358, allocations: 167.9 kB / 434.1 MB, free: 2.684 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003244/0.239, allocations: 2.345 MB / 436.5 MB, free: 356 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001749/0.2392, allocations: 118.7 kB / 436.6 MB, free: 228 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1688/0.408, allocations: 0.4946 MB / 437.1 MB, free: 126.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003657/0.4116, allocations: 0.8951 MB / 438 MB, free: 126.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/0.4286, allocations: 8.793 MB / 446.8 MB, free: 123.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002031/0.4306, allocations: 1.407 MB / 448.2 MB, free: 122.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001637/0.4322, allocations: 494 kB / 448.7 MB, free: 122.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007856/0.433, allocations: 0.5124 MB / 449.2 MB, free: 122.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.535e-06/0.433, allocations: 3.828 kB / 449.2 MB, free: 122.8 MB / 426.7 MB Notification: Performance of Templates: time 0.048/0.481, allocations: 26.72 MB / 475.9 MB, free: 101.2 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3568044966086745]