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.0009786/0.0009786, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.00253, allocations: 457.8 kB / 10.45 MB, free: 244 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.001222/0.001222, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002147/0.00337, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.062/1.062, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0935/1.155, allocations: 53.87 MB / 243.9 MB, free: 14.82 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.2587/0.2587, allocations: 34.88 MB / 279.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02897/0.2876, allocations: 13.24 MB / 292.8 MB, free: 6.355 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 2.525e-06/2.525e-06, allocations: 0 / 294.1 MB, free: 5.047 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.837e-05, allocations: 9.797 kB / 294.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01573/0.01576, allocations: 14.18 MB / 308.3 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007888/0.02365, allocations: 4.525 MB / 312.8 MB, free: 2.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.02523, allocations: 91.62 kB / 312.9 MB, free: 2.164 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002431/0.02766, allocations: 2.3 MB / 315.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003158/0.03082, allocations: 2.1 MB / 317.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009759/0.0318, allocations: 0.6081 MB / 317.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003923/0.03572, allocations: 4.642 MB / 322.6 MB, free: 8.492 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003099/0.03882, allocations: 2.756 MB / 325.3 MB, free: 5.668 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003402/0.04222, allocations: 2.624 MB / 327.9 MB, free: 3.039 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00287/0.04509, allocations: 2.174 MB / 330.1 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009235/0.04601, allocations: 332 kB / 330.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.04807, allocations: 1.014 MB / 331.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001947/0.05002, allocations: 1.866 MB / 333.3 MB, free: 13.65 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002097/0.05211, allocations: 1.063 MB / 334.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005763/0.05788, allocations: 4.579 MB / 339 MB, free: 7.984 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.669e-05/0.05789, allocations: 0 / 339 MB, free: 7.984 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.0579, allocations: 4 kB / 339 MB, free: 7.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002664/0.05816, allocations: 0 / 339 MB, free: 7.98 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.007186/0.06535, allocations: 5.703 MB / 344.7 MB, free: 2.203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.06539, allocations: 12.92 kB / 344.7 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003837/0.06922, allocations: 1.522 MB / 346.2 MB, free: 0.668 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002414/0.07164, allocations: 1.759 MB / 348 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.07176, allocations: 254.6 kB / 348.2 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003931/0.07215, allocations: 328.1 kB / 348.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006722/0.07888, allocations: 5.347 MB / 353.9 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-05/0.07896, allocations: 35.7 kB / 353.9 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000282/0.07924, allocations: 159.8 kB / 354.1 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002102/0.08135, allocations: 2.325 MB / 356.4 MB, free: 5.895 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006758/0.0881, allocations: 2.972 MB / 359.4 MB, free: 2.902 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03157/0.1197, allocations: 30.18 MB / 389.5 MB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003401/0.1231, allocations: 1.531 MB / 391.1 MB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004856/0.1236, allocations: 366.7 kB / 391.4 MB, free: 1.734 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006037/0.1296, allocations: 3.873 MB / 395.3 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.1296, allocations: 47.88 kB / 395.4 MB, free: 13.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=185): time 4.729e-06/0.1296, allocations: 0 / 395.4 MB, free: 13.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=198): time 0.01198/0.1416, allocations: 6.109 MB / 401.5 MB, free: 7.637 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.1417, allocations: 68.72 kB / 401.5 MB, free: 7.559 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002584/0.1442, allocations: 2.814 MB / 404.3 MB, free: 4.719 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.1443, allocations: 53.7 kB / 404.4 MB, free: 4.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.1458, allocations: 3.321 MB / 407.7 MB, free: 1.309 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004659/0.1462, allocations: 0.7711 MB / 408.5 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008936/0.1471, allocations: 1.117 MB / 409.6 MB, free: 15.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.1473, allocations: 301.1 kB / 409.9 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.1484, allocations: 0.7385 MB / 410.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002297/0.1507, allocations: 4.084 MB / 414.7 MB, free: 8.535 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004008/0.1547, allocations: 5.743 MB / 420.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-05/0.1548, allocations: 36 kB / 420.5 MB, free: 1.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.004246/0.159, allocations: 3.909 MB / 424.4 MB, free: 13.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/0.1591, allocations: 63.94 kB / 424.5 MB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/0.1592, allocations: 136 kB / 424.6 MB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/0.1595, allocations: 219.2 kB / 424.8 MB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/0.1618, allocations: 1.435 MB / 426.3 MB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001256/0.1619, allocations: 243 kB / 426.5 MB, free: 11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/0.1641, allocations: 240 kB / 426.7 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/0.1644, allocations: 304 kB / 427 MB, free: 10.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.001407/0.1658, allocations: 0.5964 MB / 427.6 MB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003273/0.1661, allocations: 207.7 kB / 427.8 MB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.1674, allocations: 0.9817 MB / 428.8 MB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.1675, allocations: 12 kB / 428.8 MB, free: 8.641 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1675, allocations: 4 kB / 428.8 MB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.1675, allocations: 11.91 kB / 428.8 MB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006358/0.1738, allocations: 4.642 MB / 433.5 MB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.249e-05/0.1739, allocations: 23.98 kB / 433.5 MB, free: 3.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007805/0.1747, allocations: 291.6 kB / 433.8 MB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005772/0.1752, allocations: 269.9 kB / 434 MB, free: 3.211 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003717/0.1756, allocations: 220.4 kB / 434.3 MB, free: 2.984 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9e-05/0.1757, allocations: 44 kB / 434.3 MB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.976e-05/0.1757, allocations: 23.92 kB / 434.3 MB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.1757, allocations: 12.06 kB / 434.3 MB, free: 2.906 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.1776, allocations: 1.638 MB / 436 MB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.1778, allocations: 40 kB / 436 MB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/0.1783, allocations: 28 kB / 436 MB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.1785, allocations: 140.5 kB / 436.2 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.562e-05/0.1785, allocations: 48 kB / 436.2 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.1784/0.357, allocations: 0.9851 MB / 437.2 MB, free: 117.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.357, allocations: 0 / 437.2 MB, free: 117.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004325/0.3613, allocations: 0.9993 MB / 438.2 MB, free: 117.3 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.0004536/0.3617, allocations: 185.6 kB / 438.4 MB, free: 117.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003534/0.3653, allocations: 2.466 MB / 440.9 MB, free: 117.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002676/0.3655, allocations: 106.5 kB / 441 MB, free: 117.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002072/0.3676, allocations: 1.203 MB / 442.2 MB, free: 116.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.3699, allocations: 2.136 MB / 444.3 MB, free: 115.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.3824, allocations: 8.79 MB / 453.1 MB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/0.3839, allocations: 1.405 MB / 454.5 MB, free: 111.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00122/0.3851, allocations: 475.8 kB / 455 MB, free: 111.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006411/0.3857, allocations: 493.4 kB / 455.4 MB, free: 111.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/0.3857, allocations: 0 / 455.4 MB, free: 111.5 MB / 426.7 MB Notification: Performance of Templates: time 0.0403/0.426, allocations: 25.24 MB / 480.7 MB, free: 89.82 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.565228318795562]