Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.001407/0.001407, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 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.001501/0.001501, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.122/1.122, allocations: 158.6 MB / 186 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1532/0.1532, allocations: 32.37 MB / 270.7 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/3.001e-05, allocations: 8.219 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.002939/0.002969, allocations: 1.599 MB / 349.3 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.004254, allocations: 1.06 MB / 350.3 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.061e-05/0.004325, allocations: 0 / 350.3 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.004586, allocations: 27.78 kB / 350.4 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.00483, allocations: 55.64 kB / 350.4 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.005123, allocations: 83.81 kB / 350.5 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.005274, allocations: 55.83 kB / 350.5 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.005381, allocations: 8 kB / 350.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.729e-05/0.005448, allocations: 39.84 kB / 350.6 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.005556, allocations: 19.91 kB / 350.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.005574, allocations: 4 kB / 350.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.005684, allocations: 47.92 kB / 350.7 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.005732, allocations: 19.91 kB / 350.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.005762, allocations: 8 kB / 350.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.006031, allocations: 79.67 kB / 350.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.006037, allocations: 0 / 350.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.006039, allocations: 0 / 350.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.006045, allocations: 0 / 350.8 MB, free: 6.656 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003604/0.006406, allocations: 408.1 kB / 351.2 MB, free: 6.223 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.00644, allocations: 12.03 kB / 351.2 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.006489, allocations: 4.938 kB / 351.2 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.006609, allocations: 140.5 kB / 351.3 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.006618, allocations: 4.375 kB / 351.3 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.00664, allocations: 384 / 351.3 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.006805, allocations: 100 kB / 351.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.006823, allocations: 192 / 351.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.006839, allocations: 4.125 kB / 351.4 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.006846, allocations: 0 / 351.4 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.191e-05/0.006898, allocations: 15.92 kB / 351.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.007181, allocations: 271.8 kB / 351.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.007324, allocations: 39.05 kB / 351.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.007343, allocations: 15.69 kB / 351.8 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.007361, allocations: 4.031 kB / 351.8 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.007377, allocations: 45.31 kB / 351.8 MB, free: 5.469 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.007378, allocations: 0 / 351.8 MB, free: 5.469 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003395/0.007718, allocations: 89.75 kB / 351.9 MB, free: 5.375 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.007752, allocations: 85.11 kB / 352 MB, free: 5.273 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.229e-05/0.007835, allocations: 188.4 kB / 352.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.007841, allocations: 25.7 kB / 352.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.007867, allocations: 134.9 kB / 352.3 MB, free: 4.906 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.007884, allocations: 23.83 kB / 352.3 MB, free: 4.883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.007909, allocations: 23.38 kB / 352.4 MB, free: 4.852 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.944e-05/0.007948, allocations: 496.1 kB / 352.9 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.007965, allocations: 11.98 kB / 352.9 MB, free: 4.344 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-05/0.007993, allocations: 45.27 kB / 352.9 MB, free: 4.285 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.513e-05/0.008028, allocations: 27.69 kB / 352.9 MB, free: 4.254 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.008029, allocations: 0 / 352.9 MB, free: 4.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.212e-05/0.008101, allocations: 73.5 kB / 353 MB, free: 4.176 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.008116, allocations: 7.938 kB / 353 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.00812, allocations: 4.031 kB / 353 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.008133, allocations: 0 / 353 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.564e-05/0.008179, allocations: 11.98 kB / 353 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.008185, allocations: 4 kB / 353 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.008204, allocations: 0 / 353 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.008209, allocations: 4 kB / 353 MB, free: 4.145 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 4.269e-05/0.008252, allocations: 156.6 kB / 353.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.008272, allocations: 11.89 kB / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.758e-05/0.00837, allocations: 65.73 kB / 353.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.008372, allocations: 4 kB / 353.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.008377, allocations: 4 kB / 353.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.008381, allocations: 0 / 353.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.00856, allocations: 321.4 kB / 353.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.008561, allocations: 0 / 353.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.008597, allocations: 8.188 kB / 353.6 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.008599, allocations: 3.938 kB / 353.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.008606, allocations: 8 kB / 353.6 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.008607, allocations: 0 / 353.6 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008608, allocations: 0 / 353.6 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.323e-05/0.008681, allocations: 207.8 kB / 353.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-06/0.008688, allocations: 7.953 kB / 353.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.008701, allocations: 7.984 kB / 353.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.031e-05/0.008732, allocations: 4 kB / 353.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.008766, allocations: 4 kB / 353.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.008769, allocations: 0 / 353.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.768e-05/0.008807, allocations: 151.2 kB / 354 MB, free: 3.125 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008807, allocations: 0 / 354 MB, free: 3.125 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.008978, allocations: 19.94 kB / 354 MB, free: 3.105 MB / 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.0008371/0.009815, allocations: 425.7 kB / 354.4 MB, free: 2.785 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.818e-05/0.009913, allocations: 31.67 kB / 354.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.009915, allocations: 4 kB / 354.5 MB, free: 2.746 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.973e-05/0.009935, allocations: 19.69 kB / 354.5 MB, free: 2.723 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.01014, allocations: 28.11 kB / 354.5 MB, free: 2.695 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.01042, allocations: 162 kB / 354.7 MB, free: 2.508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.568e-05/0.01045, allocations: 59.34 kB / 354.7 MB, free: 2.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.047e-05/0.01049, allocations: 11.98 kB / 354.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.01052, allocations: 20.48 kB / 354.7 MB, free: 2.398 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01052, allocations: 4 kB / 354.8 MB, free: 2.395 MB / 282.7 MB Notification: Performance of Templates: time 0.002926/0.01345, allocations: 1.436 MB / 356.2 MB, free: 0.9648 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.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.393760332139209]