Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.001416/0.001416, allocations: 83.03 kB / 20.52 MB, free: 1.277 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.00155/0.00155, allocations: 168.4 kB / 23.76 MB, free: 4.461 MB / 14.72 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 1.531/1.531, allocations: 158.6 MB / 185.5 MB, free: 6.211 MB / 174.1 MB " [Timeout remaining time 178] 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.3396/0.3396, allocations: 32.37 MB / 270.1 MB, free: 2.703 MB / 254.1 MB " [Timeout remaining time 179] 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.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002505/0.002505, allocations: 67.91 kB / 407.8 MB, free: 5.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1342, allocations: 61.05 MB / 468.8 MB, free: 8.285 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.00304/0.1373, allocations: 1.565 MB / 470.4 MB, free: 6.715 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006505/0.1379, allocations: 327.6 kB / 470.7 MB, free: 6.391 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.138, allocations: 4 kB / 470.7 MB, free: 6.387 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.1382, allocations: 99.73 kB / 470.8 MB, free: 6.289 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.1384, allocations: 67.78 kB / 470.9 MB, free: 6.223 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.1387, allocations: 95.69 kB / 471 MB, free: 6.129 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.1389, allocations: 79.81 kB / 471 MB, free: 6.051 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.139, allocations: 12.17 kB / 471 MB, free: 6.039 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.863e-05/0.139, allocations: 47.83 kB / 471.1 MB, free: 5.992 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1391, allocations: 55.81 kB / 471.1 MB, free: 5.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.1392, allocations: 8 kB / 471.2 MB, free: 5.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.244e-05/0.1392, allocations: 31.98 kB / 471.2 MB, free: 5.898 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.1393, allocations: 27.86 kB / 471.2 MB, free: 5.871 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.1394, allocations: 27.73 kB / 471.2 MB, free: 5.844 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.1396, allocations: 115.5 kB / 471.3 MB, free: 5.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1396, allocations: 0 / 471.3 MB, free: 5.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1396, allocations: 0 / 471.3 MB, free: 5.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.1396, allocations: 0 / 471.3 MB, free: 5.73 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.00061/0.1402, allocations: 341.6 kB / 471.7 MB, free: 5.367 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.1403, allocations: 8.031 kB / 471.7 MB, free: 5.359 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.1403, allocations: 20.84 kB / 471.7 MB, free: 5.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.1406, allocations: 146.8 kB / 471.9 MB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1406, allocations: 4.375 kB / 471.9 MB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.1406, allocations: 4.328 kB / 471.9 MB, free: 5.164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.1408, allocations: 83.27 kB / 471.9 MB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1408, allocations: 0 / 471.9 MB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1408, allocations: 4 kB / 471.9 MB, free: 5.066 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1408, allocations: 0 / 471.9 MB, free: 5.066 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.1409, allocations: 39.91 kB / 472 MB, free: 5.027 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.1414, allocations: 336.7 kB / 472.3 MB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.1417, allocations: 81.16 kB / 472.4 MB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.1417, allocations: 33.8 kB / 472.4 MB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1418, allocations: 3.984 kB / 472.4 MB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1418, allocations: 34.56 kB / 472.5 MB, free: 4.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.1418, allocations: 0 / 472.5 MB, free: 4.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007164/0.1425, allocations: 245.4 kB / 472.7 MB, free: 4.234 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.1425, allocations: 77.11 kB / 472.8 MB, free: 4.141 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.1428, allocations: 230.3 kB / 473 MB, free: 3.906 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1428, allocations: 25.7 kB / 473 MB, free: 3.875 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.1429, allocations: 112 kB / 473.1 MB, free: 3.762 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.1429, allocations: 47.61 kB / 473.2 MB, free: 3.715 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.1429, allocations: 25.7 kB / 473.2 MB, free: 3.684 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1431, allocations: 326.8 kB / 473.5 MB, free: 3.355 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.216e-05/0.1432, allocations: 27.98 kB / 473.6 MB, free: 3.328 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1433, allocations: 61.56 kB / 473.6 MB, free: 3.262 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.1435, allocations: 85.67 kB / 473.7 MB, free: 3.172 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1435, allocations: 0 / 473.7 MB, free: 3.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002469/0.1437, allocations: 121.9 kB / 473.8 MB, free: 3.047 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1437, allocations: 8 kB / 473.8 MB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1437, allocations: 0 / 473.8 MB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1438, allocations: 7.969 kB / 473.8 MB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.806e-05/0.1438, allocations: 20 kB / 473.9 MB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1438, allocations: 11.97 kB / 473.9 MB, free: 3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.1439, allocations: 7.938 kB / 473.9 MB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1439, allocations: 4 kB / 473.9 MB, free: 2.988 MB / 446.1 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 (10): * Single equations (assignments): 10 * 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.0001113/0.144, allocations: 137.8 kB / 474 MB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.1441, allocations: 11.91 kB / 474 MB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.1444, allocations: 146.7 kB / 474.2 MB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1444, allocations: 0 / 474.2 MB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1444, allocations: 0 / 474.2 MB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1444, allocations: 11.94 kB / 474.2 MB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006363/0.145, allocations: 442.2 kB / 474.6 MB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.145, allocations: 4 kB / 474.6 MB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.169e-05/0.1451, allocations: 23.92 kB / 474.6 MB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1451, allocations: 0 / 474.6 MB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1451, allocations: 8.188 kB / 474.6 MB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1451, allocations: 0 / 474.6 MB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1451, allocations: 4 kB / 474.7 MB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.1455, allocations: 307.5 kB / 475 MB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.1455, allocations: 7.953 kB / 475 MB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.1455, allocations: 7.938 kB / 475 MB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1456, allocations: 7.984 kB / 475 MB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.1457, allocations: 7.984 kB / 475 MB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.1457, allocations: 4 kB / 475 MB, free: 1.805 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.1458, allocations: 172.2 kB / 475.2 MB, free: 1.637 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1458, allocations: 0 / 475.2 MB, free: 1.637 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.1461, allocations: 27.92 kB / 475.2 MB, free: 1.609 MB / 446.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 (10): * Single equations (assignments): 10 * 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.001675/0.1478, allocations: 435.3 kB / 475.6 MB, free: 1.195 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.148, allocations: 87.88 kB / 475.7 MB, free: 1.109 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.148, allocations: 0 / 475.7 MB, free: 1.109 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.1481, allocations: 43.91 kB / 475.7 MB, free: 1.066 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.1486, allocations: 16 kB / 475.8 MB, free: 1.051 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.1491, allocations: 308 kB / 476.1 MB, free: 0.7188 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.1493, allocations: 96.8 kB / 476.1 MB, free: 0.6016 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.355e-05/0.1493, allocations: 16.48 kB / 476.2 MB, free: 0.5859 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.1494, allocations: 24.48 kB / 476.2 MB, free: 0.5625 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1494, allocations: 0 / 476.2 MB, free: 0.5625 MB / 446.1 MB Notification: Performance of Templates: time 0.2202/0.3696, allocations: 1.264 MB / 477.5 MB, free: 50.06 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.4385185240535066]