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.001276/0.001276, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001408/0.001408, allocations: 168.7 kB / 24.91 MB, free: 9.199 MB / 18.57 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.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.2321/0.2321, allocations: 32.8 MB / 294.6 MB, free: 1.246 MB / 266.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 1.523e-06/1.523e-06, allocations: 0 / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.801e-05, allocations: 5.578 kB / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.0153/0.01532, allocations: 14.07 MB / 337.3 MB, free: 11.51 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00896/0.02428, allocations: 4.488 MB / 341.8 MB, free: 7.008 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009465/0.02522, allocations: 95.62 kB / 341.9 MB, free: 6.914 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003299/0.02852, allocations: 2.347 MB / 344.3 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.03069, allocations: 2.1 MB / 346.4 MB, free: 2.449 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.0314, allocations: 0.682 MB / 347.1 MB, free: 1.766 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002803/0.0342, allocations: 4.695 MB / 351.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.03605, allocations: 2.993 MB / 354.7 MB, free: 10 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.03777, allocations: 2.526 MB / 357.3 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.03939, allocations: 2.19 MB / 359.5 MB, free: 5.273 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002826/0.03967, allocations: 332 kB / 359.8 MB, free: 4.949 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009908/0.04067, allocations: 1.01 MB / 360.8 MB, free: 3.938 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001038/0.0417, allocations: 2.084 MB / 362.9 MB, free: 1.848 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008056/0.04251, allocations: 1.289 MB / 364.2 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002997/0.04551, allocations: 4.883 MB / 369 MB, free: 11.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.04551, allocations: 0 / 369 MB, free: 11.65 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.04551, allocations: 0 / 369 MB, free: 11.65 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.138e-05/0.04554, allocations: 4 kB / 369.1 MB, free: 11.65 MB / 346.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.003946/0.04949, allocations: 4.726 MB / 373.8 MB, free: 6.867 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.04952, allocations: 8.031 kB / 373.8 MB, free: 6.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00375/0.05327, allocations: 1.526 MB / 375.3 MB, free: 5.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/0.05504, allocations: 1.759 MB / 377.1 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.05516, allocations: 250.6 kB / 377.3 MB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003806/0.05554, allocations: 332.1 kB / 377.6 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005007/0.06055, allocations: 5.35 MB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.69e-05/0.06062, allocations: 35.69 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002676/0.06088, allocations: 155.8 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002067/0.06295, allocations: 2.454 MB / 385.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00428/0.06723, allocations: 2.98 MB / 388.6 MB, free: 7.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02338/0.09061, allocations: 30.14 MB / 418.7 MB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004202/0.09481, allocations: 1.571 MB / 420.3 MB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006396/0.09545, allocations: 379.4 kB / 420.7 MB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006873/0.1023, allocations: 3.935 MB / 424.6 MB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.1024, allocations: 51.81 kB / 424.7 MB, free: 2.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=185): time 3.557e-06/0.1024, allocations: 0 / 424.7 MB, free: 2.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=198): time 0.01481/0.1172, allocations: 5.747 MB / 430.4 MB, free: 12.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.1172, allocations: 68.72 kB / 430.5 MB, free: 12.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00253/0.1197, allocations: 2.802 MB / 433.3 MB, free: 9.543 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-05/0.1198, allocations: 49.7 kB / 433.3 MB, free: 9.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001644/0.1215, allocations: 3.325 MB / 436.7 MB, free: 6.129 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004915/0.122, allocations: 0.7673 MB / 437.4 MB, free: 5.355 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/0.1231, allocations: 1.12 MB / 438.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.105e-05/0.1232, allocations: 301.1 kB / 438.8 MB, free: 3.926 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.1246, allocations: 0.7385 MB / 439.6 MB, free: 3.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003138/0.1278, allocations: 4.096 MB / 443.7 MB, free: 13.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00442/0.1322, allocations: 5.321 MB / 449 MB, free: 6.297 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-05/0.1322, allocations: 36 kB / 449 MB, free: 6.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.004909/0.1372, allocations: 3.92 MB / 453 MB, free: 2.316 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.1373, allocations: 62.34 kB / 453 MB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001028/0.1374, allocations: 120 kB / 453.1 MB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000341/0.1378, allocations: 227.9 kB / 453.4 MB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/0.1407, allocations: 1.341 MB / 454.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001505/0.1409, allocations: 243.1 kB / 454.9 MB, free: 336 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/0.1431, allocations: 228 kB / 455.2 MB, free: 108 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1382/0.2813, allocations: 304.8 kB / 455.5 MB, free: 123.3 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.00159/0.2829, allocations: 0.6048 MB / 456.1 MB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/0.2832, allocations: 200.5 kB / 456.3 MB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.2844, allocations: 0.985 MB / 457.2 MB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.2845, allocations: 21.66 kB / 457.3 MB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2845, allocations: 4.406 kB / 457.3 MB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.2845, allocations: 7.266 kB / 457.3 MB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/0.2894, allocations: 4.653 MB / 461.9 MB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.2894, allocations: 8.375 kB / 461.9 MB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006368/0.29, allocations: 278.7 kB / 462.2 MB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002882/0.2903, allocations: 226.5 kB / 462.4 MB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/0.2904, allocations: 35.19 kB / 462.5 MB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.2904, allocations: 21.88 kB / 462.5 MB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.2904, allocations: 13.03 kB / 462.5 MB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.2917, allocations: 1.624 MB / 464.1 MB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.2919, allocations: 274.8 kB / 464.4 MB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.2921, allocations: 43.62 kB / 464.4 MB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004337/0.2925, allocations: 29.91 kB / 464.5 MB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.2927, allocations: 123.9 kB / 464.6 MB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.896e-05/0.2927, allocations: 60.45 kB / 464.6 MB, free: 121.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000603/0.2933, allocations: 0.9821 MB / 465.6 MB, free: 121.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2933, allocations: 0 / 465.6 MB, free: 121.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002161/0.2955, allocations: 0.9979 MB / 466.6 MB, free: 121.5 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.0002569/0.2958, allocations: 172.4 kB / 466.8 MB, free: 121.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001962/0.2977, allocations: 2.354 MB / 469.1 MB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001204/0.2978, allocations: 93.97 kB / 469.2 MB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004473/0.2983, allocations: 0.5026 MB / 469.7 MB, free: 121.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.2994, allocations: 0.6939 MB / 470.4 MB, free: 121.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006552/0.306, allocations: 8.42 MB / 478.9 MB, free: 113.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008856/0.3069, allocations: 1.388 MB / 480.2 MB, free: 112.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008839/0.3077, allocations: 482.4 kB / 480.7 MB, free: 112.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006279/0.3084, allocations: 0.514 MB / 481.2 MB, free: 111.9 MB / 426.7 MB Notification: Performance of SimCode: time 7.62e-07/0.3084, allocations: 0 / 481.2 MB, free: 111.9 MB / 426.7 MB Notification: Performance of Templates: time 0.03479/0.3432, allocations: 26.27 MB / 0.4956 GB, free: 86.61 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 -s gbode -gbm=radauIIA3 -emit_protected -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.047481268178672]