Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001373/0.001373, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001442/0.001442, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 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.436/1.436, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] 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.2479/0.2479, allocations: 32.8 MB / 294.1 MB, free: 24 kB / 270.1 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 67.91 kB / 440.6 MB, free: 9.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3327, allocations: 65.44 MB / 0.4942 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002928/0.3357, allocations: 1.675 MB / 0.4958 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008971/0.3366, allocations: 0.5312 MB / 0.4963 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.3366, allocations: 0 / 0.4963 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004838/0.3371, allocations: 455 kB / 0.4968 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004386/0.3375, allocations: 305.4 kB / 0.497 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.3378, allocations: 135.8 kB / 0.4972 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.3381, allocations: 169.7 kB / 0.4973 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.3382, allocations: 12.55 kB / 0.4974 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.3383, allocations: 116.6 kB / 0.4975 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.3385, allocations: 244.2 kB / 0.4977 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.3386, allocations: 2.938 kB / 0.4977 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.3387, allocations: 54.72 kB / 0.4978 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3388, allocations: 92.92 kB / 0.4978 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.3388, allocations: 66.81 kB / 0.4979 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.3391, allocations: 278.2 kB / 0.4982 GB, free: 29.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3391, allocations: 0 / 0.4982 GB, free: 29.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3392, allocations: 0 / 0.4982 GB, free: 29.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.3392, allocations: 3.188 kB / 0.4982 GB, free: 29.48 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006934/0.3399, allocations: 0.586 MB / 0.4987 GB, free: 28.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3399, allocations: 9.594 kB / 0.4988 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.34, allocations: 48.19 kB / 0.4988 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.3402, allocations: 243.2 kB / 0.499 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3402, allocations: 384 / 0.499 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.3403, allocations: 7.438 kB / 0.499 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.3404, allocations: 68 kB / 0.4991 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3405, allocations: 0 / 0.4991 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3405, allocations: 7.344 kB / 0.4991 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3405, allocations: 0 / 0.4991 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.662e-05/0.3406, allocations: 27.05 kB / 0.4991 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.341, allocations: 339.1 kB / 0.4995 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.3411, allocations: 44.95 kB / 0.4995 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/0.3412, allocations: 18.59 kB / 0.4995 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.3412, allocations: 0 / 0.4995 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3412, allocations: 41.84 kB / 0.4996 GB, free: 28.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3412, allocations: 0 / 0.4996 GB, free: 28.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009156/0.3422, allocations: 312.2 kB / 0.4999 GB, free: 28.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.3422, allocations: 58.62 kB / 0.4999 GB, free: 28.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006688/0.3429, allocations: 0.859 MB / 0.5008 GB, free: 27.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.3429, allocations: 25.7 kB / 0.5008 GB, free: 27.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.343, allocations: 220.6 kB / 0.501 GB, free: 27.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.343, allocations: 28.8 kB / 0.501 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.3431, allocations: 18.12 kB / 0.501 GB, free: 27.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.3431, allocations: 358.4 kB / 0.5014 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.445e-05/0.3432, allocations: 31.31 kB / 0.5014 GB, free: 27.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.104e-05/0.3433, allocations: 20.08 kB / 0.5014 GB, free: 27.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.3434, allocations: 64.23 kB / 0.5015 GB, free: 27.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3434, allocations: 0 / 0.5015 GB, free: 27.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002156/0.3436, allocations: 141.7 kB / 0.5016 GB, free: 27.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3436, allocations: 3.406 kB / 0.5016 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3437, allocations: 3.344 kB / 0.5016 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3437, allocations: 0 / 0.5016 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3438, allocations: 16.61 kB / 0.5016 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.3438, allocations: 4.25 kB / 0.5016 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.357e-05/0.3438, allocations: 14.67 kB / 0.5017 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3438, allocations: 7.281 kB / 0.5017 GB, free: 27.09 MB / 446.1 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 (8): * Single equations (assignments): 8 * 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.0001229/0.344, allocations: 213.8 kB / 0.5019 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.344, allocations: 43.48 kB / 0.5019 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.3443, allocations: 168 kB / 0.5021 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3443, allocations: 0 / 0.5021 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3443, allocations: 3.938 kB / 0.5021 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3443, allocations: 7.422 kB / 0.5021 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.3448, allocations: 445.2 kB / 0.5025 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3448, allocations: 0 / 0.5025 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.3448, allocations: 19.31 kB / 0.5025 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3448, allocations: 3.938 kB / 0.5025 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.3448, allocations: 4 kB / 0.5025 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3448, allocations: 3.125 kB / 0.5025 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3448, allocations: 3.938 kB / 0.5025 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.3451, allocations: 233.3 kB / 0.5028 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.3451, allocations: 40.67 kB / 0.5028 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.3451, allocations: 7.031 kB / 0.5028 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.3452, allocations: 11.22 kB / 0.5028 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.3452, allocations: 6.375 kB / 0.5028 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.3452, allocations: 3.25 kB / 0.5028 GB, free: 26.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004314/0.3457, allocations: 0.6474 MB / 0.5035 GB, free: 26.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3457, allocations: 0 / 0.5035 GB, free: 26.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.3459, allocations: 31.47 kB / 0.5035 GB, free: 26.06 MB / 446.1 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 (8): * Single equations (assignments): 8 * 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.001743/0.3477, allocations: 0.4913 MB / 0.504 GB, free: 25.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.3479, allocations: 57.28 kB / 0.504 GB, free: 25.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3479, allocations: 4 kB / 0.504 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.049e-05/0.348, allocations: 43.72 kB / 0.5041 GB, free: 25.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.3484, allocations: 26.61 kB / 0.5041 GB, free: 25.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000891/0.3492, allocations: 0.8208 MB / 0.5049 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.3494, allocations: 222.9 kB / 0.5051 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.756e-05/0.3495, allocations: 21.47 kB / 0.5051 GB, free: 25.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.3495, allocations: 18.62 kB / 0.5051 GB, free: 25.3 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3495, allocations: 0 / 0.5051 GB, free: 25.3 MB / 446.1 MB Notification: Performance of Templates: time 0.004764/0.3543, allocations: 1.562 MB / 0.5067 GB, free: 25.04 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0653990500140935]