Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.0009795/0.0009795, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001007/0.001007, allocations: 164.5 kB / 24.99 MB, free: 9.301 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 1.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2666/0.2666, allocations: 34.26 MB / 296 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 3.938 kB / 378 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.029e-05, allocations: 2.312 kB / 378 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002729/0.002759, allocations: 2.046 MB / 380.1 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.004124, allocations: 1.102 MB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.004225, allocations: 0 / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004356/0.004661, allocations: 274.9 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003963/0.005057, allocations: 259 kB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009947/0.006052, allocations: 0.6469 MB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.00638, allocations: 363 kB / 382.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.006546, allocations: 48.91 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.0067, allocations: 183.4 kB / 382.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.006893, allocations: 203.5 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.00692, allocations: 12 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.007053, allocations: 79.84 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.007164, allocations: 103.6 kB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/0.007224, allocations: 55.72 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.007519, allocations: 262.8 kB / 383.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.007527, allocations: 4 kB / 383.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.007528, allocations: 0 / 383.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.007534, allocations: 0 / 383.6 MB, free: 13.31 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006219/0.008156, allocations: 0.6932 MB / 384.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.0082, allocations: 12.02 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.689e-05/0.008277, allocations: 48.66 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.008565, allocations: 282.7 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.008579, allocations: 20.31 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.008613, allocations: 16.36 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.008817, allocations: 98.91 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.008833, allocations: 4.188 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.008847, allocations: 8.125 kB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.008857, allocations: 4 kB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.832e-05/0.008936, allocations: 36.62 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007328/0.009668, allocations: 483.2 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.00978, allocations: 79.03 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/0.009815, allocations: 27.67 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.009838, allocations: 4 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.00986, allocations: 37.39 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 9.41e-07/0.009861, allocations: 0 / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005935/0.01045, allocations: 332.6 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.01048, allocations: 51.41 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.01082, allocations: 498.7 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.01083, allocations: 25.7 kB / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.01095, allocations: 267.2 kB / 386.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.01099, allocations: 59.48 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.01103, allocations: 43.36 kB / 386.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.01118, allocations: 0.5313 MB / 387.2 MB, free: 9.496 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.831e-05/0.01123, allocations: 31.89 kB / 387.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.02e-05/0.01127, allocations: 27.98 kB / 387.3 MB, free: 9.438 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.835e-05/0.01136, allocations: 77.33 kB / 387.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01137, allocations: 0 / 387.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001697/0.01154, allocations: 163.6 kB / 387.5 MB, free: 9.195 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.01155, allocations: 7.938 kB / 387.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01155, allocations: 0 / 387.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.01157, allocations: 0 / 387.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.01168, allocations: 39.91 kB / 387.6 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.01168, allocations: 4 kB / 387.6 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.01172, allocations: 8 kB / 387.6 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.01172, allocations: 4 kB / 387.6 MB, free: 9.133 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 (17): * Single equations (assignments): 17 * 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 8.299e-05/0.01181, allocations: 160.6 kB / 387.8 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.01185, allocations: 47.72 kB / 387.8 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.01212, allocations: 193.5 kB / 388 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01212, allocations: 4 kB / 388 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01212, allocations: 0 / 388 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01213, allocations: 0 / 388 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.01262, allocations: 0.5773 MB / 388.6 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01262, allocations: 0 / 388.6 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.811e-05/0.01269, allocations: 31.97 kB / 388.6 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01269, allocations: 3.984 kB / 388.6 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.0127, allocations: 4 kB / 388.6 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.0127, allocations: 0 / 388.6 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0127, allocations: 0 / 388.6 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.01291, allocations: 327.3 kB / 388.9 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.01293, allocations: 35.72 kB / 389 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.01295, allocations: 0 / 389 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.589e-05/0.013, allocations: 12 kB / 389 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.01304, allocations: 11.97 kB / 389 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.01305, allocations: 4 kB / 389 MB, free: 7.656 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000201/0.01325, allocations: 335 kB / 389.3 MB, free: 7.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01325, allocations: 0 / 389.3 MB, free: 7.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001973/0.01345, allocations: 47.94 kB / 389.4 MB, free: 7.285 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 (17): * Single equations (assignments): 17 * 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.001406/0.01485, allocations: 0.6586 MB / 390 MB, free: 6.906 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.01502, allocations: 94.52 kB / 390.1 MB, free: 6.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01502, allocations: 0 / 390.1 MB, free: 6.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6e-05/0.01508, allocations: 59.59 kB / 390.2 MB, free: 6.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.01542, allocations: 103.2 kB / 390.3 MB, free: 6.656 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/0.01614, allocations: 0.5963 MB / 390.9 MB, free: 6.031 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.481e-05/0.01621, allocations: 124.2 kB / 391 MB, free: 5.891 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.609e-05/0.0163, allocations: 45.89 kB / 391 MB, free: 5.848 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/0.01636, allocations: 44.42 kB / 391.1 MB, free: 5.805 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01636, allocations: 0 / 391.1 MB, free: 5.805 MB / 362.7 MB Notification: Performance of Templates: time 0.005959/0.02232, allocations: 3.441 MB / 394.5 MB, free: 2.406 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.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.2634581332094967]