Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 107.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.001164/0.001164, 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.398/1.398, allocations: 222.9 MB / 241.8 MB, free: 13.84 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.2188/0.2188, allocations: 44.18 MB / 336.1 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 64.5 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1297, allocations: 60.82 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.004321/0.1341, allocations: 1.683 MB / 470.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1353, allocations: 455.2 kB / 470.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.1354, allocations: 0 / 470.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.1358, allocations: 71.84 kB / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.136, allocations: 55.75 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.1366, allocations: 166.8 kB / 470.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.1368, allocations: 79.81 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.137, allocations: 15.98 kB / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.689e-05/0.1371, allocations: 39.78 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.1373, allocations: 55.81 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.1373, allocations: 0 / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.1375, allocations: 43.98 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.376e-05/0.1376, allocations: 27.91 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.981e-05/0.1376, allocations: 31.75 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.1379, allocations: 108 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1379, allocations: 0 / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1379, allocations: 0 / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1379, allocations: 0 / 471.3 MB, free: 12 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.000659/0.1386, allocations: 422.9 kB / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.1387, allocations: 8.031 kB / 471.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.175e-05/0.1387, allocations: 20.73 kB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.139, allocations: 200 kB / 472 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.139, allocations: 384 / 472 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.139, allocations: 4.375 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.1393, allocations: 77.72 kB / 472 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1393, allocations: 0 / 472 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1394, allocations: 0 / 472 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1394, allocations: 4 kB / 472 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.1396, allocations: 39.97 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.1402, allocations: 324.6 kB / 472.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.1405, allocations: 62.55 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1406, allocations: 32.95 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1406, allocations: 0 / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.1407, allocations: 34.56 kB / 472.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.1407, allocations: 0 / 472.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.002141/0.1428, allocations: 424.8 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.1429, allocations: 55.34 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.1432, allocations: 207.3 kB / 473.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.1432, allocations: 29.7 kB / 473.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.1433, allocations: 104.1 kB / 473.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.52e-05/0.1434, allocations: 43.39 kB / 473.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/0.1434, allocations: 21.72 kB / 473.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1436, allocations: 326.8 kB / 473.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.1439, allocations: 55.95 kB / 473.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.1441, allocations: 55.95 kB / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.1445, allocations: 124.8 kB / 473.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1445, allocations: 4 kB / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005055/0.145, allocations: 165.4 kB / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.145, allocations: 6.5 kB / 474.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1451, allocations: 0 / 474.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1451, allocations: 0 / 474.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.1453, allocations: 31.91 kB / 474.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1453, allocations: 0 / 474.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.572e-05/0.1454, allocations: 15.91 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.1454, allocations: 4 kB / 474.2 MB, free: 8.922 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.0001585/0.1456, allocations: 134.4 kB / 474.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.1456, allocations: 7.906 kB / 474.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005871/0.1462, allocations: 191.4 kB / 474.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.1463, allocations: 11.94 kB / 474.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1463, allocations: 0 / 474.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.1463, allocations: 0 / 474.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009951/0.1473, allocations: 0.496 MB / 475 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1473, allocations: 8.062 kB / 475 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1475, allocations: 23.98 kB / 475 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.1475, allocations: 4 kB / 475 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1475, allocations: 0 / 475 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.1475, allocations: 7.984 kB / 475 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1475, allocations: 3.938 kB / 475 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.1481, allocations: 269.6 kB / 475.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.1481, allocations: 92.91 kB / 475.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1482, allocations: 0 / 475.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1483, allocations: 15.92 kB / 475.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.1484, allocations: 8 kB / 475.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.1484, allocations: 11.98 kB / 475.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.1486, allocations: 156 kB / 475.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.004e-06/0.1486, allocations: 3.938 kB / 475.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000397/0.149, allocations: 27.94 kB / 475.6 MB, free: 7.355 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.001586/0.1506, allocations: 456.1 kB / 476.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004814/0.1511, allocations: 131.7 kB / 476.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1511, allocations: 0 / 476.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.1513, allocations: 71.89 kB / 476.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.1519, allocations: 32.03 kB / 476.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007815/0.1527, allocations: 349.9 kB / 476.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.1531, allocations: 0.7238 MB / 477.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.1533, allocations: 36.38 kB / 477.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.1534, allocations: 15.44 kB / 477.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1534, allocations: 0 / 477.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of Templates: time 0.005879/0.1593, allocations: 1.521 MB / 478.9 MB, free: 4.176 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches