Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 109.3 kB / 18.39 MB, free: 4.758 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.001194/0.001194, allocations: 184.1 kB / 19.32 MB, free: 3.828 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.452/1.452, allocations: 222.9 MB / 243 MB, free: 15.09 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.2073/0.2073, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 70.23 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.112, allocations: 60.83 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003235/0.1153, allocations: 1.623 MB / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000775/0.1161, allocations: 435.1 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.1161, allocations: 0 / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005344/0.1167, allocations: 455.1 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.117, allocations: 255.4 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.1174, allocations: 126.9 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1176, allocations: 163.7 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.723e-05/0.1177, allocations: 19.98 kB / 473.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1178, allocations: 111.8 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.118, allocations: 211.6 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.118, allocations: 0 / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1182, allocations: 47.98 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1183, allocations: 87.67 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.444e-05/0.1183, allocations: 99 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.1186, allocations: 271 kB / 474.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1186, allocations: 0 / 474.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1187, allocations: 3.938 kB / 474.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1187, allocations: 0 / 474.6 MB, free: 9.746 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.0006511/0.1193, allocations: 0.6404 MB / 475.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1194, allocations: 12.03 kB / 475.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/0.1194, allocations: 40.38 kB / 475.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.1197, allocations: 296.1 kB / 475.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1197, allocations: 4.375 kB / 475.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.1198, allocations: 12.38 kB / 475.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.1199, allocations: 65.67 kB / 475.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.12, allocations: 0 / 475.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.12, allocations: 4 kB / 475.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.12, allocations: 0 / 475.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.215e-05/0.1201, allocations: 23.98 kB / 475.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.1205, allocations: 396.6 kB / 476 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.1207, allocations: 46.56 kB / 476.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.1207, allocations: 16.94 kB / 476.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.1207, allocations: 0 / 476.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1208, allocations: 34.56 kB / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1208, allocations: 0 / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008979/0.1217, allocations: 308.1 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.1217, allocations: 55.34 kB / 476.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007717/0.1225, allocations: 0.8535 MB / 477.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.1225, allocations: 25.7 kB / 477.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.1227, allocations: 220.1 kB / 477.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.1227, allocations: 35.55 kB / 477.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.1228, allocations: 25.7 kB / 477.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1229, allocations: 358.8 kB / 478 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.094e-05/0.123, allocations: 19.98 kB / 478 MB, free: 6.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.1231, allocations: 27.97 kB / 478 MB, free: 6.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1232, allocations: 60.84 kB / 478.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1232, allocations: 4 kB / 478.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002076/0.1235, allocations: 137 kB / 478.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.1235, allocations: 8 kB / 478.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1235, allocations: 0 / 478.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1235, allocations: 0 / 478.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/0.1236, allocations: 15.98 kB / 478.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1236, allocations: 3.938 kB / 478.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.1237, allocations: 8 kB / 478.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.1237, allocations: 4 kB / 478.3 MB, free: 5.801 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 (8): * Single equations (assignments): 8 * 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.0001724/0.1239, allocations: 217.8 kB / 478.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.124, allocations: 39.53 kB / 478.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.1243, allocations: 165.6 kB / 478.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1243, allocations: 0 / 478.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1243, allocations: 11.94 kB / 478.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1243, allocations: 0 / 478.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.1249, allocations: 0.4914 MB / 479.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1249, allocations: 3.938 kB / 479.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.458e-05/0.125, allocations: 19.98 kB / 479.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.125, allocations: 0 / 479.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.125, allocations: 4 kB / 479.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.125, allocations: 4 kB / 479.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.125, allocations: 0 / 479.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.1253, allocations: 239.8 kB / 479.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1254, allocations: 112.6 kB / 479.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.1254, allocations: 3.984 kB / 479.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.809e-05/0.1255, allocations: 8 kB / 479.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.1255, allocations: 7.984 kB / 479.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.1256, allocations: 4 kB / 479.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005457/0.1261, allocations: 0.6472 MB / 480.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1261, allocations: 0 / 480.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.1264, allocations: 32 kB / 480.3 MB, free: 3.691 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009589/0.1273, allocations: 463.2 kB / 480.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.1276, allocations: 67.89 kB / 480.8 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1276, allocations: 0 / 480.8 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.1277, allocations: 39.92 kB / 480.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.1281, allocations: 31.52 kB / 480.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1291, allocations: 0.8041 MB / 481.7 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.1296, allocations: 0.826 MB / 482.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.463e-05/0.1297, allocations: 12.97 kB / 482.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.1297, allocations: 19.44 kB / 482.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1297, allocations: 0 / 482.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of Templates: time 0.005222/0.1349, allocations: 1.697 MB / 484.2 MB, free: 15.88 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches