Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001127, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 185.8 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 223.1 MB, free: 5.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4497/0.4497, allocations: 43.57 MB / 315 MB, free: 8.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005194/0.0005195, allocations: 19.98 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1413, allocations: 58.87 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002173/0.1435, allocations: 1.325 MB / 444.8 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007489/0.1443, allocations: 339.6 kB / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.1444, allocations: 0 / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.1446, allocations: 47.86 kB / 445.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.1448, allocations: 51.83 kB / 445.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.1452, allocations: 139.8 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.1454, allocations: 71.83 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.1455, allocations: 24.25 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/0.1455, allocations: 23.86 kB / 445.5 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.804e-05/0.1456, allocations: 39.83 kB / 445.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.1456, allocations: 0 / 445.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.888e-05/0.1457, allocations: 27.98 kB / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.1458, allocations: 19.92 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.941e-05/0.1458, allocations: 49.52 kB / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.146, allocations: 95.62 kB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.146, allocations: 0 / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.146, allocations: 0 / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.146, allocations: 0 / 445.7 MB, free: 10.42 MB / 382.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.0005078/0.1465, allocations: 391.2 kB / 446.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1466, allocations: 8.031 kB / 446.1 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.1466, allocations: 8.844 kB / 446.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.1468, allocations: 196.1 kB / 446.3 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.1468, allocations: 4.375 kB / 446.3 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.1468, allocations: 8.312 kB / 446.3 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.147, allocations: 69.78 kB / 446.4 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.147, allocations: 0 / 446.4 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.147, allocations: 0 / 446.4 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.147, allocations: 0 / 446.4 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.1472, allocations: 55.91 kB / 446.4 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.1476, allocations: 300.8 kB / 446.7 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1478, allocations: 58.55 kB / 446.8 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.727e-05/0.1479, allocations: 32.88 kB / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1479, allocations: 0 / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1479, allocations: 38.5 kB / 446.8 MB, free: 9.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1479, allocations: 0 / 446.8 MB, free: 9.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008211/0.1487, allocations: 261 kB / 447.1 MB, free: 8.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.1488, allocations: 55.41 kB / 447.1 MB, free: 8.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.149, allocations: 169.8 kB / 447.3 MB, free: 8.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.149, allocations: 29.7 kB / 447.3 MB, free: 8.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.1491, allocations: 100.2 kB / 447.4 MB, free: 8.473 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.1491, allocations: 23.66 kB / 447.5 MB, free: 8.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.1492, allocations: 9.719 kB / 447.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1493, allocations: 322.8 kB / 447.8 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1495, allocations: 47.97 kB / 447.8 MB, free: 8.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1496, allocations: 51.95 kB / 447.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.1499, allocations: 105 kB / 448 MB, free: 7.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1499, allocations: 0 / 448 MB, free: 7.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003188/0.1502, allocations: 145.4 kB / 448.1 MB, free: 7.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1502, allocations: 11.98 kB / 448.1 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1502, allocations: 0 / 448.1 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.1503, allocations: 0 / 448.1 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.1504, allocations: 23.98 kB / 448.2 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1504, allocations: 7.938 kB / 448.2 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.976e-05/0.1505, allocations: 11.98 kB / 448.2 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1505, allocations: 0 / 448.2 MB, free: 7.703 MB / 382.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.0001148/0.1506, allocations: 129.8 kB / 448.3 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.1506, allocations: 7.906 kB / 448.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.151, allocations: 158.2 kB / 448.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.151, allocations: 4 kB / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/0.151, allocations: 3.938 kB / 448.5 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.151, allocations: 4.281 kB / 448.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006115/0.1516, allocations: 422.5 kB / 448.9 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1517, allocations: 0 / 448.9 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.633e-05/0.1517, allocations: 27.91 kB / 448.9 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.1518, allocations: 11.92 kB / 448.9 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1518, allocations: 7.938 kB / 448.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1518, allocations: 3.938 kB / 448.9 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1518, allocations: 0 / 448.9 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.1521, allocations: 235.4 kB / 449.2 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.1522, allocations: 84.95 kB / 449.3 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.1522, allocations: 12 kB / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.711e-05/0.1523, allocations: 11.98 kB / 449.3 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.1524, allocations: 7.984 kB / 449.3 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.1524, allocations: 0 / 449.3 MB, free: 6.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1525, allocations: 128 kB / 449.4 MB, free: 6.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1525, allocations: 0 / 449.4 MB, free: 6.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.1527, allocations: 20 kB / 449.4 MB, free: 6.348 MB / 382.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.001263/0.154, allocations: 410.5 kB / 449.8 MB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004435/0.1544, allocations: 111.9 kB / 449.9 MB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1545, allocations: 0 / 449.9 MB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.1547, allocations: 55.91 kB / 450 MB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1551, allocations: 23.92 kB / 450 MB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006665/0.1558, allocations: 261.1 kB / 450.3 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.1563, allocations: 0.7004 MB / 451 MB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.1564, allocations: 24.28 kB / 451 MB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.1565, allocations: 15.42 kB / 451 MB, free: 4.734 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1565, allocations: 0 / 451 MB, free: 4.734 MB / 382.1 MB Notification: Performance of Templates: time 0.004139/0.1606, allocations: 1.174 MB / 452.2 MB, free: 3.562 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches