Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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.0009685/0.0009685, allocations: 77 kB / 20.65 MB, free: 3.848 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.0009855/0.0009855, allocations: 177 kB / 24.06 MB, free: 456 kB / 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.9934/0.9934, allocations: 158.6 MB / 186 MB, free: 2.395 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.1431/0.1431, allocations: 32.37 MB / 270.7 MB, free: 14.52 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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.266e-05/3.433e-05, allocations: 4.281 kB / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003981/0.004016, allocations: 1.945 MB / 350.1 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.005861, allocations: 1.037 MB / 351.1 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.006061, allocations: 7.938 kB / 351.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.006387, allocations: 47.62 kB / 351.2 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004394/0.006826, allocations: 159.2 kB / 351.3 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.007991, allocations: 0.534 MB / 351.9 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004221/0.008414, allocations: 287.1 kB / 352.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.008605, allocations: 40.91 kB / 352.2 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.00889, allocations: 155.5 kB / 352.3 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.009135, allocations: 171.6 kB / 352.5 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.009181, allocations: 12 kB / 352.5 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.009319, allocations: 39.92 kB / 352.6 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.009623, allocations: 151.5 kB / 352.7 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.009741, allocations: 83.64 kB / 352.8 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.01015, allocations: 282.9 kB / 353.1 MB, free: 4.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.01015, allocations: 3.984 kB / 353.1 MB, free: 4.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01015, allocations: 0 / 353.1 MB, free: 4.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.01016, allocations: 0 / 353.1 MB, free: 4.219 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007453/0.01091, allocations: 0.7784 MB / 353.8 MB, free: 3.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.01095, allocations: 8.031 kB / 353.9 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.909e-05/0.01104, allocations: 64.56 kB / 353.9 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.0114, allocations: 328.6 kB / 354.2 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.01141, allocations: 12.23 kB / 354.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.01144, allocations: 16.38 kB / 354.3 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.01163, allocations: 123.5 kB / 354.4 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.01164, allocations: 3.938 kB / 354.4 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.01165, allocations: 4 kB / 354.4 MB, free: 2.812 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.01167, allocations: 7.938 kB / 354.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.047e-05/0.01172, allocations: 35.84 kB / 354.4 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.01228, allocations: 0.5574 MB / 355 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.0124, allocations: 90.14 kB / 355.1 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.01243, allocations: 23.38 kB / 355.1 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.01247, allocations: 8 kB / 355.1 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.01249, allocations: 45.5 kB / 355.2 MB, free: 1.973 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.01249, allocations: 0 / 355.2 MB, free: 1.973 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006553/0.01315, allocations: 248.9 kB / 355.4 MB, free: 1.723 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.01318, allocations: 81.11 kB / 355.5 MB, free: 1.625 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/0.01371, allocations: 0.6077 MB / 356.1 MB, free: 1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.01373, allocations: 25.7 kB / 356.1 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.0139, allocations: 318.9 kB / 356.4 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.01395, allocations: 51.58 kB / 356.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.01401, allocations: 43.34 kB / 356.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.01416, allocations: 0.5586 MB / 357.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.072e-05/0.0142, allocations: 11.98 kB / 357.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.446e-05/0.01427, allocations: 45.39 kB / 357.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.01439, allocations: 71.42 kB / 357.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.01439, allocations: 0 / 357.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002429/0.01463, allocations: 153.3 kB / 357.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.01466, allocations: 8.156 kB / 357.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.01466, allocations: 0.75 kB / 357.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.01468, allocations: 7.938 kB / 357.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.01485, allocations: 35.91 kB / 357.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.01486, allocations: 4 kB / 357.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.654e-05/0.01495, allocations: 12 kB / 357.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.01496, allocations: 0 / 357.4 MB, free: 15.61 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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 0.0001392/0.0151, allocations: 168.6 kB / 357.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.0152, allocations: 63.61 kB / 357.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.01555, allocations: 174 kB / 357.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01555, allocations: 4 kB / 357.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01556, allocations: 0 / 357.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.01556, allocations: 7.984 kB / 357.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007847/0.01635, allocations: 0.6258 MB / 358.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.01635, allocations: 0 / 358.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.01649, allocations: 35.97 kB / 358.5 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.01649, allocations: 0 / 358.5 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.01651, allocations: 8 kB / 358.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01652, allocations: 0 / 358.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01652, allocations: 0 / 358.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/0.01686, allocations: 426.5 kB / 358.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.01692, allocations: 47.66 kB / 359 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.01696, allocations: 8 kB / 359 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.01712, allocations: 7.984 kB / 359 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.01717, allocations: 15.98 kB / 359 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.01719, allocations: 7.984 kB / 359 MB, free: 13.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003689/0.01755, allocations: 382.7 kB / 359.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01755, allocations: 0 / 359.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.01785, allocations: 48 kB / 359.4 MB, free: 13.54 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001108/0.01896, allocations: 389.3 kB / 359.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.01913, allocations: 71.56 kB / 359.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01913, allocations: 0 / 359.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.224e-05/0.01922, allocations: 52.06 kB / 359.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.01985, allocations: 91.39 kB / 360 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.0213, allocations: 0.7373 MB / 360.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.02144, allocations: 140.5 kB / 360.9 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.0216, allocations: 54.91 kB / 360.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.02179, allocations: 134.2 kB / 361.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02179, allocations: 0 / 361.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of Templates: time 0.007505/0.0293, allocations: 4.408 MB / 365.5 MB, free: 7.527 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.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.1823196839541197]