Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001611/0.001611, allocations: 112.8 kB / 19.17 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001512/0.001512, allocations: 214.6 kB / 22.13 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 230.2 MB / 255.1 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2457/0.2457, allocations: 46.88 MB / 358.1 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 83.86 kB / 0.4924 GB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1354, allocations: 65.99 MB / 0.5568 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003161/0.1385, allocations: 1.665 MB / 0.5584 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.1404, allocations: 1.182 MB / 0.5596 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.1404, allocations: 0 / 0.5596 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.1406, allocations: 23.86 kB / 0.5596 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.1409, allocations: 91.59 kB / 0.5597 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.1413, allocations: 139.1 kB / 0.5598 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.1414, allocations: 75.77 kB / 0.5599 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1415, allocations: 11.98 kB / 0.5599 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.267e-05/0.1416, allocations: 31.84 kB / 0.56 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.1418, allocations: 35.84 kB / 0.56 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1418, allocations: 4 kB / 0.56 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.142, allocations: 99.88 kB / 0.5601 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.142, allocations: 23.91 kB / 0.5601 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.1421, allocations: 23.86 kB / 0.5601 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.1424, allocations: 155.4 kB / 0.5603 GB, free: 2.336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1424, allocations: 4 kB / 0.5603 GB, free: 2.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1424, allocations: 0 / 0.5603 GB, free: 2.332 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1424, allocations: 0 / 0.5603 GB, free: 2.332 MB / 414.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.0006328/0.143, allocations: 414.8 kB / 0.5607 GB, free: 1.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1431, allocations: 8.031 kB / 0.5607 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.1431, allocations: 8.891 kB / 0.5607 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.1434, allocations: 192.2 kB / 0.5609 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.1434, allocations: 384 / 0.5609 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.1434, allocations: 8.312 kB / 0.5609 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.1436, allocations: 75.94 kB / 0.561 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1436, allocations: 4.188 kB / 0.561 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.1436, allocations: 7.938 kB / 0.561 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1437, allocations: 0 / 0.561 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.1438, allocations: 35.95 kB / 0.561 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.1443, allocations: 300.7 kB / 0.5613 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.1444, allocations: 42.56 kB / 0.5613 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.202e-05/0.1445, allocations: 20.94 kB / 0.5614 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1445, allocations: 0 / 0.5614 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.1446, allocations: 38.55 kB / 0.5614 GB, free: 1.027 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1446, allocations: 4 kB / 0.5614 GB, free: 1.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.00084/0.1454, allocations: 201.3 kB / 0.5616 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.1455, allocations: 89.05 kB / 0.5617 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.1457, allocations: 135.5 kB / 0.5618 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.1457, allocations: 37.7 kB / 0.5618 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.1458, allocations: 96.12 kB / 0.5619 GB, free: 444 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.1458, allocations: 19.75 kB / 0.562 GB, free: 424 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.1458, allocations: 25.7 kB / 0.562 GB, free: 392 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.146, allocations: 318.8 kB / 0.5623 GB, free: 64 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.1461, allocations: 39.97 kB / 0.5623 GB, free: 24 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.1463, allocations: 57.67 kB / 0.5624 GB, free: 15.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.1465, allocations: 77.03 kB / 0.5624 GB, free: 15.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1465, allocations: 0 / 0.5624 GB, free: 15.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002949/0.1468, allocations: 105.6 kB / 0.5625 GB, free: 15.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1468, allocations: 12 kB / 0.5626 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1468, allocations: 0 / 0.5626 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1468, allocations: 3.938 kB / 0.5626 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.147, allocations: 23.92 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.147, allocations: 0 / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.147, allocations: 11.98 kB / 0.5626 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.147, allocations: 4 kB / 0.5626 GB, free: 15.72 MB / 430.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.0001176/0.1472, allocations: 125.8 kB / 0.5627 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.1472, allocations: 7.953 kB / 0.5627 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.1476, allocations: 118.3 kB / 0.5628 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.1476, allocations: 4 kB / 0.5628 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1476, allocations: 0 / 0.5628 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1476, allocations: 0 / 0.5628 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.1482, allocations: 398.4 kB / 0.5632 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1482, allocations: 0 / 0.5632 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.301e-05/0.1483, allocations: 19.98 kB / 0.5632 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1483, allocations: 0 / 0.5632 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1483, allocations: 3.984 kB / 0.5632 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.1483, allocations: 7.938 kB / 0.5633 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1483, allocations: 0 / 0.5633 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.1486, allocations: 215.4 kB / 0.5635 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.1487, allocations: 85.06 kB / 0.5635 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.1487, allocations: 0 / 0.5635 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1488, allocations: 15.92 kB / 0.5636 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.1489, allocations: 3.984 kB / 0.5636 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.1489, allocations: 8 kB / 0.5636 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.806e-05/0.149, allocations: 109.5 kB / 0.5637 GB, free: 14.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.149, allocations: 4 kB / 0.5637 GB, free: 14.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003142/0.1493, allocations: 43.86 kB / 0.5637 GB, free: 14.46 MB / 430.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.001733/0.151, allocations: 493.9 kB / 0.5642 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.1513, allocations: 83.86 kB / 0.5643 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1513, allocations: 0 / 0.5643 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.1515, allocations: 39.97 kB / 0.5643 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.1519, allocations: 22.31 kB / 0.5643 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.1524, allocations: 227.4 kB / 0.5645 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1528, allocations: 0.6885 MB / 0.5652 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.1529, allocations: 27.42 kB / 0.5652 GB, free: 13.02 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1529, allocations: 4 kB / 0.5652 GB, free: 13.01 MB / 430.1 MB Notification: Performance of Templates: time 0.004616/0.1575, allocations: 2.088 MB / 0.5673 GB, free: 10.92 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.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: 7.922354002017528]