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.001228/0.001228, 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.001204/0.001204, allocations: 165.3 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.9623/0.9623, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.1557/0.1557, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.565e-06/2.565e-06, allocations: 0 / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.501e-05/3.757e-05, allocations: 10.19 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01974/0.01978, allocations: 11.06 MB / 358.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01806/0.03784, allocations: 4.07 MB / 362.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005172/0.04301, allocations: 79.62 kB / 362.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006973/0.04998, allocations: 2.788 MB / 365.7 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003584/0.05357, allocations: 1.995 MB / 367.7 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.05505, allocations: 0.7949 MB / 368.5 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004593/0.05965, allocations: 4.91 MB / 373.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003895/0.06354, allocations: 3.378 MB / 376.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003583/0.06713, allocations: 2.448 MB / 379.2 MB, free: 9.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/0.06942, allocations: 2.4 MB / 381.6 MB, free: 7.363 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004584/0.06987, allocations: 340 kB / 381.9 MB, free: 7.031 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.0715, allocations: 1.217 MB / 383.1 MB, free: 5.812 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001287/0.07279, allocations: 2.155 MB / 385.3 MB, free: 3.652 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.07392, allocations: 1.328 MB / 386.6 MB, free: 2.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004221/0.07814, allocations: 4.717 MB / 391.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.07814, allocations: 0 / 391.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.07815, allocations: 0 / 391.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001196/0.07827, allocations: 0 / 391.3 MB, free: 13.59 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.005972/0.08424, allocations: 5.302 MB / 396.6 MB, free: 8.219 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.0843, allocations: 8.031 kB / 396.6 MB, free: 8.211 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004409/0.08871, allocations: 2.451 MB / 399.1 MB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/0.0913, allocations: 2.2 MB / 401.3 MB, free: 3.496 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.09142, allocations: 242.6 kB / 401.5 MB, free: 3.258 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005113/0.09193, allocations: 412.2 kB / 401.9 MB, free: 2.855 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007015/0.09894, allocations: 6.296 MB / 408.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.239e-05/0.09903, allocations: 39.64 kB / 408.3 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002686/0.09929, allocations: 155.9 kB / 408.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001619/0.1009, allocations: 1.88 MB / 410.3 MB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006747/0.1077, allocations: 3.495 MB / 413.8 MB, free: 6.023 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2108/0.3185, allocations: 43.47 MB / 457.3 MB, free: 64.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005056/0.3235, allocations: 2.228 MB / 459.5 MB, free: 64.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008949/0.3244, allocations: 0.5854 MB / 460.1 MB, free: 64.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005279/0.3297, allocations: 4.747 MB / 464.8 MB, free: 63.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.3298, allocations: 62.55 kB / 464.9 MB, free: 63.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 3.827e-06/0.3298, allocations: 0 / 464.9 MB, free: 63.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=169): time 0.01895/0.3487, allocations: 10.94 MB / 475.8 MB, free: 60.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008342/0.3495, allocations: 2.042 MB / 477.9 MB, free: 58.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003162/0.3527, allocations: 3.537 MB / 481.4 MB, free: 56.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.874e-05/0.3528, allocations: 50.02 kB / 481.5 MB, free: 56.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.3541, allocations: 3.456 MB / 484.9 MB, free: 54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004017/0.3545, allocations: 0.7356 MB / 485.7 MB, free: 53.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/0.3556, allocations: 1.34 MB / 487 MB, free: 51.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.3557, allocations: 476.8 kB / 487.5 MB, free: 51.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009534/0.3567, allocations: 0.7108 MB / 488.2 MB, free: 50.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/0.359, allocations: 6.377 MB / 494.5 MB, free: 41.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004547/0.3636, allocations: 7.846 MB / 0.4906 GB, free: 31.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.396e-05/0.3636, allocations: 40 kB / 0.4907 GB, free: 31.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.01425/0.3779, allocations: 6.808 MB / 0.4973 GB, free: 25.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.378, allocations: 64 kB / 0.4974 GB, free: 24.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007302/0.3853, allocations: 2.263 MB / 0.4996 GB, free: 22.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007347/0.3927, allocations: 1.828 MB / 0.5014 GB, free: 20.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007224/0.3999, allocations: 1.427 MB / 0.5028 GB, free: 19.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003909/0.4038, allocations: 4.779 MB / 0.5074 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003411/0.4072, allocations: 477.4 kB / 0.5079 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004694/0.4077, allocations: 380 kB / 0.5082 GB, free: 13.57 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.001251/0.4089, allocations: 0.6664 MB / 0.5089 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004175/0.4093, allocations: 373.8 kB / 0.5092 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/0.4117, allocations: 1.755 MB / 0.511 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001994/0.4137, allocations: 1.315 MB / 0.5122 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.4137, allocations: 1.641 kB / 0.5122 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.4137, allocations: 11.97 kB / 0.5123 GB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009096/0.4228, allocations: 6.982 MB / 0.5191 GB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.4228, allocations: 4 kB / 0.5191 GB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/0.4234, allocations: 275.5 kB / 0.5193 GB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.4248, allocations: 0.6231 MB / 0.52 GB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.444e-05/0.4249, allocations: 51.95 kB / 0.52 GB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002478/0.4274, allocations: 4.212 MB / 0.5241 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007706/0.4281, allocations: 1.906 MB / 0.526 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003901/0.432, allocations: 3.007 MB / 0.5289 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006108/0.4326, allocations: 345.5 kB / 0.5292 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/0.4329, allocations: 31.98 kB / 0.5293 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008497/0.4337, allocations: 187.7 kB / 0.5295 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.434, allocations: 116.7 kB / 0.5296 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.3e-05/0.434, allocations: 51.97 kB / 0.5296 GB, free: 7.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001775/0.4358, allocations: 1.52 MB / 0.5311 GB, free: 5.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4358, allocations: 0 / 0.5311 GB, free: 5.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003915/0.4397, allocations: 1.159 MB / 0.5322 GB, free: 4.363 MB / 394.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.0003926/0.4401, allocations: 199.5 kB / 0.5324 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005374/0.4455, allocations: 3.744 MB / 0.5361 GB, free: 408 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.4455, allocations: 4 kB / 0.5361 GB, free: 404 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.4472, allocations: 1.397 MB / 0.5374 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.4489, allocations: 442.2 kB / 0.5379 GB, free: 14.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.4604, allocations: 7.929 MB / 0.5456 GB, free: 6.441 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009934/0.4614, allocations: 1.236 MB / 0.5468 GB, free: 5.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002598/0.464, allocations: 1.642 MB / 0.5484 GB, free: 3.531 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/0.4645, allocations: 240.4 kB / 0.5486 GB, free: 3.293 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/0.4645, allocations: 0 / 0.5486 GB, free: 3.293 MB / 410.7 MB Notification: Performance of Templates: time 0.04785/0.5123, allocations: 36.02 MB / 0.5838 GB, free: 15.36 MB / 458.7 MB " [Timeout remaining time 659] 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.4563577813096344]