Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001317/0.001317, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.001396/0.001396, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 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.527/1.527, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2646/0.2646, allocations: 46.96 MB / 361.6 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 71.91 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4968/0.4988, allocations: 66.02 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01341/0.5123, allocations: 9.932 MB / 0.5715 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007133/0.5194, allocations: 2.732 MB / 0.5742 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.5209, allocations: 59.81 kB / 0.5742 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002919/0.5239, allocations: 1.308 MB / 0.5755 GB, free: 6.078 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003059/0.5269, allocations: 1.288 MB / 0.5768 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.5272, allocations: 79.83 kB / 0.5768 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003632/0.5309, allocations: 2.76 MB / 0.5795 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002218/0.5331, allocations: 1.619 MB / 0.5811 GB, free: 296 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.5349, allocations: 1.078 MB / 0.5822 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002561/0.5375, allocations: 1.639 MB / 0.5838 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000526/0.538, allocations: 211.9 kB / 0.584 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.539, allocations: 411.5 kB / 0.5844 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001645/0.5407, allocations: 1.476 MB / 0.5858 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001682/0.5424, allocations: 1.202 MB / 0.587 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007609/0.55, allocations: 5.542 MB / 0.5924 GB, free: 4.699 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.55, allocations: 0 / 0.5924 GB, free: 4.699 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.55, allocations: 0 / 0.5924 GB, free: 4.699 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002222/0.5502, allocations: 0 / 0.5924 GB, free: 4.699 MB / 430.1 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.007699/0.5579, allocations: 3.659 MB / 0.596 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.558, allocations: 8.031 kB / 0.596 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.5681, allocations: 3.001 MB / 0.5989 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004859/0.5729, allocations: 1.519 MB / 0.6004 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.5731, allocations: 180.6 kB / 0.6006 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007506/0.5739, allocations: 224 kB / 0.6008 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01802/0.5919, allocations: 9.698 MB / 0.6102 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.807e-05/0.592, allocations: 19.81 kB / 0.6103 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003461/0.5923, allocations: 107.8 kB / 0.6104 GB, free: 1.758 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004152/0.5965, allocations: 2.439 MB / 0.6127 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/0.6155, allocations: 8.806 MB / 0.6213 GB, free: 6.492 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04927/0.6648, allocations: 27.78 MB / 0.6485 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005385/0.6701, allocations: 2.272 MB / 0.6507 GB, free: 7.617 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.6715, allocations: 0.8542 MB / 0.6515 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.004e-05/0.6716, allocations: 13 kB / 0.6515 GB, free: 6.746 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.6716, allocations: 43.56 kB / 0.6516 GB, free: 6.691 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.867e-06/0.6716, allocations: 0 / 0.6516 GB, free: 6.691 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007863/0.6795, allocations: 3.344 MB / 0.6549 GB, free: 3.348 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/0.6795, allocations: 64.44 kB / 0.6549 GB, free: 3.273 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004587/0.6841, allocations: 2.753 MB / 0.6576 GB, free: 500 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001629/0.6843, allocations: 49.67 kB / 0.6576 GB, free: 444 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002793/0.6871, allocations: 2.821 MB / 0.6604 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008703/0.688, allocations: 0.6009 MB / 0.661 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001599/0.6896, allocations: 0.9728 MB / 0.6619 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002532/0.6898, allocations: 349.9 kB / 0.6623 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002685/0.6925, allocations: 1.528 MB / 0.6638 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006276/0.6988, allocations: 4.447 MB / 0.6681 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/0.7108, allocations: 6.539 MB / 0.6745 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/0.7109, allocations: 32 kB / 0.6745 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01167/0.7226, allocations: 5.799 MB / 0.6802 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.812e-05/0.7227, allocations: 51.94 kB / 0.6802 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001441/0.7228, allocations: 107.9 kB / 0.6803 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.723, allocations: 136 kB / 0.6805 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003446/0.7264, allocations: 1.057 MB / 0.6815 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001977/0.7266, allocations: 203.8 kB / 0.6817 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003574/0.7302, allocations: 0.6435 MB / 0.6823 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005325/0.7307, allocations: 296 kB / 0.6826 GB, free: 3.895 MB / 0.5137 GB 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.00374/0.7345, allocations: 1.95 MB / 0.6845 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004668/0.7349, allocations: 226.5 kB / 0.6847 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005379/0.7355, allocations: 291.6 kB / 0.685 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.592e-05/0.7355, allocations: 19.98 kB / 0.685 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.7355, allocations: 7.938 kB / 0.685 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.7355, allocations: 3.984 kB / 0.685 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.7473, allocations: 5.596 MB / 0.6905 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.7473, allocations: 8 kB / 0.6905 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008152/0.7481, allocations: 175.7 kB / 0.6907 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-05/0.7481, allocations: 8 kB / 0.6907 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.905e-05/0.7482, allocations: 28 kB / 0.6907 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.101e-05/0.7483, allocations: 19.92 kB / 0.6907 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/0.7483, allocations: 12.47 kB / 0.6907 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003447/0.7517, allocations: 2.218 MB / 0.6929 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006737/0.7524, allocations: 238.1 kB / 0.6931 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/0.7526, allocations: 23.98 kB / 0.6932 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000662/0.7533, allocations: 43.95 kB / 0.6932 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.7535, allocations: 92.28 kB / 0.6933 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.7536, allocations: 44 kB / 0.6933 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002662/0.7562, allocations: 1.551 MB / 0.6948 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7562, allocations: 0 / 0.6948 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00458/0.7608, allocations: 1.055 MB / 0.6959 GB, free: 6.027 MB / 0.5294 GB 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.0004312/0.7612, allocations: 150.9 kB / 0.696 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006271/0.7675, allocations: 3.433 MB / 0.6994 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.7675, allocations: 0 / 0.6994 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.7689, allocations: 0.8581 MB / 0.7002 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.7703, allocations: 207.7 kB / 0.7004 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/0.7868, allocations: 8.124 MB / 0.7083 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00419/0.791, allocations: 2.469 MB / 0.7108 GB, free: 6.637 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000871/0.7919, allocations: 211.4 kB / 0.711 GB, free: 6.43 MB / 0.545 GB Notification: Performance of SimCode: time 1.593e-06/0.7919, allocations: 0 / 0.711 GB, free: 6.43 MB / 0.545 GB Notification: Performance of Templates: time 0.452/1.244, allocations: 44.99 MB / 0.7549 GB, free: 142.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 12.375042055995436]