Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001023/0.001023, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001093/0.001093, allocations: 167.1 kB / 25.61 MB, free: 8.551 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.9722/0.9722, allocations: 177.1 MB / 206 MB, free: 4.504 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.1483/0.1483, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.226e-05, allocations: 2.312 kB / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002278/0.0023, allocations: 1.633 MB / 378.9 MB, free: 23.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.00341, allocations: 1.278 MB / 380.2 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.003501, allocations: 4 kB / 380.2 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.00376, allocations: 19.8 kB / 380.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.004055, allocations: 87.55 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.00429, allocations: 115.6 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.004417, allocations: 71.81 kB / 380.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.711e-05/0.004514, allocations: 11.8 kB / 380.5 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.354e-05/0.004578, allocations: 39.84 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.427e-05/0.004672, allocations: 23.91 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.004687, allocations: 4 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.004814, allocations: 91.81 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.004857, allocations: 19.92 kB / 380.7 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.00488, allocations: 12 kB / 380.7 MB, free: 22.19 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.005056, allocations: 143.5 kB / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.005059, allocations: 0 / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.00506, allocations: 0 / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.005065, allocations: 0 / 380.8 MB, free: 22.05 MB / 314.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.0003854/0.00545, allocations: 424 kB / 381.2 MB, free: 21.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.00549, allocations: 11.98 kB / 381.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.005535, allocations: 12.89 kB / 381.2 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.005671, allocations: 140.5 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.005683, allocations: 4.375 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.005704, allocations: 4.375 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.005829, allocations: 107.9 kB / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.00584, allocations: 192 / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.005848, allocations: 4.125 kB / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.005853, allocations: 4 kB / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.072e-05/0.005874, allocations: 7.984 kB / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.006079, allocations: 252.4 kB / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.006204, allocations: 39 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.00622, allocations: 19.77 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.006236, allocations: 0 / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.006253, allocations: 41.33 kB / 381.9 MB, free: 20.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.006253, allocations: 0 / 381.9 MB, free: 20.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002714/0.006525, allocations: 85.55 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.006551, allocations: 81.11 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.00663, allocations: 196 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.006638, allocations: 29.7 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.006672, allocations: 138.8 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.006691, allocations: 19.83 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.006733, allocations: 27.38 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.653e-05/0.00679, allocations: 496.1 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.006802, allocations: 11.98 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/0.006831, allocations: 53.02 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.135e-05/0.006862, allocations: 23.67 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.006863, allocations: 0 / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.216e-05/0.006925, allocations: 53.84 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.006937, allocations: 8 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.006941, allocations: 0 / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.00695, allocations: 4 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.722e-05/0.006998, allocations: 11.98 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.007, allocations: 0 / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.007021, allocations: 4 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.007026, allocations: 11.97 kB / 383.1 MB, free: 19.54 MB / 314.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.214e-05/0.007068, allocations: 164.5 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.007089, allocations: 11.89 kB / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.692e-05/0.007186, allocations: 58.16 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.007188, allocations: 288 / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.00719, allocations: 7.938 kB / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.007194, allocations: 7.969 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.007381, allocations: 298 kB / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.007383, allocations: 0 / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.487e-05/0.007417, allocations: 19.98 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.00742, allocations: 0 / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-06/0.007424, allocations: 0 / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007426, allocations: 0 / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007427, allocations: 0 / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.565e-05/0.007512, allocations: 207.8 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.007524, allocations: 11.95 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.007536, allocations: 0 / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.007576, allocations: 8 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.0076, allocations: 3.984 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.007605, allocations: 4.188 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.713e-05/0.007642, allocations: 156.9 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007642, allocations: 0 / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000197/0.007839, allocations: 35.88 kB / 384.1 MB, free: 18.49 MB / 314.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.001016/0.008855, allocations: 495.8 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.097e-05/0.008946, allocations: 27.67 kB / 384.6 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.008947, allocations: 0 / 384.6 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.008966, allocations: 23.62 kB / 384.6 MB, free: 18.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.009179, allocations: 26.77 kB / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.00947, allocations: 155.9 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.587e-05/0.009496, allocations: 67.2 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.987e-05/0.009546, allocations: 16.23 kB / 384.9 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.009602, allocations: 90.19 kB / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.009603, allocations: 0 / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of Templates: time 0.00343/0.01303, allocations: 2.053 MB / 387 MB, free: 15.7 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.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.2196102826856077]