Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001774/0.001774, allocations: 188 kB / 19.34 MB, free: 3.641 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.422/1.422, allocations: 222.9 MB / 243 MB, free: 15.1 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.2029/0.2029, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 68.31 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1172, allocations: 60.82 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003862/0.1211, allocations: 1.642 MB / 472.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1221, allocations: 455 kB / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.433e-05/0.1222, allocations: 0 / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.1225, allocations: 79.77 kB / 472.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.1228, allocations: 63.75 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.1234, allocations: 171.3 kB / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.1236, allocations: 79.81 kB / 473.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.1237, allocations: 23.98 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.522e-05/0.1238, allocations: 43.83 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.124, allocations: 51.77 kB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.124, allocations: 4 kB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.1242, allocations: 51.97 kB / 473.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.07e-05/0.1243, allocations: 31.92 kB / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.1243, allocations: 27.75 kB / 473.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.1246, allocations: 107.7 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1246, allocations: 3.938 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1246, allocations: 0 / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.1246, allocations: 0 / 473.5 MB, free: 10.86 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.0006093/0.1252, allocations: 415 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.1253, allocations: 16.02 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.1253, allocations: 12.75 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.1256, allocations: 204 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1256, allocations: 4.375 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.1256, allocations: 4.375 kB / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.1259, allocations: 73.72 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1259, allocations: 0 / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1259, allocations: 4 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1259, allocations: 0 / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.1261, allocations: 43.95 kB / 474.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005412/0.1267, allocations: 320.7 kB / 474.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.127, allocations: 58.55 kB / 474.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.1272, allocations: 28.95 kB / 474.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.1272, allocations: 0 / 474.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.1272, allocations: 42.56 kB / 474.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.1273, allocations: 0 / 474.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.002049/0.1293, allocations: 424.7 kB / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.1294, allocations: 55.34 kB / 475.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.1297, allocations: 205.9 kB / 475.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1297, allocations: 25.7 kB / 475.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.754e-05/0.1298, allocations: 112.1 kB / 475.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.1298, allocations: 35.45 kB / 475.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.1299, allocations: 25.72 kB / 475.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1301, allocations: 322.8 kB / 475.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.1303, allocations: 51.95 kB / 475.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.1305, allocations: 64 kB / 476 MB, free: 8.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.1309, allocations: 120.8 kB / 476.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.131, allocations: 0 / 476.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005041/0.1315, allocations: 165.4 kB / 476.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1315, allocations: 8 kB / 476.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1315, allocations: 0 / 476.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1316, allocations: 0 / 476.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.1317, allocations: 35.91 kB / 476.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1318, allocations: 4 kB / 476.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.1319, allocations: 7.906 kB / 476.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.1319, allocations: 4 kB / 476.3 MB, free: 7.793 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.0001442/0.1321, allocations: 133.8 kB / 476.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.1321, allocations: 7.906 kB / 476.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000528/0.1327, allocations: 195.4 kB / 476.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.1327, allocations: 7.938 kB / 476.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1327, allocations: 0 / 476.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1327, allocations: 0 / 476.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007505/0.1335, allocations: 0.496 MB / 477.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1335, allocations: 4 kB / 477.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.981e-05/0.1336, allocations: 23.98 kB / 477.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1336, allocations: 4 kB / 477.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.1336, allocations: 3.984 kB / 477.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.1336, allocations: 7.984 kB / 477.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1336, allocations: 4.062 kB / 477.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.134, allocations: 272.9 kB / 477.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.1341, allocations: 93 kB / 477.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.1341, allocations: 11.94 kB / 477.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.074e-05/0.1342, allocations: 11.98 kB / 477.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.1343, allocations: 4 kB / 477.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1343, allocations: 8 kB / 477.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.1344, allocations: 156.2 kB / 477.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1344, allocations: 0 / 477.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1347, allocations: 23.98 kB / 477.8 MB, free: 6.23 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.001007/0.1357, allocations: 481.9 kB / 478.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.1361, allocations: 127.9 kB / 478.4 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1361, allocations: 0 / 478.4 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.1362, allocations: 71.89 kB / 478.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.1366, allocations: 23.92 kB / 478.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.1371, allocations: 312.1 kB / 478.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1374, allocations: 0.7198 MB / 479.5 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.08e-05/0.1375, allocations: 24.53 kB / 479.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.1376, allocations: 19.44 kB / 479.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1376, allocations: 4 kB / 479.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of Templates: time 0.004293/0.1419, allocations: 1.618 MB / 481.2 MB, free: 2.984 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches