Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001264/0.001264, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.004414/0.004414, allocations: 169.7 kB / 24.82 MB, free: 9.254 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.9533/0.9533, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2256/0.2256, allocations: 32.81 MB / 294.6 MB, free: 1.262 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.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.45e-05, allocations: 6.25 kB / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002198/0.002212, allocations: 1.63 MB / 378.1 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006727/0.002885, allocations: 0.522 MB / 378.6 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.002938, allocations: 0 / 378.6 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.003137, allocations: 35.72 kB / 378.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.003366, allocations: 75.61 kB / 378.8 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.003553, allocations: 91.64 kB / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.003667, allocations: 75.7 kB / 378.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.793e-05/0.003745, allocations: 7.984 kB / 378.9 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.295e-05/0.003798, allocations: 31.92 kB / 379 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.003845, allocations: 15.97 kB / 379 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.003857, allocations: 4 kB / 379 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.798e-05/0.003915, allocations: 31.92 kB / 379 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.003951, allocations: 15.94 kB / 379 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.003973, allocations: 15.92 kB / 379 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.004087, allocations: 71.73 kB / 379.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.004088, allocations: 0 / 379.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.004089, allocations: 0 / 379.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.004092, allocations: 3.938 kB / 379.1 MB, free: 1.77 MB / 346.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.0002972/0.004389, allocations: 420 kB / 379.5 MB, free: 1.324 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.00442, allocations: 16.03 kB / 379.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.004446, allocations: 12.89 kB / 379.5 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.004549, allocations: 137.1 kB / 379.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.004556, allocations: 384 / 379.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.004571, allocations: 8.375 kB / 379.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.481e-05/0.004646, allocations: 50.7 kB / 379.7 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.004653, allocations: 0 / 379.7 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.004658, allocations: 0 / 379.7 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.004662, allocations: 4 kB / 379.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.01e-05/0.004682, allocations: 11.92 kB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.004879, allocations: 264.3 kB / 380 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.004982, allocations: 39.05 kB / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.367e-05/0.004996, allocations: 11.62 kB / 380.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.005018, allocations: 4 kB / 380.1 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.005037, allocations: 41.41 kB / 380.1 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.005038, allocations: 0 / 380.1 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002166/0.005255, allocations: 89.55 kB / 380.2 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.005276, allocations: 55.41 kB / 380.2 MB, free: 500 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.813e-05/0.005365, allocations: 212.8 kB / 380.5 MB, free: 272 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.005374, allocations: 33.7 kB / 380.5 MB, free: 232 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.00542, allocations: 154.8 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.005439, allocations: 11.84 kB / 380.7 MB, free: 60 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.005464, allocations: 23.38 kB / 380.7 MB, free: 28 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.005569, allocations: 0.5 MB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.005579, allocations: 4 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.005589, allocations: 7.984 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.438e-05/0.005614, allocations: 19.69 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005616, allocations: 7.938 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.459e-05/0.005671, allocations: 57.58 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/0.005679, allocations: 4 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.005682, allocations: 8 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.005689, allocations: 256 / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.43e-05/0.005724, allocations: 8 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/0.005727, allocations: 4 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.005743, allocations: 7.984 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-06/0.005746, allocations: 0 / 381.3 MB, free: 15.38 MB / 362.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.412e-05/0.0058, allocations: 160.5 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.005818, allocations: 15.91 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.066e-05/0.005899, allocations: 66.08 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.0059, allocations: 0 / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.005902, allocations: 4 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.005904, allocations: 0 / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.006095, allocations: 298 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006096, allocations: 4 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.006121, allocations: 8 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.006122, allocations: 3.984 kB / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.006126, allocations: 0 / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.006127, allocations: 0 / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006127, allocations: 3.938 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.007e-05/0.006207, allocations: 207.8 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-06/0.006214, allocations: 7.953 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-06/0.006222, allocations: 4 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-05/0.006253, allocations: 4 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.006271, allocations: 3.984 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.006275, allocations: 4 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.229e-05/0.006327, allocations: 157.6 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006327, allocations: 0 / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001486/0.006476, allocations: 8 kB / 382.2 MB, free: 14.37 MB / 362.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.0006789/0.007154, allocations: 392.5 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.02e-05/0.007215, allocations: 35.59 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007216, allocations: 0 / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.739e-05/0.007234, allocations: 15.69 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.007416, allocations: 30.91 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002286/0.007644, allocations: 182.3 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.163e-05/0.007676, allocations: 67.27 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.528e-05/0.007701, allocations: 8 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.007747, allocations: 78.19 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.007748, allocations: 0 / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of Templates: time 0.002783/0.01053, allocations: 1.285 MB / 384.3 MB, free: 12.39 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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.833388757891953]