Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001265/0.001265, 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.005695/0.005695, allocations: 161.2 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.9303/0.9303, allocations: 177.1 MB / 205 MB, free: 5.723 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.2651/0.2651, allocations: 32.79 MB / 294.2 MB, free: 1.195 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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 3.938 kB / 440.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.066e-05, allocations: 2.281 kB / 440.9 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002142/0.002173, allocations: 1.594 MB / 442.5 MB, free: 2.129 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007553/0.002928, allocations: 0.5375 MB / 443 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.002986, allocations: 0 / 443 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.003214, allocations: 19.86 kB / 443 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.00346, allocations: 87.55 kB / 443.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.003679, allocations: 110 kB / 443.2 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.003815, allocations: 71.72 kB / 443.3 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.003915, allocations: 15.97 kB / 443.3 MB, free: 1.289 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.382e-05/0.003969, allocations: 27.92 kB / 443.3 MB, free: 1.262 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.004028, allocations: 15.92 kB / 443.3 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.00404, allocations: 0 / 443.3 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.884e-05/0.004109, allocations: 43.91 kB / 443.4 MB, free: 1.203 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.004155, allocations: 11.94 kB / 443.4 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.004183, allocations: 15.86 kB / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.004331, allocations: 87.72 kB / 443.5 MB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004333, allocations: 4 kB / 443.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.004335, allocations: 0 / 443.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.004339, allocations: 0 / 443.5 MB, free: 1.086 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003772/0.004716, allocations: 317.8 kB / 443.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.004753, allocations: 8.031 kB / 443.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.004787, allocations: 8.891 kB / 443.8 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.004918, allocations: 138.2 kB / 444 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.004926, allocations: 384 / 444 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.004951, allocations: 8.359 kB / 444 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.005066, allocations: 54 kB / 444 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.005077, allocations: 3.953 kB / 444 MB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.005086, allocations: 3.984 kB / 444 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.005091, allocations: 4 kB / 444 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.642e-05/0.005147, allocations: 23.92 kB / 444.1 MB, free: 480 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.005417, allocations: 228.6 kB / 444.3 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.005585, allocations: 42.5 kB / 444.3 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.005614, allocations: 24.88 kB / 444.3 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.005635, allocations: 4 kB / 444.3 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.005656, allocations: 38.5 kB / 444.4 MB, free: 88 kB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.005657, allocations: 0 / 444.4 MB, free: 88 kB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.2016/0.2072, allocations: 152.3 kB / 444.5 MB, free: 46.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.2073, allocations: 53 kB / 444.6 MB, free: 46.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.2074, allocations: 176.6 kB / 444.8 MB, free: 46.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.2074, allocations: 26.45 kB / 444.8 MB, free: 46.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.2074, allocations: 98.64 kB / 444.9 MB, free: 46.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.2075, allocations: 25.03 kB / 444.9 MB, free: 46.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.2075, allocations: 18.39 kB / 444.9 MB, free: 46.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.242e-05/0.2075, allocations: 325.1 kB / 445.2 MB, free: 46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-05/0.2076, allocations: 21.41 kB / 445.3 MB, free: 46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.2076, allocations: 22.08 kB / 445.3 MB, free: 46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.759e-05/0.2077, allocations: 52.92 kB / 445.3 MB, free: 45.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2077, allocations: 1.562 kB / 445.3 MB, free: 45.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001155/0.2078, allocations: 88.58 kB / 445.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2078, allocations: 5.844 kB / 445.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2078, allocations: 0.7188 kB / 445.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.2079, allocations: 0 / 445.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.682e-05/0.2079, allocations: 16.17 kB / 445.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.2079, allocations: 2.344 kB / 445.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.2079, allocations: 3.531 kB / 445.5 MB, free: 45.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.2079, allocations: 0 / 445.5 MB, free: 45.96 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 (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 5.783e-05/0.208, allocations: 130.6 kB / 445.6 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.208, allocations: 6.828 kB / 445.6 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.2082, allocations: 112.7 kB / 445.7 MB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2082, allocations: 0 / 445.7 MB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2082, allocations: 0 / 445.7 MB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2082, allocations: 0 / 445.7 MB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.2085, allocations: 295.3 kB / 446 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2085, allocations: 6.844 kB / 446 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.2085, allocations: 22.3 kB / 446 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2085, allocations: 0 / 446 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2085, allocations: 2.594 kB / 446 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2085, allocations: 7.125 kB / 446 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2085, allocations: 0 / 446 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.2086, allocations: 187.5 kB / 446.2 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.2086, allocations: 10.61 kB / 446.2 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.2087, allocations: 3.062 kB / 446.2 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.423e-05/0.2087, allocations: 8.609 kB / 446.2 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.2087, allocations: 5.375 kB / 446.2 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.2087, allocations: 2.688 kB / 446.2 MB, free: 45.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.079e-05/0.2088, allocations: 138.2 kB / 446.4 MB, free: 45.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2088, allocations: 0 / 446.4 MB, free: 45.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001666/0.209, allocations: 10.69 kB / 446.4 MB, free: 45.35 MB / 410.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.0007283/0.2097, allocations: 438.2 kB / 446.8 MB, free: 45.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.2098, allocations: 51.06 kB / 446.9 MB, free: 45.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2098, allocations: 0 / 446.9 MB, free: 45.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.646e-05/0.2099, allocations: 28.83 kB / 446.9 MB, free: 45.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.2102, allocations: 23.11 kB / 446.9 MB, free: 45.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.2106, allocations: 227.4 kB / 447.1 MB, free: 45.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.869e-05/0.2106, allocations: 90.05 kB / 447.2 MB, free: 45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.2106, allocations: 14.56 kB / 447.2 MB, free: 45 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2106, allocations: 3.938 kB / 447.2 MB, free: 45 MB / 410.7 MB Notification: Performance of Templates: time 0.002402/0.213, allocations: 1.544 MB / 448.8 MB, free: 44.84 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.154648442752659]