Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.001229/0.001229, allocations: 95.31 kB / 20.43 MB, free: 4.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.001488/0.001488, allocations: 165 kB / 23.8 MB, free: 0.7656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9749/0.9749, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1381/0.1381, allocations: 32.38 MB / 270.4 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.04e-05, allocations: 17.28 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.0028/0.00283, allocations: 1.638 MB / 349.3 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005877/0.003418, allocations: 331.4 kB / 349.7 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.003477, allocations: 0 / 349.7 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005243/0.004001, allocations: 451 kB / 350.1 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.004362, allocations: 259.4 kB / 350.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.004646, allocations: 99.73 kB / 350.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.004877, allocations: 159.7 kB / 350.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.004982, allocations: 16.16 kB / 350.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.005112, allocations: 119.7 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.005312, allocations: 239.6 kB / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.005334, allocations: 0 / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.28e-05/0.005417, allocations: 31.98 kB / 351 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.311e-05/0.00551, allocations: 79.72 kB / 351.1 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.005549, allocations: 35.75 kB / 351.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.005788, allocations: 199.1 kB / 351.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.005791, allocations: 4 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005793, allocations: 0 / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.005798, allocations: 3.938 kB / 351.3 MB, free: 5.789 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.0005602/0.006359, allocations: 0.6738 MB / 352 MB, free: 5.078 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.0064, allocations: 12.03 kB / 352 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.006464, allocations: 44.66 kB / 352 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.00665, allocations: 244.8 kB / 352.3 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.006662, allocations: 4.375 kB / 352.3 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.006689, allocations: 4.375 kB / 352.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.006821, allocations: 58.89 kB / 352.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.006832, allocations: 192 / 352.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.006843, allocations: 11.94 kB / 352.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.006851, allocations: 0 / 352.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.491e-05/0.006886, allocations: 7.984 kB / 352.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.007301, allocations: 423.7 kB / 352.8 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.007483, allocations: 46.92 kB / 352.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.007508, allocations: 15.69 kB / 352.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.007531, allocations: 0 / 352.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.007549, allocations: 37.47 kB / 352.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.00755, allocations: 0 / 352.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006504/0.0082, allocations: 184.7 kB / 353.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.008242, allocations: 59.41 kB / 353.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.008606, allocations: 0.6199 MB / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-06/0.008613, allocations: 25.7 kB / 353.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.008715, allocations: 278.9 kB / 354 MB, free: 2.887 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.008737, allocations: 19.8 kB / 354.1 MB, free: 2.867 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.008769, allocations: 31.36 kB / 354.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.932e-05/0.008838, allocations: 0.5508 MB / 354.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/0.008857, allocations: 4 kB / 354.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.008871, allocations: 4 kB / 354.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.552e-05/0.008907, allocations: 27.61 kB / 354.7 MB, free: 2.227 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.008909, allocations: 4 kB / 354.7 MB, free: 2.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.447e-05/0.009003, allocations: 97.55 kB / 354.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.009017, allocations: 8 kB / 354.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.009023, allocations: 3.984 kB / 354.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.009042, allocations: 0 / 354.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.333e-05/0.009115, allocations: 8 kB / 354.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.009121, allocations: 0 / 354.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.009146, allocations: 4 kB / 354.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.009151, allocations: 0 / 354.8 MB, free: 2.098 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 (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.283e-05/0.009204, allocations: 172.4 kB / 355 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.009232, allocations: 43.72 kB / 355 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.009366, allocations: 93.41 kB / 355.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.009369, allocations: 0 / 355.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.009374, allocations: 3.984 kB / 355.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.009377, allocations: 0 / 355.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.009665, allocations: 465.3 kB / 355.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.009667, allocations: 0 / 355.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.009702, allocations: 12 kB / 355.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.009704, allocations: 0 / 355.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.009711, allocations: 4 kB / 355.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.009712, allocations: 4 kB / 355.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.009713, allocations: 0 / 355.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.669e-05/0.00979, allocations: 243.8 kB / 355.8 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.009808, allocations: 35.72 kB / 355.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.009824, allocations: 7.922 kB / 355.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-05/0.009868, allocations: 4 kB / 355.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.009905, allocations: 0 / 355.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.009909, allocations: 4 kB / 355.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002726/0.01018, allocations: 422.8 kB / 356.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01018, allocations: 0 / 356.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.01035, allocations: 27.88 kB / 356.3 MB, free: 0.5117 MB / 282.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.0007318/0.01108, allocations: 380.5 kB / 356.7 MB, free: 232 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.982e-05/0.01117, allocations: 31.67 kB / 356.7 MB, free: 196 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.01117, allocations: 4 kB / 356.7 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.01119, allocations: 27.62 kB / 356.7 MB, free: 160 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.01143, allocations: 25.95 kB / 356.8 MB, free: 136 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/0.01207, allocations: 0.5665 MB / 357.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.272e-05/0.01214, allocations: 119.2 kB / 357.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.812e-05/0.01217, allocations: 4 kB / 357.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.0122, allocations: 16.48 kB / 357.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of SimCode: time 6.42e-07/0.0122, allocations: 4 kB / 357.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of Templates: time 0.003872/0.01607, allocations: 1.359 MB / 358.8 MB, free: 14.02 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.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.2705258917994797]