Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001679/0.001679, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001503/0.001503, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.559/1.559, allocations: 230.2 MB / 257.8 MB, free: 8.531 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.2773/0.2773, allocations: 46.9 MB / 361.1 MB, free: 4.656 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.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [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.002301/0.002301, allocations: 83.88 kB / 0.4968 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4291, allocations: 65.99 MB / 0.5613 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.005048/0.4342, allocations: 1.753 MB / 0.563 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.4367, allocations: 1.064 MB / 0.564 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.4368, allocations: 4 kB / 0.564 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.4373, allocations: 39.78 kB / 0.5641 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004571/0.4378, allocations: 95.59 kB / 0.5642 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.4381, allocations: 79.66 kB / 0.5642 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.4384, allocations: 111.6 kB / 0.5644 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.4386, allocations: 11.97 kB / 0.5644 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.4387, allocations: 47.78 kB / 0.5644 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/0.439, allocations: 43.83 kB / 0.5645 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.4391, allocations: 4 kB / 0.5645 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003192/0.4394, allocations: 115.9 kB / 0.5646 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.585e-05/0.4395, allocations: 19.92 kB / 0.5646 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.542e-05/0.4396, allocations: 43.73 kB / 0.5646 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005271/0.4401, allocations: 174.2 kB / 0.5648 GB, free: 1.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.4401, allocations: 0 / 0.5648 GB, free: 1.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.4401, allocations: 0 / 0.5648 GB, free: 1.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.4401, allocations: 0 / 0.5648 GB, free: 1.418 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001151/0.4413, allocations: 446.4 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.114e-05/0.4413, allocations: 12.03 kB / 0.5652 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.703e-05/0.4414, allocations: 12.89 kB / 0.5652 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.442, allocations: 212.1 kB / 0.5654 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.4421, allocations: 4.375 kB / 0.5654 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.4421, allocations: 4.375 kB / 0.5655 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.4424, allocations: 75.64 kB / 0.5655 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.4424, allocations: 0 / 0.5655 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.4424, allocations: 7.984 kB / 0.5655 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4424, allocations: 0 / 0.5655 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.611e-05/0.4425, allocations: 16 kB / 0.5655 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006477/0.4432, allocations: 273 kB / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.4435, allocations: 74.48 kB / 0.5659 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.716e-05/0.4435, allocations: 28.97 kB / 0.5659 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/0.4436, allocations: 0 / 0.5659 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.4438, allocations: 79.36 kB / 0.566 GB, free: 28 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.4438, allocations: 0 / 0.566 GB, free: 28 kB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008812/0.4447, allocations: 197.3 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.875e-05/0.4448, allocations: 77.11 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.4451, allocations: 174.8 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.4451, allocations: 25.7 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.4452, allocations: 100.1 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/0.4453, allocations: 35.78 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.4453, allocations: 29.72 kB / 0.5666 GB, free: 15.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.4456, allocations: 326.8 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.4457, allocations: 23.98 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.4458, allocations: 54.55 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.4459, allocations: 77.64 kB / 0.5671 GB, free: 14.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4459, allocations: 4.031 kB / 0.5671 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003024/0.4463, allocations: 125.5 kB / 0.5672 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.4463, allocations: 6.188 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4463, allocations: 0 / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.195e-05/0.4463, allocations: 4 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.4465, allocations: 23.92 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.4465, allocations: 0 / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.4465, allocations: 8 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.4465, allocations: 7.984 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001712/0.4467, allocations: 129.8 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.4468, allocations: 15.91 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.4471, allocations: 134.3 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.4471, allocations: 3.984 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4471, allocations: 0 / 0.5675 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.4471, allocations: 3.984 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006974/0.4478, allocations: 431.1 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4478, allocations: 4 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.641e-05/0.4479, allocations: 12 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4479, allocations: 0 / 0.5679 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.4479, allocations: 7.922 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4479, allocations: 4 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4479, allocations: 0 / 0.5679 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.4482, allocations: 216.3 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.083e-05/0.4483, allocations: 89 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.4483, allocations: 7.938 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.4484, allocations: 4 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.4485, allocations: 7.984 kB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.4485, allocations: 4 kB / 0.5683 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001485/0.4486, allocations: 135.2 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4486, allocations: 0 / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003847/0.449, allocations: 51.86 kB / 0.5684 GB, free: 13.32 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002323/0.4513, allocations: 0.5526 MB / 0.569 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.4516, allocations: 71.91 kB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.4517, allocations: 4.062 kB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.4518, allocations: 39.91 kB / 0.5691 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.4522, allocations: 34.89 kB / 0.5691 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005913/0.4528, allocations: 223 kB / 0.5693 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.4532, allocations: 0.7006 MB / 0.57 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.286e-05/0.4532, allocations: 28.47 kB / 0.57 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.4533, allocations: 27.42 kB / 0.5701 GB, free: 11.79 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4533, allocations: 0 / 0.5701 GB, free: 11.79 MB / 414.1 MB Notification: Performance of Templates: time 0.00698/0.4603, allocations: 2.55 MB / 0.5726 GB, free: 9.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.664038167800754]