Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.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.001116/0.001116, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001104/0.001104, allocations: 167.9 kB / 25.61 MB, free: 8.582 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 0.956/0.956, allocations: 177.1 MB / 206 MB, free: 4.48 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.1467/0.1467, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedTranslation.frame_b.r_0.[0-9,]+.|fixedTranslation.frame_b.f.[0-9,]+.|fixedTranslation.frame_b.t.[0-9,]+.|fixed1.frame_b.r_0.[0-9,]+.|fixed1.frame_b.f.[0-9,]+.|fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation") translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedTranslation.frame_b.r_0.[0-9,]+.|fixedTranslation.frame_b.f.[0-9,]+.|fixedTranslation.frame_b.t.[0-9,]+.|fixed1.frame_b.r_0.[0-9,]+.|fixed1.frame_b.f.[0-9,]+.|fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 3.938 kB / 377.2 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.643e-05, allocations: 6.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.006876/0.006892, allocations: 10.66 MB / 387.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004156/0.01105, allocations: 2.774 MB / 390.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000492/0.01154, allocations: 63.81 kB / 390.7 MB, free: 12.03 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.0129, allocations: 1.397 MB / 392.1 MB, free: 10.63 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.01405, allocations: 1.318 MB / 393.5 MB, free: 9.305 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.01421, allocations: 83.78 kB / 393.5 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.01551, allocations: 2.821 MB / 396.4 MB, free: 6.395 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000847/0.01635, allocations: 1.682 MB / 398 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008646/0.01722, allocations: 1.57 MB / 399.6 MB, free: 3.102 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009175/0.01814, allocations: 1.551 MB / 401.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.01831, allocations: 211.9 kB / 401.4 MB, free: 1.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.01873, allocations: 467.4 kB / 401.8 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006777/0.01941, allocations: 1.519 MB / 403.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006352/0.02005, allocations: 0.8716 MB / 404.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.02228, allocations: 3.4 MB / 407.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.02229, allocations: 7.984 kB / 407.6 MB, free: 11.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.02229, allocations: 0 / 407.6 MB, free: 11.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.79e-05/0.02234, allocations: 0 / 407.6 MB, free: 11.06 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: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.003409/0.02574, allocations: 4.041 MB / 411.7 MB, free: 6.953 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.02578, allocations: 15.98 kB / 411.7 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003707/0.02949, allocations: 1.695 MB / 413.4 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.03082, allocations: 1.302 MB / 414.7 MB, free: 3.902 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.082e-05/0.03091, allocations: 176.7 kB / 414.9 MB, free: 3.727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.03117, allocations: 220.2 kB / 415.1 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004209/0.03538, allocations: 4.498 MB / 419.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.161e-05/0.03542, allocations: 23.75 kB / 419.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/0.03562, allocations: 107.8 kB / 419.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001927/0.03755, allocations: 2.139 MB / 421.8 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008295/0.04584, allocations: 2.308 MB / 424.1 MB, free: 9.816 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03193/0.07777, allocations: 30.87 MB / 455 MB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.07985, allocations: 1.036 MB / 456.1 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.08014, allocations: 224.2 kB / 456.3 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.08018, allocations: 28.98 kB / 456.3 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.08021, allocations: 46.39 kB / 456.3 MB, free: 8.629 MB / 378.7 MB Notification: Performance of pre-optimization done (n=148): time 4.318e-06/0.08021, allocations: 0 / 456.3 MB, free: 8.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=148): time 0.003209/0.08342, allocations: 1.681 MB / 458 MB, free: 6.941 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.08346, allocations: 60.41 kB / 458.1 MB, free: 6.871 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/0.08574, allocations: 2.52 MB / 460.6 MB, free: 4.312 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.08579, allocations: 45.69 kB / 460.6 MB, free: 4.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001702/0.08749, allocations: 2.956 MB / 463.6 MB, free: 1.273 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005839/0.08808, allocations: 0.6126 MB / 464.2 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009293/0.08901, allocations: 1.076 MB / 465.3 MB, free: 15.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.08915, allocations: 0.5276 MB / 465.8 MB, free: 15.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.08966, allocations: 385.2 kB / 466.2 MB, free: 14.65 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/0.09209, allocations: 4.738 MB / 470.9 MB, free: 7.914 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003883/0.09597, allocations: 5.733 MB / 476.7 MB, free: 200 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.576e-05/0.09603, allocations: 28 kB / 476.7 MB, free: 172 kB / 394.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.004518/0.1005, allocations: 3.706 MB / 480.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/0.1006, allocations: 48 kB / 480.4 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.285e-05/0.1007, allocations: 104 kB / 480.5 MB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.478e-05/0.1008, allocations: 136 kB / 480.7 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.1025, allocations: 1.033 MB / 481.7 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.684e-05/0.1026, allocations: 203.2 kB / 481.9 MB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.1046, allocations: 0.6207 MB / 482.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/0.1049, allocations: 264 kB / 482.8 MB, free: 10.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 582 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001196/0.1061, allocations: 0.5356 MB / 483.3 MB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.1063, allocations: 266.4 kB / 483.6 MB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.1066, allocations: 247.6 kB / 483.8 MB, free: 9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.1066, allocations: 20 kB / 483.8 MB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.1066, allocations: 0 / 483.8 MB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.1066, allocations: 7.969 kB / 483.9 MB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004422/0.111, allocations: 3.233 MB / 487.1 MB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.1111, allocations: 11.94 kB / 487.1 MB, free: 5.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.1114, allocations: 151.8 kB / 487.2 MB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.1114, allocations: 12.06 kB / 487.3 MB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/0.1115, allocations: 35.98 kB / 487.3 MB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.1115, allocations: 8 kB / 487.3 MB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/0.1115, allocations: 15.92 kB / 487.3 MB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.1125, allocations: 1.237 MB / 488.6 MB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002766/0.1128, allocations: 230.1 kB / 488.8 MB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.1129, allocations: 24 kB / 488.8 MB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.1133, allocations: 24 kB / 488.8 MB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/0.1134, allocations: 92.33 kB / 488.9 MB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/0.1134, allocations: 36 kB / 489 MB, free: 3.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008019/0.1142, allocations: 0.9809 MB / 489.9 MB, free: 2.574 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1142, allocations: 0 / 489.9 MB, free: 2.574 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002693/0.1169, allocations: 1.059 MB / 491 MB, free: 1.512 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * 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 (100): * Single equations (assignments): 94 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003027/0.1172, allocations: 154.9 kB / 491.1 MB, free: 1.352 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002447/0.1197, allocations: 1.935 MB / 493.1 MB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.1197, allocations: 0 / 493.1 MB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003608/0.12, allocations: 331.5 kB / 493.4 MB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007717/0.1208, allocations: 211 kB / 493.6 MB, free: 14.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008436/0.1292, allocations: 6.438 MB / 0.4883 GB, free: 8.277 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.1303, allocations: 1.084 MB / 0.4894 GB, free: 7.168 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00117/0.1314, allocations: 354.4 kB / 0.4897 GB, free: 6.816 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/0.1319, allocations: 390.1 kB / 0.4901 GB, free: 6.434 MB / 426.7 MB Notification: Performance of SimCode: time 3.297e-06/0.1319, allocations: 0 / 0.4901 GB, free: 6.434 MB / 426.7 MB Notification: Performance of Templates: time 0.1772/0.3091, allocations: 15.86 MB / 0.5056 GB, free: 127 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.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: 3.8582394076511264]