Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.001152/0.001152, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001206/0.002358, 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.000725/0.000725, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001351/0.002076, 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 0.9712/0.9712, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1035/1.075, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2613/0.2613, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02609/0.2874, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 292.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.51e-05, allocations: 3.078 kB / 292.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.00247/0.002495, allocations: 1.74 MB / 294.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.00396, allocations: 1.325 MB / 295.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.004017, allocations: 0 / 295.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.004136, allocations: 23.78 kB / 295.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.004388, allocations: 79.56 kB / 295.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.004662, allocations: 131.6 kB / 295.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.004795, allocations: 83.7 kB / 296 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.459e-05/0.004879, allocations: 8 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.956e-05/0.004979, allocations: 59.83 kB / 296.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.005072, allocations: 23.91 kB / 296.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.005086, allocations: 8 kB / 296.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.005267, allocations: 95.88 kB / 296.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.005315, allocations: 15.92 kB / 296.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.005337, allocations: 11.94 kB / 296.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.005526, allocations: 131.5 kB / 296.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-05/0.00554, allocations: 0 / 296.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.005542, allocations: 4 kB / 296.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.005557, allocations: 0 / 296.4 MB, free: 2.531 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.0004178/0.005975, allocations: 329.1 kB / 296.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.006005, allocations: 8.031 kB / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.00604, allocations: 4.938 kB / 296.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.006177, allocations: 133.6 kB / 296.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.006186, allocations: 4.375 kB / 296.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.006204, allocations: 8.359 kB / 296.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.006331, allocations: 102.3 kB / 296.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.006339, allocations: 192 / 296.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.006347, allocations: 8.125 kB / 297 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.006353, allocations: 4 kB / 297 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.58e-05/0.006378, allocations: 4 kB / 297 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.006574, allocations: 172.2 kB / 297.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.627e-05/0.00663, allocations: 30.56 kB / 297.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/0.006645, allocations: 8.859 kB / 297.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.006667, allocations: 0 / 297.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.006689, allocations: 38.5 kB / 297.2 MB, free: 1.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 5.51e-07/0.006689, allocations: 0 / 297.2 MB, free: 1.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002945/0.006984, allocations: 109.6 kB / 297.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.007015, allocations: 55.34 kB / 297.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.514e-05/0.0071, allocations: 142.7 kB / 297.5 MB, free: 1.258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.00711, allocations: 25.7 kB / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.644e-05/0.007137, allocations: 88.08 kB / 297.6 MB, free: 1.137 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.007164, allocations: 35.72 kB / 297.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.007191, allocations: 17.72 kB / 297.7 MB, free: 1.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.201e-05/0.007273, allocations: 322.8 kB / 298 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.007287, allocations: 8 kB / 298 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.007318, allocations: 51.47 kB / 298 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/0.007351, allocations: 32.86 kB / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.007352, allocations: 0 / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.872e-05/0.00741, allocations: 57.56 kB / 298.1 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.007422, allocations: 5.719 kB / 298.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.007426, allocations: 0 / 298.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.475e-06/0.007433, allocations: 0 / 298.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.131e-05/0.007505, allocations: 19.98 kB / 298.2 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.007507, allocations: 0 / 298.2 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.481e-05/0.007532, allocations: 11.98 kB / 298.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-06/0.007536, allocations: 0 / 298.2 MB, free: 0.5508 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 (7): * Single equations (assignments): 7 * 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 5.153e-05/0.007588, allocations: 116.7 kB / 298.3 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.007606, allocations: 11.92 kB / 298.3 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.863e-05/0.007694, allocations: 70.38 kB / 298.4 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007696, allocations: 4 kB / 298.4 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.007697, allocations: 0 / 298.4 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.0077, allocations: 0 / 298.4 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.007886, allocations: 222.7 kB / 298.6 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007887, allocations: 0 / 298.6 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.007928, allocations: 27.92 kB / 298.6 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.007935, allocations: 3.953 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.007937, allocations: 8 kB / 298.6 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.007942, allocations: 0 / 298.6 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.007942, allocations: 0 / 298.6 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007943, allocations: 0 / 298.6 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.079e-05/0.008034, allocations: 155.8 kB / 298.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.008046, allocations: 4 kB / 298.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.008115, allocations: 7.984 kB / 298.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.008139, allocations: 4.219 kB / 298.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.008144, allocations: 4 kB / 298.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.728e-05/0.008171, allocations: 32.81 kB / 298.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008171, allocations: 8 kB / 298.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.008334, allocations: 35.88 kB / 298.9 MB, free: 15.79 MB / 298.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 (7): * Single equations (assignments): 7 * 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.001392/0.009726, allocations: 0.6953 MB / 299.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.271e-05/0.009819, allocations: 28.84 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.009825, allocations: 0 / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.446e-05/0.00985, allocations: 32.91 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.01002, allocations: 35.11 kB / 299.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.01048, allocations: 192 kB / 299.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.262e-05/0.01052, allocations: 63.34 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.229e-05/0.01057, allocations: 11.98 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.372e-05/0.01066, allocations: 71.36 kB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01066, allocations: 0 / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of Templates: time 0.004089/0.01474, allocations: 2.156 MB / 302.1 MB, free: 12.85 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.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: 2.9958205902948976]