Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008796/0.0008796, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009227/0.0009227, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.974/0.974, allocations: 177.1 MB / 205 MB, free: 5.621 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.2917/0.2917, allocations: 32.8 MB / 294.3 MB, free: 1.285 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.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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.833e-05, allocations: 2.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002365/0.002383, allocations: 2.046 MB / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.003972, allocations: 1.332 MB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.004085, allocations: 4 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.004317, allocations: 51.45 kB / 379.5 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004198/0.004737, allocations: 223 kB / 379.7 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007622/0.005499, allocations: 0.5846 MB / 380.3 MB, free: 408 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.005776, allocations: 335 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.005916, allocations: 48.89 kB / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.006143, allocations: 171.5 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.006314, allocations: 179.6 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.006341, allocations: 12 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.006445, allocations: 63.91 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.006565, allocations: 151.5 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.863e-05/0.006634, allocations: 83.58 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.006924, allocations: 318.7 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.006926, allocations: 4 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.006928, allocations: 0 / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.006935, allocations: 4 kB / 381.6 MB, free: 15.05 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007732/0.007708, allocations: 0.8211 MB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.00775, allocations: 8.031 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.007965, allocations: 88.48 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.008354, allocations: 348.6 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.008369, allocations: 4.375 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.008407, allocations: 12.38 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.008608, allocations: 133.2 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.008621, allocations: 3.938 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.008635, allocations: 8 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.008646, allocations: 4 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.095e-05/0.008727, allocations: 43.84 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006786/0.009406, allocations: 0.6661 MB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.00953, allocations: 94.16 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.009571, allocations: 31.48 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.0096, allocations: 4 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.009628, allocations: 37.39 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.009629, allocations: 4 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008011/0.01043, allocations: 435.9 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.01047, allocations: 81.11 kB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005402/0.01101, allocations: 0.6549 MB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.01103, allocations: 29.7 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.0112, allocations: 319.1 kB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.01125, allocations: 59.48 kB / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.0113, allocations: 35.36 kB / 385.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.01149, allocations: 0.5587 MB / 386 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.717e-05/0.01153, allocations: 20.17 kB / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.05e-05/0.01159, allocations: 47.34 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.0117, allocations: 71.31 kB / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.0117, allocations: 0 / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002022/0.0119, allocations: 169.3 kB / 386.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.01192, allocations: 8 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.01193, allocations: 0 / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.01195, allocations: 224 / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.01208, allocations: 39.91 kB / 386.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.01208, allocations: 3.938 kB / 386.4 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/0.01213, allocations: 8 kB / 386.4 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.01215, allocations: 7.984 kB / 386.4 MB, free: 9.977 MB / 362.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 9.58e-05/0.01224, allocations: 164.6 kB / 386.6 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.01231, allocations: 67.56 kB / 386.6 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.01258, allocations: 186.2 kB / 386.8 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01259, allocations: 4 kB / 386.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.01259, allocations: 0 / 386.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.0126, allocations: 3.984 kB / 386.8 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007033/0.0133, allocations: 0.7427 MB / 387.6 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.0133, allocations: 0 / 387.6 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.277e-05/0.01339, allocations: 31.98 kB / 387.6 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.01339, allocations: 3.984 kB / 387.6 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.01341, allocations: 11.98 kB / 387.6 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01341, allocations: 0 / 387.6 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.01341, allocations: 8 kB / 387.6 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.01369, allocations: 430.6 kB / 388 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.01375, allocations: 55.62 kB / 388.1 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.01378, allocations: 7.984 kB / 388.1 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.542e-05/0.01387, allocations: 4 kB / 388.1 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.01393, allocations: 19.97 kB / 388.1 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.01394, allocations: 8 kB / 388.1 MB, free: 8.164 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000329/0.01427, allocations: 442.7 kB / 388.6 MB, free: 7.734 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01427, allocations: 0 / 388.6 MB, free: 7.734 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002427/0.01451, allocations: 55.94 kB / 388.6 MB, free: 7.68 MB / 362.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.0009697/0.01548, allocations: 390.6 kB / 389 MB, free: 7.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.01571, allocations: 83.5 kB / 389.1 MB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.01571, allocations: 0 / 389.1 MB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.231e-05/0.01578, allocations: 47.61 kB / 389.1 MB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.01624, allocations: 84.75 kB / 389.2 MB, free: 7.227 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.01739, allocations: 0.777 MB / 390 MB, free: 6.406 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.0175, allocations: 144.5 kB / 390.1 MB, free: 6.246 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.01762, allocations: 67.52 kB / 390.2 MB, free: 6.184 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.214e-05/0.01769, allocations: 36.48 kB / 390.2 MB, free: 6.148 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01769, allocations: 0 / 390.2 MB, free: 6.148 MB / 362.7 MB Notification: Performance of Templates: time 0.006816/0.02451, allocations: 4.179 MB / 394.4 MB, free: 2 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.362576336134225]