Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001619/0.001619, allocations: 117.7 kB / 19.18 MB, free: 3.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002137/0.002137, allocations: 201 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 230.3 MB / 255.2 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2388/0.2388, allocations: 46.92 MB / 358.2 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 75.88 kB / 0.4925 GB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1524, allocations: 66 MB / 0.557 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01398/0.1664, allocations: 11.44 MB / 0.5681 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007353/0.1737, allocations: 2.846 MB / 0.5709 GB, free: 7.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.1753, allocations: 63.81 kB / 0.571 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002741/0.1781, allocations: 1.362 MB / 0.5723 GB, free: 5.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003139/0.1812, allocations: 1.265 MB / 0.5735 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.1816, allocations: 79.86 kB / 0.5736 GB, free: 4.492 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003744/0.1853, allocations: 2.768 MB / 0.5763 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.1872, allocations: 1.554 MB / 0.5778 GB, free: 136 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.1888, allocations: 1.074 MB / 0.5789 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.1909, allocations: 1.639 MB / 0.5805 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003892/0.1913, allocations: 208 kB / 0.5807 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.1923, allocations: 0.507 MB / 0.5812 GB, free: 12.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001367/0.1937, allocations: 1.46 MB / 0.5826 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001717/0.1954, allocations: 1.715 MB / 0.5843 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006394/0.2018, allocations: 5.518 MB / 0.5897 GB, free: 3.965 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.2018, allocations: 4 kB / 0.5897 GB, free: 3.961 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.2018, allocations: 4 kB / 0.5897 GB, free: 3.957 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001094/0.2019, allocations: 0 / 0.5897 GB, free: 3.957 MB / 446.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.006571/0.2085, allocations: 3.746 MB / 0.5933 GB, free: 140 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2085, allocations: 8.031 kB / 0.5933 GB, free: 132 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.391/0.5995, allocations: 2.992 MB / 0.5963 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003948/0.6035, allocations: 1.562 MB / 0.5978 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.6037, allocations: 176.7 kB / 0.598 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006791/0.6044, allocations: 225.7 kB / 0.5982 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01954/0.6239, allocations: 9.704 MB / 0.6076 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.837e-05/0.624, allocations: 21.28 kB / 0.6077 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00035/0.6243, allocations: 110.5 kB / 0.6078 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004557/0.6289, allocations: 2.436 MB / 0.6101 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01824/0.6471, allocations: 8.81 MB / 0.6188 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03577/0.6829, allocations: 30.6 MB / 0.6486 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005614/0.6885, allocations: 3.191 MB / 0.6518 GB, free: 6.832 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.6898, allocations: 0.8531 MB / 0.6526 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.947e-05/0.6899, allocations: 16.98 kB / 0.6526 GB, free: 5.961 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.6899, allocations: 47.55 kB / 0.6526 GB, free: 5.906 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 3.316e-06/0.6899, allocations: 0 / 0.6526 GB, free: 5.906 MB / 462.1 MB Notification: Performance of matching and sorting (n=148): time 0.007894/0.6978, allocations: 3.383 MB / 0.6559 GB, free: 2.516 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.6979, allocations: 64.41 kB / 0.656 GB, free: 2.438 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004745/0.7026, allocations: 3.13 MB / 0.6591 GB, free: 15.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.7027, allocations: 41.7 kB / 0.6591 GB, free: 15.29 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002174/0.7049, allocations: 2.791 MB / 0.6618 GB, free: 12.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006263/0.7055, allocations: 0.5892 MB / 0.6624 GB, free: 11.88 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/0.7068, allocations: 0.9767 MB / 0.6634 GB, free: 10.89 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.707, allocations: 309.1 kB / 0.6637 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/0.7093, allocations: 1.528 MB / 0.6651 GB, free: 9.051 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005021/0.7143, allocations: 4.447 MB / 0.6695 GB, free: 3.141 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008273/0.7226, allocations: 6.545 MB / 0.6759 GB, free: 11.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.726e-05/0.7226, allocations: 28 kB / 0.6759 GB, free: 11.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.009999/0.7326, allocations: 5.838 MB / 0.6816 GB, free: 5.285 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.978e-05/0.7327, allocations: 59.97 kB / 0.6817 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/0.7328, allocations: 100 kB / 0.6818 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.733, allocations: 139.9 kB / 0.6819 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00304/0.736, allocations: 1.061 MB / 0.6829 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001821/0.7362, allocations: 203.2 kB / 0.6831 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003167/0.7394, allocations: 0.6939 MB / 0.6838 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004038/0.7398, allocations: 296.6 kB / 0.6841 GB, free: 2.742 MB / 494.1 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.003224/0.743, allocations: 1.946 MB / 0.686 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004496/0.7434, allocations: 272 kB / 0.6862 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007069/0.7441, allocations: 323.8 kB / 0.6866 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.382e-05/0.7442, allocations: 20 kB / 0.6866 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.7442, allocations: 0 / 0.6866 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.7442, allocations: 11.91 kB / 0.6866 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.755, allocations: 6.876 MB / 0.6933 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.755, allocations: 4 kB / 0.6933 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007287/0.7557, allocations: 183.7 kB / 0.6935 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.596e-05/0.7557, allocations: 8 kB / 0.6935 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.649e-05/0.7558, allocations: 28 kB / 0.6935 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.169e-05/0.7558, allocations: 27.8 kB / 0.6935 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/0.7558, allocations: 8.531 kB / 0.6935 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003084/0.7589, allocations: 2.265 MB / 0.6958 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007189/0.7596, allocations: 366.8 kB / 0.6961 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.7599, allocations: 28 kB / 0.6961 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007036/0.7606, allocations: 47.89 kB / 0.6962 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.7608, allocations: 80.39 kB / 0.6963 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.7609, allocations: 56.84 kB / 0.6963 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003202/0.7641, allocations: 1.979 MB / 0.6982 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.7641, allocations: 0 / 0.6982 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004023/0.7681, allocations: 0.998 MB / 0.6992 GB, free: 2.938 MB / 0.4981 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.0004406/0.7685, allocations: 158.8 kB / 0.6994 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005777/0.7743, allocations: 3.43 MB / 0.7027 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.7743, allocations: 0 / 0.7027 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.7755, allocations: 0.8564 MB / 0.7036 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.7772, allocations: 323.3 kB / 0.7039 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/0.7937, allocations: 8.164 MB / 0.7118 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003731/0.7974, allocations: 3.027 MB / 0.7148 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008895/0.7983, allocations: 227.4 kB / 0.715 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of SimCode: time 1.433e-06/0.7983, allocations: 4 kB / 0.715 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of Templates: time 0.08446/0.8828, allocations: 46.76 MB / 0.7607 GB, free: 3.973 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.301579560007667]