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.0009639/0.0009639, allocations: 95.5 kB / 21.2 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.0009814/0.0009814, allocations: 160.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.9938/0.9938, allocations: 177 MB / 204.8 MB, free: 5.566 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.2592/0.2592, allocations: 34.87 MB / 296.3 MB, free: 0.5547 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.284e-06/2.284e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.982e-05, allocations: 2.312 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01188/0.01191, allocations: 14.4 MB / 393.2 MB, free: 3.602 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008362/0.02027, allocations: 4.333 MB / 397.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.02256, allocations: 87.69 kB / 397.6 MB, free: 15.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003058/0.02561, allocations: 2.386 MB / 400 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.0298, allocations: 2.135 MB / 402.1 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.03109, allocations: 0.6781 MB / 402.8 MB, free: 9.949 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005495/0.03658, allocations: 4.69 MB / 407.5 MB, free: 5.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003938/0.04052, allocations: 3.02 MB / 410.5 MB, free: 2.176 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004097/0.04462, allocations: 2.569 MB / 413.1 MB, free: 15.6 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002872/0.04749, allocations: 2.307 MB / 415.4 MB, free: 13.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001022/0.04851, allocations: 336 kB / 415.7 MB, free: 12.96 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.05011, allocations: 0.9907 MB / 416.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001671/0.05178, allocations: 2.08 MB / 418.8 MB, free: 9.883 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00178/0.05356, allocations: 1.296 MB / 420.1 MB, free: 8.582 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006031/0.05959, allocations: 4.883 MB / 425 MB, free: 3.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.0596, allocations: 0 / 425 MB, free: 3.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.0596, allocations: 0 / 425 MB, free: 3.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003845/0.05998, allocations: 0 / 425 MB, free: 3.68 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.009601/0.06958, allocations: 5.551 MB / 430.5 MB, free: 14.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.06963, allocations: 8.031 kB / 430.5 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007091/0.07672, allocations: 3.82 MB / 434.3 MB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003849/0.08057, allocations: 2.185 MB / 436.5 MB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.08071, allocations: 246.6 kB / 436.8 MB, free: 7.762 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004864/0.0812, allocations: 332.1 kB / 437.1 MB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009994/0.09119, allocations: 6.344 MB / 443.4 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-05/0.09129, allocations: 35.7 kB / 443.5 MB, free: 348 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000313/0.0916, allocations: 151.8 kB / 443.6 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1806/0.2722, allocations: 2.794 MB / 446.4 MB, free: 89.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01229/0.2844, allocations: 3.667 MB / 450.1 MB, free: 89.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0337/0.3181, allocations: 40.93 MB / 491 MB, free: 60.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004002/0.3221, allocations: 1.697 MB / 492.7 MB, free: 60.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009423/0.3231, allocations: 0.5412 MB / 493.3 MB, free: 60.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008187/0.3313, allocations: 4.462 MB / 497.7 MB, free: 58.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.3313, allocations: 48.42 kB / 497.8 MB, free: 58.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 5.37e-06/0.3313, allocations: 5.031 kB / 497.8 MB, free: 58.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=198): time 0.01518/0.3465, allocations: 7.302 MB / 0.4932 GB, free: 56.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.3465, allocations: 66.16 kB / 0.4933 GB, free: 56.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003563/0.3501, allocations: 3.141 MB / 0.4964 GB, free: 55.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.3502, allocations: 51.28 kB / 0.4964 GB, free: 55.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001742/0.352, allocations: 3.6 MB / 0.4999 GB, free: 52.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006438/0.3526, allocations: 0.8123 MB / 0.5007 GB, free: 51.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/0.3537, allocations: 1.284 MB / 0.502 GB, free: 51.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.3537, allocations: 479.9 kB / 0.5024 GB, free: 50.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.3549, allocations: 0.6403 MB / 0.5031 GB, free: 50.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002764/0.3576, allocations: 5.813 MB / 0.5087 GB, free: 42.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004583/0.3622, allocations: 7.121 MB / 0.5157 GB, free: 33.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001062/0.3623, allocations: 36 kB / 0.5157 GB, free: 33.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.007018/0.3693, allocations: 5.02 MB / 0.5206 GB, free: 28.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.3694, allocations: 56 kB / 0.5207 GB, free: 28.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001506/0.3696, allocations: 128.6 kB / 0.5208 GB, free: 28.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003705/0.3699, allocations: 215.3 kB / 0.521 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/0.3723, allocations: 1.365 MB / 0.5223 GB, free: 27.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001116/0.3724, allocations: 241.7 kB / 0.5226 GB, free: 26.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.3748, allocations: 348.1 kB / 0.5229 GB, free: 26.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/0.3751, allocations: 355.2 kB / 0.5232 GB, free: 26.3 MB / 410.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.001239/0.3763, allocations: 0.6437 MB / 0.5239 GB, free: 25.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/0.3766, allocations: 353.9 kB / 0.5242 GB, free: 25.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.3781, allocations: 1.284 MB / 0.5255 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.3782, allocations: 28 kB / 0.5255 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3782, allocations: 2.531 kB / 0.5255 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.3782, allocations: 6 kB / 0.5255 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007513/0.3857, allocations: 5.903 MB / 0.5313 GB, free: 18.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.3857, allocations: 12.19 kB / 0.5313 GB, free: 18.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006517/0.3863, allocations: 307.5 kB / 0.5316 GB, free: 18.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001708/0.3865, allocations: 75.77 kB / 0.5316 GB, free: 18.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.71e-05/0.3866, allocations: 40 kB / 0.5317 GB, free: 18.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.317e-05/0.3866, allocations: 24.56 kB / 0.5317 GB, free: 18.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.3866, allocations: 15.94 kB / 0.5317 GB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.3887, allocations: 2.182 MB / 0.5338 GB, free: 16.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/0.3892, allocations: 281.7 kB / 0.5341 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.3894, allocations: 43.84 kB / 0.5342 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005512/0.39, allocations: 106.7 kB / 0.5343 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.3901, allocations: 134.9 kB / 0.5344 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.733e-05/0.3902, allocations: 74.64 kB / 0.5345 GB, free: 15.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001242/0.3914, allocations: 1.306 MB / 0.5357 GB, free: 14.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3914, allocations: 0 / 0.5357 GB, free: 14.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003217/0.3946, allocations: 0.9999 MB / 0.5367 GB, free: 13.6 MB / 410.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.0003624/0.395, allocations: 190.9 kB / 0.5369 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003703/0.3987, allocations: 2.755 MB / 0.5396 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.3987, allocations: 0 / 0.5396 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007224/0.3994, allocations: 0.6348 MB / 0.5402 GB, free: 10.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.4007, allocations: 357.7 kB / 0.5405 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.4109, allocations: 8.697 MB / 0.549 GB, free: 1.172 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009492/0.4118, allocations: 1.405 MB / 0.5504 GB, free: 15.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002473/0.4143, allocations: 1.638 MB / 0.552 GB, free: 14.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/0.4148, allocations: 232.5 kB / 0.5522 GB, free: 13.87 MB / 426.7 MB Notification: Performance of SimCode: time 2.405e-06/0.4148, allocations: 4 kB / 0.5522 GB, free: 13.87 MB / 426.7 MB Notification: Performance of Templates: time 0.0422/0.457, allocations: 24.47 MB / 0.5761 GB, free: 5.93 MB / 442.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.129594170954078]