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.001886/0.001886, allocations: 92.33 kB / 20.95 MB, free: 3.586 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.002323/0.002323, allocations: 165.2 kB / 24.27 MB, free: 280 kB / 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 1.543/1.543, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3597/0.3597, allocations: 32.79 MB / 293.9 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",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.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.697e-05/4.846e-05, allocations: 6.25 kB / 375.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01475/0.0148, allocations: 9.947 MB / 385.2 MB, free: 10.99 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007603/0.0224, allocations: 2.737 MB / 387.9 MB, free: 8.246 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.02441, allocations: 59.81 kB / 388 MB, free: 8.188 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003566/0.02798, allocations: 1.374 MB / 389.4 MB, free: 6.809 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003776/0.03175, allocations: 1.322 MB / 390.7 MB, free: 5.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.03229, allocations: 83.77 kB / 390.8 MB, free: 5.398 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004611/0.0369, allocations: 2.818 MB / 393.6 MB, free: 2.574 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00319/0.04009, allocations: 1.682 MB / 395.3 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.04374, allocations: 1.567 MB / 396.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002814/0.04655, allocations: 1.539 MB / 398.4 MB, free: 13.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006594/0.04721, allocations: 208 kB / 398.6 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.04856, allocations: 483.3 kB / 399 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001933/0.05049, allocations: 1.511 MB / 400.6 MB, free: 11.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.05189, allocations: 0.8716 MB / 401.4 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007204/0.0591, allocations: 5.367 MB / 406.8 MB, free: 5.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.0591, allocations: 4 kB / 406.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.0591, allocations: 0 / 406.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001524/0.05926, allocations: 0 / 406.8 MB, free: 5.285 MB / 378.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.008223/0.06748, allocations: 3.612 MB / 410.4 MB, free: 1.617 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.06752, allocations: 8.031 kB / 410.4 MB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/0.07903, allocations: 3.594 MB / 414 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003904/0.08293, allocations: 1.538 MB / 415.6 MB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.08312, allocations: 172.7 kB / 415.7 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005248/0.08364, allocations: 224.2 kB / 415.9 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01855/0.1022, allocations: 9.703 MB / 425.6 MB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.864e-05/0.1023, allocations: 27.69 kB / 425.7 MB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003904/0.1027, allocations: 111.8 kB / 425.8 MB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004336/0.107, allocations: 2.439 MB / 428.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01846/0.1255, allocations: 8.802 MB / 437 MB, free: 6.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2325/0.3579, allocations: 27.96 MB / 465 MB, free: 79.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00434/0.3623, allocations: 2.345 MB / 467.3 MB, free: 79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009893/0.3632, allocations: 0.8547 MB / 468.2 MB, free: 78.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.872e-05/0.3633, allocations: 20.91 kB / 468.2 MB, free: 78.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.3633, allocations: 46.44 kB / 468.2 MB, free: 78.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 3.787e-06/0.3633, allocations: 0 / 468.2 MB, free: 78.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.006712/0.37, allocations: 3.535 MB / 471.8 MB, free: 77.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.3701, allocations: 61.59 kB / 471.8 MB, free: 77.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003292/0.3734, allocations: 2.756 MB / 474.6 MB, free: 76.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.3735, allocations: 40.45 kB / 474.6 MB, free: 76.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001363/0.3748, allocations: 2.808 MB / 477.4 MB, free: 74.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004051/0.3752, allocations: 0.5761 MB / 478 MB, free: 74.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/0.3763, allocations: 0.967 MB / 479 MB, free: 73.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.889e-05/0.3764, allocations: 355.3 kB / 479.3 MB, free: 73.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.3781, allocations: 1.527 MB / 480.9 MB, free: 73.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002864/0.381, allocations: 4.449 MB / 485.3 MB, free: 68.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006576/0.3876, allocations: 6.539 MB / 491.9 MB, free: 63.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001502/0.3877, allocations: 29.28 kB / 491.9 MB, free: 63.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01042/0.3981, allocations: 6.049 MB / 497.9 MB, free: 61.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.317e-05/0.3982, allocations: 47.5 kB / 498 MB, free: 61.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002132/0.3985, allocations: 103.2 kB / 498.1 MB, free: 61.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000202/0.3987, allocations: 137.3 kB / 498.2 MB, free: 61.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003093/0.4018, allocations: 1.065 MB / 499.3 MB, free: 60.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001595/0.4019, allocations: 198.1 kB / 499.5 MB, free: 60.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00357/0.4055, allocations: 0.6458 MB / 0.4884 GB, free: 60.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006445/0.4061, allocations: 293.4 kB / 0.4887 GB, free: 60.44 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.003376/0.4095, allocations: 1.956 MB / 0.4906 GB, free: 59.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005256/0.41, allocations: 255.7 kB / 0.4908 GB, free: 59.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006396/0.4107, allocations: 295.8 kB / 0.4911 GB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.16e-05/0.4107, allocations: 19.19 kB / 0.4911 GB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-05/0.4107, allocations: 0 / 0.4911 GB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.4107, allocations: 3.281 kB / 0.4911 GB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.4209, allocations: 5.634 MB / 0.4966 GB, free: 57.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.832e-05/0.421, allocations: 7.406 kB / 0.4966 GB, free: 57.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00076/0.4217, allocations: 174.1 kB / 0.4968 GB, free: 57.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.302e-05/0.4217, allocations: 12.86 kB / 0.4968 GB, free: 57.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.4218, allocations: 28.22 kB / 0.4968 GB, free: 57.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.857e-05/0.4219, allocations: 16.69 kB / 0.4969 GB, free: 57.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.4219, allocations: 10.94 kB / 0.4969 GB, free: 57.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.4246, allocations: 2.237 MB / 0.4991 GB, free: 55.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005671/0.4252, allocations: 235.9 kB / 0.4993 GB, free: 55.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004264/0.4256, allocations: 25.36 kB / 0.4993 GB, free: 55.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008837/0.4265, allocations: 43.67 kB / 0.4993 GB, free: 55.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.4267, allocations: 87.27 kB / 0.4994 GB, free: 55.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.675e-05/0.4268, allocations: 53.42 kB / 0.4995 GB, free: 55.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002835/0.4296, allocations: 1.542 MB / 0.501 GB, free: 54.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4296, allocations: 0 / 0.501 GB, free: 54.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004655/0.4343, allocations: 1.052 MB / 0.502 GB, free: 53.2 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.0005016/0.4348, allocations: 162.3 kB / 0.5022 GB, free: 53.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005759/0.4405, allocations: 3.429 MB / 0.5055 GB, free: 50.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/0.4405, allocations: 0 / 0.5055 GB, free: 50.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.4417, allocations: 0.8642 MB / 0.5064 GB, free: 49.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.4435, allocations: 201.9 kB / 0.5066 GB, free: 49.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/0.4569, allocations: 7.783 MB / 0.5142 GB, free: 41.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003781/0.4607, allocations: 2.461 MB / 0.5166 GB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00335/0.464, allocations: 1.666 MB / 0.5182 GB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/0.4646, allocations: 164 kB / 0.5183 GB, free: 38.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.954e-06/0.4646, allocations: 0 / 0.5183 GB, free: 38.82 MB / 410.7 MB Notification: Performance of Templates: time 0.03242/0.497, allocations: 13.74 MB / 0.5318 GB, free: 25.65 MB / 410.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.207927816081792]