Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001722/0.001722, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002312/0.002312, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.55/1.55, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.2505/0.2505, allocations: 46.94 MB / 361.6 MB, free: 4.172 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-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.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5") [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.002432/0.002432, allocations: 83.86 kB / 0.4975 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4049, allocations: 66.08 MB / 0.562 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003425/0.4083, allocations: 1.651 MB / 0.5636 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.4095, allocations: 0.5616 MB / 0.5642 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.4096, allocations: 7.875 kB / 0.5642 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.4099, allocations: 95.73 kB / 0.5643 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.4103, allocations: 107.6 kB / 0.5644 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.4106, allocations: 115.7 kB / 0.5645 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.4108, allocations: 91.75 kB / 0.5646 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.4109, allocations: 19.64 kB / 0.5646 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.308e-05/0.411, allocations: 39.83 kB / 0.5646 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.4112, allocations: 59.81 kB / 0.5647 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.4112, allocations: 4 kB / 0.5647 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.4113, allocations: 39.98 kB / 0.5647 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.4113, allocations: 23.86 kB / 0.5647 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.652e-05/0.4114, allocations: 39.73 kB / 0.5648 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.4116, allocations: 106.4 kB / 0.5649 GB, free: 1.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.4116, allocations: 0 / 0.5649 GB, free: 1.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4116, allocations: 3.938 kB / 0.5649 GB, free: 1.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.4116, allocations: 4 kB / 0.5649 GB, free: 1.266 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006354/0.4123, allocations: 353.5 kB / 0.5652 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4123, allocations: 8.031 kB / 0.5652 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.4124, allocations: 16.84 kB / 0.5652 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.4126, allocations: 142.9 kB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.4126, allocations: 384 / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.4127, allocations: 8.328 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.4128, allocations: 54.23 kB / 0.5654 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.4128, allocations: 4.188 kB / 0.5654 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.4129, allocations: 3.938 kB / 0.5655 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.4129, allocations: 3.938 kB / 0.5655 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.413, allocations: 23.98 kB / 0.5655 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.4135, allocations: 275.9 kB / 0.5657 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.4136, allocations: 62.44 kB / 0.5658 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.4137, allocations: 12.94 kB / 0.5658 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.4137, allocations: 4 kB / 0.5658 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.4137, allocations: 30.56 kB / 0.5658 GB, free: 160 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4137, allocations: 0 / 0.5658 GB, free: 160 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001009/0.4147, allocations: 245.5 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.4148, allocations: 55.41 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.4151, allocations: 230.8 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.4151, allocations: 29.7 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.4152, allocations: 104.1 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.4152, allocations: 35.8 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.4153, allocations: 25.72 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4154, allocations: 326.8 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.402e-05/0.4155, allocations: 31.97 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-05/0.4156, allocations: 31.92 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.4158, allocations: 76.98 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4158, allocations: 0 / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002368/0.416, allocations: 117.5 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.416, allocations: 8 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.416, allocations: 96 / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.4161, allocations: 3.984 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.4162, allocations: 15.98 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.4162, allocations: 0 / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.4162, allocations: 11.98 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.4162, allocations: 4 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (8): * Single equations (assignments): 8 * Array equations: 0 * 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.0001302/0.4163, allocations: 141.7 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.4164, allocations: 7.953 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/0.4168, allocations: 135 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.4168, allocations: 4 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4168, allocations: 3.984 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4168, allocations: 0 / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000669/0.4174, allocations: 402.2 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4174, allocations: 0 / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.67e-05/0.4175, allocations: 19.94 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.4175, allocations: 3.984 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.4175, allocations: 3.938 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4175, allocations: 4 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4175, allocations: 0 / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.4178, allocations: 216.3 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.4179, allocations: 7.953 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.4179, allocations: 3.938 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.418, allocations: 11.98 kB / 0.5681 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.418, allocations: 11.92 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.418, allocations: 4 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.4182, allocations: 168.3 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4182, allocations: 4 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.4184, allocations: 27.94 kB / 0.5683 GB, free: 13.51 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * 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.001725/0.4202, allocations: 454.6 kB / 0.5687 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.4204, allocations: 71.94 kB / 0.5688 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4204, allocations: 0 / 0.5688 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.4205, allocations: 43.91 kB / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.4209, allocations: 15.75 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006555/0.4216, allocations: 282.9 kB / 0.5691 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.422, allocations: 0.7196 MB / 0.5698 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.517e-05/0.4221, allocations: 16.66 kB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.4221, allocations: 11.44 kB / 0.5698 GB, free: 12.01 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4221, allocations: 0 / 0.5698 GB, free: 12.01 MB / 414.1 MB Notification: Performance of Templates: time 0.004901/0.427, allocations: 1.465 MB / 0.5713 GB, free: 10.55 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.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: 5.464880865067244]