Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.0008175/0.0008175, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.007758/0.007758, allocations: 165.1 kB / 24.7 MB, free: 9.426 MB / 18.57 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.9206/0.9206, allocations: 177.2 MB / 205 MB, free: 5.715 MB / 186.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.282/0.282, allocations: 32.79 MB / 294.2 MB, free: 1.211 MB / 266.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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 440.9 MB, free: 3.719 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3e-05, allocations: 8.328 kB / 440.9 MB, free: 3.711 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002242/0.002272, allocations: 1.663 MB / 442.5 MB, free: 2.035 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007045/0.002976, allocations: 0.5413 MB / 443.1 MB, free: 1.488 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.003031, allocations: 0 / 443.1 MB, free: 1.488 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004457/0.003477, allocations: 458.9 kB / 443.5 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003565/0.003833, allocations: 299.2 kB / 443.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.004051, allocations: 136.1 kB / 444 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.004235, allocations: 175.6 kB / 444.1 MB, free: 456 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.846e-05/0.004334, allocations: 11.94 kB / 444.1 MB, free: 444 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.004439, allocations: 127.8 kB / 444.3 MB, free: 316 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.004636, allocations: 235.6 kB / 444.5 MB, free: 80 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.004655, allocations: 4 kB / 444.5 MB, free: 76 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.755e-05/0.004753, allocations: 55.86 kB / 444.6 MB, free: 20 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1956/0.2004, allocations: 82 kB / 444.6 MB, free: 44.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.2004, allocations: 42.98 kB / 444.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.2007, allocations: 250.2 kB / 444.9 MB, free: 44.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.2007, allocations: 0 / 444.9 MB, free: 44.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2007, allocations: 2.75 kB / 444.9 MB, free: 44.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.2008, allocations: 3.938 kB / 444.9 MB, free: 44.6 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004337/0.2012, allocations: 0.575 MB / 445.5 MB, free: 44.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2012, allocations: 10.66 kB / 445.5 MB, free: 44.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.2013, allocations: 45.94 kB / 445.6 MB, free: 44.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.2014, allocations: 244.2 kB / 445.8 MB, free: 43.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2014, allocations: 5.094 kB / 445.8 MB, free: 43.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.2015, allocations: 6.75 kB / 445.8 MB, free: 43.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.2016, allocations: 60.22 kB / 445.9 MB, free: 43.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2016, allocations: 192 / 445.9 MB, free: 43.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.2016, allocations: 1.75 kB / 445.9 MB, free: 43.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2016, allocations: 3.938 kB / 445.9 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.955e-05/0.2017, allocations: 29.52 kB / 445.9 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.2019, allocations: 343.6 kB / 446.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.545e-05/0.202, allocations: 46.72 kB / 446.3 MB, free: 43.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.202, allocations: 17.73 kB / 446.3 MB, free: 43.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.2021, allocations: 0 / 446.3 MB, free: 43.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.2021, allocations: 37.48 kB / 446.3 MB, free: 43.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.2021, allocations: 0 / 446.3 MB, free: 43.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005579/0.2026, allocations: 304.9 kB / 446.6 MB, free: 43.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.2027, allocations: 56.97 kB / 446.7 MB, free: 43.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.2031, allocations: 0.858 MB / 447.5 MB, free: 43.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.2031, allocations: 29.2 kB / 447.6 MB, free: 43.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.454e-05/0.2032, allocations: 224.8 kB / 447.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.2032, allocations: 30.12 kB / 447.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.2032, allocations: 19.53 kB / 447.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.989e-05/0.2033, allocations: 368.2 kB / 448.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.2033, allocations: 20.69 kB / 448.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.468e-05/0.2034, allocations: 31.81 kB / 448.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.375e-05/0.2034, allocations: 62.45 kB / 448.3 MB, free: 42.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.2034, allocations: 3.938 kB / 448.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001166/0.2036, allocations: 139 kB / 448.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.2036, allocations: 5.781 kB / 448.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2036, allocations: 0 / 448.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.2036, allocations: 2.719 kB / 448.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.376e-05/0.2036, allocations: 17.92 kB / 448.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2036, allocations: 0 / 448.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.717e-05/0.2037, allocations: 6.359 kB / 448.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.2037, allocations: 2.969 kB / 448.5 MB, free: 42.79 MB / 410.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 (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 9.761e-05/0.2038, allocations: 221 kB / 448.7 MB, free: 42.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.2038, allocations: 45.91 kB / 448.8 MB, free: 42.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.204, allocations: 159.1 kB / 448.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.204, allocations: 0 / 448.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.204, allocations: 1.438 kB / 448.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.204, allocations: 0 / 448.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.2043, allocations: 450.8 kB / 449.3 MB, free: 42.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2043, allocations: 0 / 449.3 MB, free: 42.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.2043, allocations: 27.73 kB / 449.4 MB, free: 42.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2043, allocations: 0 / 449.4 MB, free: 42.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.2043, allocations: 4.375 kB / 449.4 MB, free: 42.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.2043, allocations: 0 / 449.4 MB, free: 42.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2043, allocations: 10.14 kB / 449.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.2045, allocations: 232.8 kB / 449.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.2045, allocations: 35.03 kB / 449.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.2045, allocations: 2.75 kB / 449.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.149e-05/0.2045, allocations: 10.05 kB / 449.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.2046, allocations: 17.52 kB / 449.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.2046, allocations: 2.656 kB / 449.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003154/0.2049, allocations: 0.648 MB / 450.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2049, allocations: 0 / 450.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.2051, allocations: 33.84 kB / 450.4 MB, free: 41.95 MB / 410.7 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.0007211/0.2058, allocations: 0.4885 MB / 450.9 MB, free: 41.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.2059, allocations: 65.27 kB / 450.9 MB, free: 41.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2059, allocations: 2.781 kB / 450.9 MB, free: 41.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.958e-05/0.206, allocations: 30.64 kB / 451 MB, free: 41.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.2062, allocations: 32.84 kB / 451 MB, free: 41.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.2069, allocations: 0.8602 MB / 451.8 MB, free: 41.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.207, allocations: 216.9 kB / 452.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.207, allocations: 17.19 kB / 452.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.207, allocations: 0 / 452.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of Templates: time 0.003708/0.2107, allocations: 4.096 MB / 456.2 MB, free: 40.36 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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: 4.9493467677384615]