Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.002002/0.002002, allocations: 77.47 kB / 20.51 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.001568/0.001568, allocations: 171.8 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.501/1.501, allocations: 158.6 MB / 185.5 MB, free: 6.223 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.2219/0.2219, allocations: 32.37 MB / 270.1 MB, free: 2.715 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") [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.0026/0.0026, allocations: 75.89 kB / 407.8 MB, free: 5.547 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1389, allocations: 61.04 MB / 468.8 MB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.005068/0.144, allocations: 1.611 MB / 470.4 MB, free: 6.695 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008143/0.1448, allocations: 343.7 kB / 470.7 MB, free: 6.355 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.257e-05/0.1449, allocations: 4 kB / 470.8 MB, free: 6.352 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009416/0.1458, allocations: 455.1 kB / 471.2 MB, free: 5.906 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005092/0.1463, allocations: 251.4 kB / 471.4 MB, free: 5.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.1469, allocations: 155.7 kB / 471.6 MB, free: 5.508 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.1472, allocations: 167.6 kB / 471.8 MB, free: 5.344 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.1474, allocations: 15.98 kB / 471.8 MB, free: 5.328 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.1476, allocations: 111.7 kB / 471.9 MB, free: 5.219 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.1479, allocations: 251.5 kB / 472.1 MB, free: 4.973 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.148, allocations: 4 kB / 472.1 MB, free: 4.969 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1481, allocations: 31.98 kB / 472.2 MB, free: 4.938 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.1482, allocations: 87.62 kB / 472.2 MB, free: 4.852 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.041e-05/0.1483, allocations: 67.25 kB / 472.3 MB, free: 4.785 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.1487, allocations: 274.6 kB / 472.6 MB, free: 4.516 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1487, allocations: 0 / 472.6 MB, free: 4.516 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1487, allocations: 0 / 472.6 MB, free: 4.516 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1487, allocations: 0 / 472.6 MB, free: 4.516 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008757/0.1496, allocations: 0.5738 MB / 473.2 MB, free: 3.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1496, allocations: 12.03 kB / 473.2 MB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.037e-05/0.1497, allocations: 48.61 kB / 473.2 MB, free: 3.852 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.15, allocations: 242.8 kB / 473.5 MB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-06/0.15, allocations: 384 / 473.5 MB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.1501, allocations: 12.25 kB / 473.5 MB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.1503, allocations: 65.78 kB / 473.5 MB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1503, allocations: 0 / 473.5 MB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1504, allocations: 0 / 473.5 MB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1504, allocations: 0 / 473.5 MB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.1505, allocations: 43.97 kB / 473.6 MB, free: 3.465 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005656/0.1511, allocations: 340.3 kB / 473.9 MB, free: 3.102 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.1512, allocations: 46.5 kB / 474 MB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.778e-05/0.1513, allocations: 28.92 kB / 474 MB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.1513, allocations: 0 / 474 MB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.1514, allocations: 34.56 kB / 474 MB, free: 2.973 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 2.815e-06/0.1514, allocations: 3.984 kB / 474 MB, free: 2.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009461/0.1523, allocations: 316.6 kB / 474.3 MB, free: 2.652 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.1524, allocations: 51.41 kB / 474.4 MB, free: 2.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009493/0.1533, allocations: 0.8535 MB / 475.2 MB, free: 1.727 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.1533, allocations: 29.7 kB / 475.3 MB, free: 1.691 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.1535, allocations: 212.1 kB / 475.5 MB, free: 1.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.1536, allocations: 27.8 kB / 475.5 MB, free: 1.453 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.695e-05/0.1537, allocations: 17.72 kB / 475.5 MB, free: 1.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002603/0.1539, allocations: 362.7 kB / 475.9 MB, free: 1.066 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1541, allocations: 39.97 kB / 475.9 MB, free: 1.027 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1542, allocations: 35.97 kB / 475.9 MB, free: 0.9922 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.1545, allocations: 96.72 kB / 476 MB, free: 0.8945 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1545, allocations: 0 / 476 MB, free: 0.8945 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003549/0.1548, allocations: 161.3 kB / 476.2 MB, free: 0.7305 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1548, allocations: 4 kB / 476.2 MB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1548, allocations: 0 / 476.2 MB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1549, allocations: 0 / 476.2 MB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.155, allocations: 19.98 kB / 476.2 MB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.155, allocations: 0 / 476.2 MB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.1551, allocations: 15.98 kB / 476.2 MB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1551, allocations: 3.938 kB / 476.2 MB, free: 0.6875 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 (7): * Single equations (assignments): 7 * 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.0002168/0.1553, allocations: 225.6 kB / 476.5 MB, free: 468 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.389e-05/0.1554, allocations: 39.72 kB / 476.5 MB, free: 428 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/0.1558, allocations: 177.5 kB / 476.7 MB, free: 240 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.1558, allocations: 0 / 476.7 MB, free: 240 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1558, allocations: 3.938 kB / 476.7 MB, free: 236 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1558, allocations: 4 kB / 476.7 MB, free: 232 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2242/0.38, allocations: 455.9 kB / 477.1 MB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.38, allocations: 0 / 477.1 MB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.3801, allocations: 21.09 kB / 477.1 MB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3801, allocations: 0 / 477.1 MB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3801, allocations: 0.5 kB / 477.1 MB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.3801, allocations: 0 / 477.1 MB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3801, allocations: 4.125 kB / 477.1 MB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.3805, allocations: 261.1 kB / 477.4 MB, free: 50.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.3805, allocations: 35.33 kB / 477.4 MB, free: 50.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.3805, allocations: 2.688 kB / 477.4 MB, free: 50.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3807, allocations: 17.14 kB / 477.5 MB, free: 50.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.3807, allocations: 3.281 kB / 477.5 MB, free: 50.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3807, allocations: 7.312 kB / 477.5 MB, free: 50.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004474/0.3812, allocations: 0.6485 MB / 478.1 MB, free: 49.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3812, allocations: 1.312 kB / 478.1 MB, free: 49.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.3814, allocations: 26.7 kB / 478.1 MB, free: 49.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.00163/0.3831, allocations: 435.8 kB / 478.6 MB, free: 49.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.3834, allocations: 86.12 kB / 478.6 MB, free: 49.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3834, allocations: 0 / 478.6 MB, free: 49.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.3835, allocations: 45.83 kB / 478.7 MB, free: 49.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.384, allocations: 30.11 kB / 478.7 MB, free: 49.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009617/0.3849, allocations: 0.8232 MB / 479.5 MB, free: 49.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.3851, allocations: 221.4 kB / 479.8 MB, free: 49.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.471e-05/0.3852, allocations: 15.78 kB / 479.8 MB, free: 49.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.3852, allocations: 21.27 kB / 479.8 MB, free: 49.39 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3852, allocations: 0 / 479.8 MB, free: 49.39 MB / 446.1 MB Notification: Performance of Templates: time 0.00512/0.3904, allocations: 1.446 MB / 481.2 MB, free: 49.21 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.211826644022949]