Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.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.001349/0.001349, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.00141/0.00141, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9357/0.9357, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1333/0.1333, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.[0-9,]+.|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|freeMotion.w_rel_b.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.[0-9,]+.|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|freeMotion.w_rel_b.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 3.938 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.464e-05, allocations: 2.312 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.008069/0.008104, allocations: 11.06 MB / 358.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006969/0.01507, allocations: 4.078 MB / 362.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.01655, allocations: 83.56 kB / 362.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003064/0.01961, allocations: 2.776 MB / 365.7 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003413/0.02302, allocations: 1.995 MB / 367.7 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.02427, allocations: 0.7988 MB / 368.5 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004668/0.02894, allocations: 4.904 MB / 373.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00359/0.03253, allocations: 3.374 MB / 376.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003282/0.03581, allocations: 2.444 MB / 379.2 MB, free: 9.773 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003148/0.03896, allocations: 2.397 MB / 381.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009168/0.03988, allocations: 340 kB / 381.9 MB, free: 7.039 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.04184, allocations: 1.217 MB / 383.1 MB, free: 5.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001765/0.0436, allocations: 2.155 MB / 385.3 MB, free: 3.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00167/0.04527, allocations: 1.332 MB / 386.6 MB, free: 2.324 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004887/0.05016, allocations: 4.709 MB / 391.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.05016, allocations: 0 / 391.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.05016, allocations: 0 / 391.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.574e-05/0.05024, allocations: 0 / 391.3 MB, free: 13.6 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: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.005594/0.05583, allocations: 5.302 MB / 396.6 MB, free: 8.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.05588, allocations: 12.03 kB / 396.6 MB, free: 8.219 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004163/0.06004, allocations: 2.444 MB / 399.1 MB, free: 5.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002758/0.0628, allocations: 2.164 MB / 401.2 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.06302, allocations: 246.6 kB / 401.5 MB, free: 3.312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005154/0.06353, allocations: 416.2 kB / 401.9 MB, free: 2.906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007919/0.07145, allocations: 6.296 MB / 408.2 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.832e-05/0.07154, allocations: 39.64 kB / 408.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/0.07181, allocations: 159.9 kB / 408.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001572/0.07338, allocations: 1.884 MB / 410.3 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006702/0.08009, allocations: 3.499 MB / 413.8 MB, free: 6.062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1948/0.2749, allocations: 43.46 MB / 457.2 MB, free: 52.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005074/0.28, allocations: 2.219 MB / 459.4 MB, free: 52.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.281, allocations: 0.5912 MB / 460 MB, free: 52.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006936/0.2879, allocations: 4.756 MB / 464.8 MB, free: 51.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.288, allocations: 55.45 kB / 464.8 MB, free: 51.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 4.408e-06/0.288, allocations: 0.9062 kB / 464.8 MB, free: 51.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=169): time 0.01837/0.3063, allocations: 10.95 MB / 475.8 MB, free: 48.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007637/0.3071, allocations: 2.032 MB / 477.8 MB, free: 46.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003483/0.3106, allocations: 3.542 MB / 481.4 MB, free: 46.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.3107, allocations: 49.86 kB / 481.4 MB, free: 46.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.312, allocations: 3.452 MB / 484.9 MB, free: 44.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000495/0.3125, allocations: 0.7386 MB / 485.6 MB, free: 43.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001074/0.3135, allocations: 1.343 MB / 486.9 MB, free: 43.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.867e-05/0.3136, allocations: 476.8 kB / 487.4 MB, free: 43.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.3146, allocations: 0.7108 MB / 488.1 MB, free: 42.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/0.317, allocations: 6.373 MB / 494.5 MB, free: 33.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004768/0.3218, allocations: 7.849 MB / 0.4906 GB, free: 24.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.553e-05/0.3219, allocations: 40 kB / 0.4906 GB, free: 24.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.01119/0.3331, allocations: 6.803 MB / 0.4972 GB, free: 18.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/0.3331, allocations: 68.25 kB / 0.4973 GB, free: 18.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004665/0.3378, allocations: 2.263 MB / 0.4995 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005056/0.3429, allocations: 1.828 MB / 0.5013 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002947/0.3458, allocations: 1.419 MB / 0.5027 GB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003907/0.3497, allocations: 4.779 MB / 0.5074 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003631/0.3533, allocations: 484.4 kB / 0.5078 GB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006686/0.354, allocations: 384 kB / 0.5082 GB, free: 6.699 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 39 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (770): * Single equations (assignments): 761 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001527/0.3555, allocations: 0.6662 MB / 0.5088 GB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005706/0.3561, allocations: 378.2 kB / 0.5092 GB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.3587, allocations: 1.746 MB / 0.5109 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002007/0.3607, allocations: 1.318 MB / 0.5122 GB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.3607, allocations: 0 / 0.5122 GB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.3607, allocations: 7.984 kB / 0.5122 GB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/0.3736, allocations: 6.986 MB / 0.519 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/0.3736, allocations: 4 kB / 0.519 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008279/0.3744, allocations: 275.6 kB / 0.5193 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00159/0.376, allocations: 0.6338 MB / 0.5199 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/0.3762, allocations: 47.97 kB / 0.52 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003073/0.3793, allocations: 4.217 MB / 0.5241 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007822/0.3801, allocations: 1.902 MB / 0.5259 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004291/0.3843, allocations: 2.995 MB / 0.5289 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008858/0.3852, allocations: 349.6 kB / 0.5292 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003095/0.3855, allocations: 35.94 kB / 0.5292 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009755/0.3865, allocations: 183.7 kB / 0.5294 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.3867, allocations: 128.5 kB / 0.5295 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.885e-05/0.3868, allocations: 59.34 kB / 0.5296 GB, free: 144 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002116/0.3889, allocations: 1.52 MB / 0.5311 GB, free: 14.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3889, allocations: 1.641 kB / 0.5311 GB, free: 14.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003936/0.3929, allocations: 1.16 MB / 0.5322 GB, free: 13.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (136): * Single equations (assignments): 129 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004373/0.3933, allocations: 190.3 kB / 0.5324 GB, free: 13.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005886/0.3992, allocations: 3.735 MB / 0.536 GB, free: 9.516 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.3992, allocations: 4 kB / 0.536 GB, free: 9.512 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00201/0.4012, allocations: 1.407 MB / 0.5374 GB, free: 8.055 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.4035, allocations: 439.2 kB / 0.5378 GB, free: 7.637 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.4159, allocations: 7.932 MB / 0.5456 GB, free: 15.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/0.4174, allocations: 1.224 MB / 0.5468 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00265/0.4201, allocations: 1.634 MB / 0.5484 GB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005554/0.4206, allocations: 240.4 kB / 0.5486 GB, free: 12.41 MB / 426.7 MB Notification: Performance of SimCode: time 2.004e-06/0.4206, allocations: 4 kB / 0.5486 GB, free: 12.41 MB / 426.7 MB Notification: Performance of Templates: time 0.04879/0.4694, allocations: 34.89 MB / 0.5827 GB, free: 9.621 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.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.590286310762167]