Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 108.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 241.8 MB, free: 15.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2181/0.2181, allocations: 44.16 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 68.41 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1367, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.00326/0.14, allocations: 1.688 MB / 470.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008583/0.1409, allocations: 415.2 kB / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.697e-05/0.1409, allocations: 4 kB / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.1412, allocations: 51.86 kB / 470.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.1414, allocations: 35.91 kB / 470.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.1417, allocations: 121.9 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.1419, allocations: 63.78 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.142, allocations: 19.98 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.784e-05/0.1421, allocations: 31.84 kB / 470.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.869e-05/0.1421, allocations: 35.84 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1422, allocations: 0 / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1423, allocations: 55.91 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.518e-05/0.1424, allocations: 27.86 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.1424, allocations: 23.8 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.1426, allocations: 91.77 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1426, allocations: 4 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1426, allocations: 0 / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1426, allocations: 0 / 471.2 MB, free: 12.17 MB / 350.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.0005098/0.1431, allocations: 407.4 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1432, allocations: 8.031 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.1432, allocations: 12.84 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.1435, allocations: 200 kB / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.1435, allocations: 384 / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.1435, allocations: 8.375 kB / 471.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.1437, allocations: 65.8 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1437, allocations: 0 / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1437, allocations: 0 / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1437, allocations: 4 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.1439, allocations: 35.91 kB / 471.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.1443, allocations: 308.7 kB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.1446, allocations: 54.55 kB / 472.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.949e-05/0.1447, allocations: 29 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1447, allocations: 0 / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1448, allocations: 38.56 kB / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1448, allocations: 4 kB / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001382/0.1462, allocations: 380.8 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.1462, allocations: 63.34 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.1464, allocations: 164.6 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1464, allocations: 25.7 kB / 472.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.1465, allocations: 104.1 kB / 473 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.1465, allocations: 35.45 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.92e-05/0.1466, allocations: 21.72 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1468, allocations: 322.8 kB / 473.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1469, allocations: 39.97 kB / 473.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.147, allocations: 43.91 kB / 473.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.1472, allocations: 100.8 kB / 473.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1473, allocations: 0 / 473.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002965/0.1476, allocations: 142 kB / 473.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1476, allocations: 7.938 kB / 473.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1476, allocations: 0 / 473.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1476, allocations: 8 kB / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1477, allocations: 31.86 kB / 473.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1478, allocations: 0 / 473.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.1478, allocations: 19.92 kB / 473.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1478, allocations: 4 kB / 473.8 MB, free: 9.312 MB / 350.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.0001052/0.148, allocations: 126.4 kB / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.148, allocations: 11.81 kB / 473.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.1484, allocations: 158.3 kB / 474.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.1484, allocations: 3.938 kB / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1484, allocations: 0 / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1484, allocations: 3.984 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006505/0.1491, allocations: 468 kB / 474.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1491, allocations: 3.984 kB / 474.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.1492, allocations: 27.92 kB / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1492, allocations: 0 / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.1492, allocations: 8 kB / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1492, allocations: 0 / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1492, allocations: 0 / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.1496, allocations: 257.4 kB / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.1497, allocations: 85.02 kB / 474.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.1497, allocations: 8 kB / 474.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.713e-05/0.1498, allocations: 11.98 kB / 475 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.1498, allocations: 7.984 kB / 475 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.1499, allocations: 8 kB / 475 MB, free: 8.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.15, allocations: 129.1 kB / 475.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.15, allocations: 0 / 475.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1502, allocations: 24 kB / 475.1 MB, free: 7.883 MB / 350.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.001135/0.1514, allocations: 453.4 kB / 475.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003289/0.1517, allocations: 115.8 kB / 475.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1517, allocations: 4 kB / 475.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.1519, allocations: 51.91 kB / 475.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.1523, allocations: 28.02 kB / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.1529, allocations: 293.8 kB / 476 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1532, allocations: 0.7082 MB / 476.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.863e-05/0.1533, allocations: 28.39 kB / 476.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.962e-05/0.1534, allocations: 19.44 kB / 476.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1534, allocations: 0 / 476.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of Templates: time 0.004099/0.1575, allocations: 1.427 MB / 478.2 MB, free: 4.91 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches