Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001201/0.001201, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001682/0.002882, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001063/0.001063, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001334/0.002397, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.148/1.148, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1328/1.281, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.2789/0.2789, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05023/0.3291, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] 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.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.739e-05, allocations: 4.812 kB / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.004644/0.004671, allocations: 1.728 MB / 292.4 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.00594, allocations: 0.5849 MB / 292.9 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.256e-05/0.006033, allocations: 2.375 kB / 292.9 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006749/0.006707, allocations: 498.3 kB / 293.4 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005617/0.007269, allocations: 311.2 kB / 293.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.007855, allocations: 176.4 kB / 293.9 MB, free: 5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.008199, allocations: 171.7 kB / 294.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.008311, allocations: 23.89 kB / 294.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.008573, allocations: 159.7 kB / 294.2 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.00882, allocations: 195.7 kB / 294.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.008839, allocations: 0 / 294.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.008962, allocations: 35.92 kB / 294.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.009063, allocations: 83.66 kB / 294.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.325e-05/0.009117, allocations: 35.75 kB / 294.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.009411, allocations: 199.2 kB / 294.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-05/0.00943, allocations: 0 / 294.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.009431, allocations: 0 / 294.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.009449, allocations: 0 / 294.8 MB, free: 4.113 MB / 282.7 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.000692/0.01014, allocations: 0.5883 MB / 295.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.01018, allocations: 23.91 kB / 295.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.01024, allocations: 28.91 kB / 295.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.01049, allocations: 238.1 kB / 295.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.0105, allocations: 384 / 295.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.01052, allocations: 8.375 kB / 295.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.01065, allocations: 54.94 kB / 295.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.01066, allocations: 192 / 295.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.01067, allocations: 8.125 kB / 295.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.01068, allocations: 0 / 295.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.394e-05/0.01071, allocations: 8 kB / 295.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.01106, allocations: 207 kB / 295.9 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.01123, allocations: 33.39 kB / 296 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.01125, allocations: 4.859 kB / 296 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.01127, allocations: 4 kB / 296 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.01129, allocations: 34.5 kB / 296 MB, free: 2.785 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.01129, allocations: 3.938 kB / 296 MB, free: 2.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004065/0.0117, allocations: 101.9 kB / 296.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.01174, allocations: 59.34 kB / 296.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004255/0.01217, allocations: 0.5283 MB / 296.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.01218, allocations: 29.7 kB / 296.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/0.01226, allocations: 149.2 kB / 296.9 MB, free: 1.875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.01228, allocations: 11.91 kB / 296.9 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.01232, allocations: 21.69 kB / 296.9 MB, free: 1.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.01246, allocations: 354.7 kB / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.01248, allocations: 4 kB / 297.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.768e-05/0.01249, allocations: 4 kB / 297.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/0.01253, allocations: 23.86 kB / 297.3 MB, free: 1.445 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01254, allocations: 0 / 297.3 MB, free: 1.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.288e-05/0.01263, allocations: 73.53 kB / 297.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.01264, allocations: 4 kB / 297.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.01265, allocations: 4 kB / 297.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.01266, allocations: 0 / 297.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.01273, allocations: 15.98 kB / 297.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.01273, allocations: 0 / 297.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.43e-05/0.01275, allocations: 0 / 297.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.01276, allocations: 11.94 kB / 297.4 MB, free: 1.332 MB / 282.7 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 (5): * Single equations (assignments): 5 * 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 8.507e-05/0.01285, allocations: 112.7 kB / 297.5 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.01288, allocations: 27.91 kB / 297.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.01302, allocations: 81.23 kB / 297.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.01302, allocations: 7.938 kB / 297.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01302, allocations: 0 / 297.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01302, allocations: 3.984 kB / 297.6 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.01328, allocations: 270.7 kB / 297.9 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01328, allocations: 0 / 297.9 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.01332, allocations: 15.98 kB / 297.9 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.01334, allocations: 31.72 kB / 297.9 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01335, allocations: 0 / 297.9 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.01335, allocations: 0 / 297.9 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01335, allocations: 0 / 297.9 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.01336, allocations: 4.188 kB / 297.9 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.617e-05/0.01345, allocations: 171.4 kB / 298.1 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.01347, allocations: 4 kB / 298.1 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-05/0.0135, allocations: 0 / 298.1 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.01353, allocations: 7.984 kB / 298.1 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.01353, allocations: 0 / 298.1 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001842/0.01372, allocations: 283.2 kB / 298.4 MB, free: 280 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01372, allocations: 0 / 298.4 MB, free: 280 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001438/0.01386, allocations: 27.94 kB / 298.4 MB, free: 252 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001317/0.01518, allocations: 0.5486 MB / 299 MB, free: 8 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.0153, allocations: 28.86 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/0.01531, allocations: 8 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.165e-05/0.01533, allocations: 16.77 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.01561, allocations: 44.28 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.01667, allocations: 0.5713 MB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.265e-05/0.01674, allocations: 127.2 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.327e-05/0.01678, allocations: 11.98 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/0.01684, allocations: 59.38 kB / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01684, allocations: 0 / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of Templates: time 0.005432/0.02227, allocations: 1.497 MB / 301.3 MB, free: 13.61 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1320134280249476]