Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001512/0.001512, allocations: 83.3 kB / 20.68 MB, free: 1.023 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.001395/0.001395, allocations: 163.3 kB / 23.95 MB, free: 4.16 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.414/1.414, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.202/0.202, allocations: 32.82 MB / 293.5 MB, free: 28 kB / 270.1 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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 440.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.201e-05, allocations: 6.219 kB / 440.1 MB, free: 8.113 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002969/0.003001, allocations: 1.67 MB / 441.8 MB, free: 6.438 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.004095, allocations: 0.5414 MB / 442.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.004149, allocations: 0 / 442.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.00442, allocations: 71.7 kB / 442.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.004741, allocations: 111.5 kB / 442.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.005084, allocations: 135.3 kB / 442.6 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.005252, allocations: 91.7 kB / 442.7 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.005356, allocations: 16.2 kB / 442.7 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.906e-05/0.005445, allocations: 43.89 kB / 442.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.005573, allocations: 59.86 kB / 442.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.005593, allocations: 4 kB / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.005699, allocations: 47.92 kB / 442.9 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.833e-05/0.005777, allocations: 31.91 kB / 442.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.005807, allocations: 11.94 kB / 442.9 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.00609, allocations: 123.5 kB / 443.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.006094, allocations: 0 / 443.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006095, allocations: 0 / 443.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.0061, allocations: 0 / 443.1 MB, free: 5.156 MB / 366.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.0005166/0.006616, allocations: 353.5 kB / 443.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.006646, allocations: 12.03 kB / 443.4 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.00669, allocations: 12.84 kB / 443.4 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.006878, allocations: 142.3 kB / 443.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.006891, allocations: 4.375 kB / 443.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.006917, allocations: 12.33 kB / 443.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.007089, allocations: 62.17 kB / 443.7 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.0071, allocations: 192 / 443.7 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.007111, allocations: 4.125 kB / 443.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.00712, allocations: 7.984 kB / 443.7 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.007266, allocations: 39.97 kB / 443.7 MB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.007619, allocations: 244.5 kB / 443.9 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.007856, allocations: 54.5 kB / 444 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.668e-05/0.007933, allocations: 32.89 kB / 444 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.007952, allocations: 0 / 444 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.007981, allocations: 38.59 kB / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.007982, allocations: 0 / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001472/0.009454, allocations: 401 kB / 444.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.009497, allocations: 51.41 kB / 444.5 MB, free: 3.586 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.009732, allocations: 214.2 kB / 444.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.009754, allocations: 29.7 kB / 444.7 MB, free: 3.332 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.477e-05/0.009838, allocations: 112.1 kB / 444.9 MB, free: 3.219 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.009878, allocations: 35.69 kB / 444.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.009925, allocations: 25.66 kB / 444.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.01009, allocations: 334.8 kB / 445.2 MB, free: 2.816 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.01022, allocations: 39.97 kB / 445.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.01034, allocations: 44.52 kB / 445.3 MB, free: 2.734 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.0106, allocations: 100.8 kB / 445.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.0106, allocations: 0 / 445.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003473/0.01095, allocations: 157.7 kB / 445.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.01097, allocations: 8 kB / 445.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01097, allocations: 4 kB / 445.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.01099, allocations: 0 / 445.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.0111, allocations: 23.98 kB / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.01111, allocations: 0 / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/0.01117, allocations: 11.98 kB / 445.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.01118, allocations: 4 kB / 445.6 MB, free: 2.422 MB / 366.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 (11): * Single equations (assignments): 11 * 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.0001147/0.01129, allocations: 137.7 kB / 445.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.01133, allocations: 15.89 kB / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004073/0.01174, allocations: 159.1 kB / 445.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01174, allocations: 0 / 445.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01175, allocations: 0 / 445.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.01175, allocations: 0 / 445.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006479/0.0124, allocations: 415.6 kB / 446.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.0124, allocations: 0 / 446.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.01251, allocations: 27.98 kB / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01251, allocations: 0 / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.01252, allocations: 7.984 kB / 446.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.01253, allocations: 7.938 kB / 446.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01253, allocations: 8 kB / 446.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.01291, allocations: 245.1 kB / 446.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.01293, allocations: 11.94 kB / 446.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.01295, allocations: 4 kB / 446.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.01305, allocations: 15.92 kB / 446.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.01309, allocations: 7.984 kB / 446.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.0131, allocations: 4 kB / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.01324, allocations: 164.2 kB / 446.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01324, allocations: 4.031 kB / 446.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.01351, allocations: 31.83 kB / 446.9 MB, free: 1.094 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001763/0.01527, allocations: 0.4891 MB / 447.4 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003289/0.0156, allocations: 103.9 kB / 447.5 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.0156, allocations: 0 / 447.5 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.01575, allocations: 51.91 kB / 447.5 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.01606, allocations: 25.69 kB / 447.5 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006369/0.0167, allocations: 312.1 kB / 447.8 MB, free: 308 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.01681, allocations: 97.77 kB / 447.9 MB, free: 188 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.761e-05/0.01686, allocations: 20.47 kB / 448 MB, free: 168 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.01691, allocations: 20.44 kB / 448 MB, free: 148 kB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.01691, allocations: 0 / 448 MB, free: 148 kB / 366.1 MB Notification: Performance of Templates: time 0.1679/0.1848, allocations: 1.556 MB / 449.5 MB, free: 21.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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: 4.617757510393858]