Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001484/0.001484, allocations: 80.98 kB / 20.65 MB, free: 3.836 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.001486/0.001486, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.9772/0.9772, allocations: 158.6 MB / 185.9 MB, free: 2.766 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.1274/0.1274, allocations: 32.38 MB / 270.7 MB, free: 14.52 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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.905e-05, allocations: 5.406 kB / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.007179/0.007198, allocations: 11.03 MB / 359.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005139/0.01234, allocations: 2.781 MB / 361.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009661/0.0133, allocations: 63.81 kB / 362 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.01506, allocations: 1.397 MB / 363.4 MB, free: 9.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.01678, allocations: 1.365 MB / 364.8 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.017, allocations: 83.78 kB / 364.9 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002035/0.01903, allocations: 2.928 MB / 367.8 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.0206, allocations: 1.721 MB / 369.5 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.02196, allocations: 1.629 MB / 371.1 MB, free: 2.039 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.02326, allocations: 1.582 MB / 372.7 MB, free: 464 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000233/0.02349, allocations: 208 kB / 372.9 MB, free: 256 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006019/0.02409, allocations: 467.5 kB / 373.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008363/0.02493, allocations: 1.577 MB / 374.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005954/0.02552, allocations: 0.9144 MB / 375.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002787/0.02831, allocations: 3.52 MB / 379.4 MB, free: 9.758 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.02832, allocations: 4 kB / 379.4 MB, free: 9.754 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.02832, allocations: 0 / 379.4 MB, free: 9.754 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.869e-05/0.02836, allocations: 0 / 379.4 MB, free: 9.754 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.003418/0.03177, allocations: 4.174 MB / 383.6 MB, free: 5.516 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.03182, allocations: 8.031 kB / 383.6 MB, free: 5.508 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004485/0.0363, allocations: 1.719 MB / 385.3 MB, free: 3.785 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.03783, allocations: 1.342 MB / 386.6 MB, free: 2.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.03794, allocations: 180.8 kB / 386.8 MB, free: 2.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.03822, allocations: 232.2 kB / 387 MB, free: 2.004 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0048/0.04302, allocations: 4.591 MB / 391.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.804e-05/0.04306, allocations: 31.69 kB / 391.7 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.04326, allocations: 111.8 kB / 391.8 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001818/0.04507, allocations: 2.206 MB / 394 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003102/0.04818, allocations: 2.338 MB / 396.3 MB, free: 8.105 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02161/0.06978, allocations: 31.66 MB / 428 MB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.07165, allocations: 1.073 MB / 429 MB, free: 6.324 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.07195, allocations: 239.1 kB / 429.3 MB, free: 6.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.468e-05/0.072, allocations: 20.98 kB / 429.3 MB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.07204, allocations: 50.39 kB / 429.3 MB, free: 6.004 MB / 362.7 MB Notification: Performance of pre-optimization done (n=150): time 3.136e-06/0.07204, allocations: 0 / 429.3 MB, free: 6.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=150): time 0.003127/0.07517, allocations: 1.689 MB / 431 MB, free: 4.309 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.07522, allocations: 90.09 kB / 431.1 MB, free: 4.203 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/0.07734, allocations: 2.554 MB / 433.7 MB, free: 1.613 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.07739, allocations: 45.69 kB / 433.7 MB, free: 1.562 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001796/0.07919, allocations: 3.023 MB / 436.7 MB, free: 14.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003942/0.07958, allocations: 0.6282 MB / 437.4 MB, free: 13.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008846/0.08046, allocations: 1.088 MB / 438.5 MB, free: 12.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.08065, allocations: 0.5235 MB / 439 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.08108, allocations: 393.5 kB / 439.4 MB, free: 11.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002852/0.08393, allocations: 4.845 MB / 444.2 MB, free: 4.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1742/0.2581, allocations: 5.833 MB / 450 MB, free: 92.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/0.2582, allocations: 36.09 kB / 450.1 MB, free: 92.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=647) (initialization): time 0.005513/0.2637, allocations: 3.778 MB / 453.9 MB, free: 91.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.922e-05/0.2638, allocations: 49.5 kB / 453.9 MB, free: 91.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001502/0.2639, allocations: 109.4 kB / 454 MB, free: 91.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.2642, allocations: 142.5 kB / 454.2 MB, free: 91.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.2659, allocations: 1.064 MB / 455.2 MB, free: 91.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001131/0.2661, allocations: 207.4 kB / 455.4 MB, free: 91.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/0.2679, allocations: 0.6272 MB / 456 MB, free: 91.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/0.2682, allocations: 263 kB / 456.3 MB, free: 91.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 27 (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 (599): * Single equations (assignments): 593 * 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.001194/0.2694, allocations: 0.5451 MB / 456.8 MB, free: 90.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.2696, allocations: 272.6 kB / 457.1 MB, free: 90.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.2698, allocations: 249.8 kB / 457.4 MB, free: 90.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.2699, allocations: 17.62 kB / 457.4 MB, free: 90.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.2699, allocations: 0.5625 kB / 457.4 MB, free: 90.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.2699, allocations: 11.67 kB / 457.4 MB, free: 90.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/0.2736, allocations: 3.423 MB / 460.8 MB, free: 89.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.2736, allocations: 11.05 kB / 460.8 MB, free: 89.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.2739, allocations: 168.3 kB / 461 MB, free: 89.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.2739, allocations: 11.09 kB / 461 MB, free: 89.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.2739, allocations: 26.97 kB / 461 MB, free: 89.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.274, allocations: 22.22 kB / 461 MB, free: 89.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.274, allocations: 11.47 kB / 461.1 MB, free: 89.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008265/0.2748, allocations: 1.258 MB / 462.3 MB, free: 89.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.275, allocations: 236.4 kB / 462.5 MB, free: 88.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.2751, allocations: 29.5 kB / 462.6 MB, free: 88.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.2754, allocations: 25.38 kB / 462.6 MB, free: 88.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.883e-05/0.2755, allocations: 90.3 kB / 462.7 MB, free: 88.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/0.2755, allocations: 49.88 kB / 462.7 MB, free: 88.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007101/0.2762, allocations: 0.9856 MB / 463.7 MB, free: 88.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2762, allocations: 0 / 463.7 MB, free: 88.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002246/0.2785, allocations: 1.1 MB / 464.8 MB, free: 88.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (102): * Single equations (assignments): 96 * 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.0002506/0.2787, allocations: 160 kB / 465 MB, free: 88.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.2804, allocations: 1.966 MB / 466.9 MB, free: 87.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.2804, allocations: 0 / 466.9 MB, free: 87.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.2807, allocations: 340.9 kB / 467.3 MB, free: 86.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.2813, allocations: 198.3 kB / 467.5 MB, free: 86.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006385/0.2877, allocations: 6.618 MB / 474.1 MB, free: 80.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007409/0.2885, allocations: 1.109 MB / 475.2 MB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006863/0.2892, allocations: 358.4 kB / 475.5 MB, free: 79.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003783/0.2895, allocations: 396.7 kB / 475.9 MB, free: 79.28 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2895, allocations: 0 / 475.9 MB, free: 79.28 MB / 378.7 MB Notification: Performance of Templates: time 0.02556/0.3151, allocations: 15.46 MB / 491.4 MB, free: 64.49 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.8132260302081704]