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.001106/0.001106, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001163/0.001163, allocations: 187 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.327/1.327, 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.207/0.207, allocations: 44.19 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 65.42 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1132, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003233/0.1165, allocations: 1.642 MB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008141/0.1173, allocations: 423.1 kB / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.065e-05/0.1174, allocations: 4 kB / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.1176, allocations: 47.81 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.1179, allocations: 51.75 kB / 472.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.1182, allocations: 123.7 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.1184, allocations: 75.75 kB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1185, allocations: 19.94 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.837e-05/0.1186, allocations: 39.84 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.1187, allocations: 35.83 kB / 473.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.1187, allocations: 4 kB / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1188, allocations: 47.98 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.1189, allocations: 31.84 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.1189, allocations: 23.81 kB / 473.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.1191, allocations: 99.7 kB / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1191, allocations: 0 / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1191, allocations: 4 kB / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.1191, allocations: 0 / 473.4 MB, free: 10.99 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.0004989/0.1196, allocations: 399.1 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1197, allocations: 12.02 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.975e-05/0.1197, allocations: 8.844 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.1199, allocations: 196.1 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1199, allocations: 4.375 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.12, allocations: 8.375 kB / 474 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1201, allocations: 65.8 kB / 474 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.1202, allocations: 7.969 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1202, allocations: 0 / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1202, allocations: 4 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.1203, allocations: 39.91 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.1207, allocations: 296.7 kB / 474.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.121, allocations: 62.58 kB / 474.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.597e-05/0.1211, allocations: 24.97 kB / 474.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1211, allocations: 0 / 474.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.1211, allocations: 30.56 kB / 474.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.365e-06/0.1211, allocations: 4 kB / 474.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001279/0.1224, allocations: 380.8 kB / 474.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.1225, allocations: 63.33 kB / 474.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1226, allocations: 160.2 kB / 475.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1226, allocations: 29.7 kB / 475.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.1227, allocations: 96.12 kB / 475.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.1227, allocations: 35.45 kB / 475.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.1228, allocations: 29.72 kB / 475.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1229, allocations: 326.8 kB / 475.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.123, allocations: 39.91 kB / 475.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.1232, allocations: 48.02 kB / 475.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.1234, allocations: 108.7 kB / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1234, allocations: 0 / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002622/0.1236, allocations: 133.5 kB / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1237, allocations: 4 kB / 475.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1237, allocations: 0 / 475.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1237, allocations: 4 kB / 475.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1238, allocations: 36.41 kB / 476 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.1238, allocations: 4 kB / 476 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.1239, allocations: 7.938 kB / 476 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1239, allocations: 4 kB / 476 MB, free: 8.148 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 9.05e-05/0.124, allocations: 125.8 kB / 476.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.124, allocations: 15.81 kB / 476.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/0.1244, allocations: 170.2 kB / 476.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1244, allocations: 3.938 kB / 476.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1244, allocations: 0 / 476.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1244, allocations: 0 / 476.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/0.125, allocations: 460.1 kB / 476.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.125, allocations: 12 kB / 476.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.386e-05/0.1251, allocations: 23.98 kB / 476.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1251, allocations: 0 / 476.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1252, allocations: 4 kB / 476.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1252, allocations: 0 / 476.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1252, allocations: 0 / 476.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.1255, allocations: 260.8 kB / 477 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.1255, allocations: 85.02 kB / 477.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.1256, allocations: 4 kB / 477.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.715e-05/0.1256, allocations: 11.98 kB / 477.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.1257, allocations: 7.984 kB / 477.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1257, allocations: 4 kB / 477.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.332e-05/0.1258, allocations: 131.2 kB / 477.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1258, allocations: 0 / 477.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1261, allocations: 27.98 kB / 477.3 MB, free: 6.711 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.001004/0.1271, allocations: 468.1 kB / 477.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.1274, allocations: 99.88 kB / 477.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1274, allocations: 4 kB / 477.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.1275, allocations: 55.91 kB / 477.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.1279, allocations: 28.05 kB / 477.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.1284, allocations: 263.9 kB / 478.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1287, allocations: 0.7002 MB / 478.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.985e-05/0.1287, allocations: 16.42 kB / 478.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.1288, allocations: 15.44 kB / 478.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1288, allocations: 0 / 478.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of Templates: time 0.004022/0.1328, allocations: 1.547 MB / 480.5 MB, free: 3.664 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/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