Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 109.7 kB / 17.21 MB, free: 6.285 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.001617/0.001617, allocations: 190 kB / 18.12 MB, free: 5.379 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.428/1.428, allocations: 222.9 MB / 241.8 MB, free: 13.77 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.217/0.217, allocations: 44.19 MB / 336.1 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 64.08 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1264, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003493/0.1299, allocations: 1.698 MB / 470.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008909/0.1309, allocations: 447.2 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.1309, allocations: 0 / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.1312, allocations: 47.88 kB / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.1314, allocations: 43.83 kB / 470.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.1318, allocations: 164.5 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.132, allocations: 71.83 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1321, allocations: 23.98 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/0.1321, allocations: 31.84 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.281e-05/0.1322, allocations: 39.78 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.1323, allocations: 4 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1324, allocations: 47.97 kB / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.1324, allocations: 15.98 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.1325, allocations: 31.73 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.1326, allocations: 104 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1327, allocations: 0 / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1327, allocations: 0 / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1327, allocations: 4 kB / 471.3 MB, free: 12.07 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.0005/0.1332, allocations: 399.1 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1332, allocations: 12.03 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.1333, allocations: 12.75 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.1335, allocations: 190.8 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.1335, allocations: 4.375 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.1335, allocations: 384 / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1337, allocations: 77.72 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1337, allocations: 4 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.1338, allocations: 0 / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1338, allocations: 4 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.1339, allocations: 39.97 kB / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.1344, allocations: 320.6 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.1347, allocations: 62.55 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.1348, allocations: 24.97 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.1348, allocations: 0 / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.1348, allocations: 34.56 kB / 472.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.1348, allocations: 0 / 472.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00152/0.1364, allocations: 429 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.1364, allocations: 59.34 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.1366, allocations: 165.8 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1366, allocations: 25.7 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.1367, allocations: 104 kB / 473.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.193e-05/0.1367, allocations: 43.39 kB / 473.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.1368, allocations: 29.66 kB / 473.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1369, allocations: 322.8 kB / 473.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.137, allocations: 51.95 kB / 473.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1372, allocations: 59.95 kB / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.1375, allocations: 129 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1375, allocations: 0 / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003309/0.1378, allocations: 161.5 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1378, allocations: 4 kB / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1378, allocations: 3.938 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1378, allocations: 0 / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.138, allocations: 31.97 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.138, allocations: 4 kB / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.713e-05/0.138, allocations: 8 kB / 474 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.1381, allocations: 4 kB / 474 MB, free: 9.086 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.0001045/0.1382, allocations: 130.4 kB / 474.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.1382, allocations: 15.89 kB / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004057/0.1386, allocations: 194.1 kB / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1386, allocations: 0 / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1386, allocations: 4 kB / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1387, allocations: 0 / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006713/0.1393, allocations: 0.4924 MB / 474.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1393, allocations: 3.984 kB / 474.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.1395, allocations: 31.98 kB / 474.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1395, allocations: 0 / 474.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1395, allocations: 0 / 474.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1395, allocations: 4 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.1395, allocations: 0 / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.1399, allocations: 277 kB / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.1399, allocations: 85.02 kB / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.14, allocations: 4 kB / 475.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.1401, allocations: 7.984 kB / 475.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.1401, allocations: 19.98 kB / 475.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1401, allocations: 0 / 475.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.1402, allocations: 132.5 kB / 475.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1402, allocations: 96 / 475.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1405, allocations: 31.92 kB / 475.4 MB, free: 7.555 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.001025/0.1415, allocations: 458 kB / 475.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003287/0.1419, allocations: 123.9 kB / 476 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1419, allocations: 0 / 476 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.1421, allocations: 71.89 kB / 476.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.1424, allocations: 19.98 kB / 476.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/0.143, allocations: 309.8 kB / 476.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.1433, allocations: 0.7199 MB / 477.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.461e-05/0.1434, allocations: 36.38 kB / 477.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.1434, allocations: 19.38 kB / 477.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1434, allocations: 0 / 477.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of Templates: time 0.003837/0.1473, allocations: 1.516 MB / 478.7 MB, free: 4.43 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches