Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 106.6 kB / 17.03 MB, free: 6.129 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.001621/0.001621, allocations: 194.9 kB / 17.96 MB, free: 5.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.217/0.217, allocations: 43.54 MB / 314.7 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.66 kB / 384.2 MB, free: 56.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.122, allocations: 57.8 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003607/0.1256, allocations: 1.602 MB / 443.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007655/0.1265, allocations: 343.5 kB / 443.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.637e-05/0.1265, allocations: 0 / 443.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.1269, allocations: 59.81 kB / 444 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.1271, allocations: 55.75 kB / 444 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.1276, allocations: 158.7 kB / 444.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.1277, allocations: 71.83 kB / 444.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1279, allocations: 27.91 kB / 444.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.1279, allocations: 31.91 kB / 444.3 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.745e-05/0.128, allocations: 51.77 kB / 444.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1281, allocations: 4 kB / 444.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.703e-05/0.1282, allocations: 31.98 kB / 444.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.389e-05/0.1282, allocations: 19.92 kB / 444.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.1283, allocations: 23.81 kB / 444.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.1285, allocations: 95.7 kB / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1285, allocations: 0 / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1285, allocations: 4 kB / 444.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1285, allocations: 0 / 444.5 MB, free: 3.566 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000452/0.129, allocations: 411 kB / 444.9 MB, free: 3.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.129, allocations: 11.89 kB / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.1291, allocations: 12.75 kB / 444.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.1292, allocations: 198.1 kB / 445.1 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1293, allocations: 384 / 445.1 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1293, allocations: 4.375 kB / 445.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1295, allocations: 69.78 kB / 445.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1295, allocations: 0 / 445.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1295, allocations: 0 / 445.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1296, allocations: 0 / 445.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.1298, allocations: 47.89 kB / 445.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.1303, allocations: 300.8 kB / 445.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.1304, allocations: 50.56 kB / 445.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.924e-05/0.1305, allocations: 32.86 kB / 445.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.1306, allocations: 0 / 445.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.1306, allocations: 38.5 kB / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.512e-06/0.1306, allocations: 0 / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009606/0.1316, allocations: 225.1 kB / 445.9 MB, free: 2.027 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.1316, allocations: 55.41 kB / 445.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.1318, allocations: 190.1 kB / 446.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.1318, allocations: 25.7 kB / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.1319, allocations: 108.2 kB / 446.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.1319, allocations: 27.56 kB / 446.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.132, allocations: 21.7 kB / 446.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.1321, allocations: 322.8 kB / 446.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.1322, allocations: 39.95 kB / 446.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1324, allocations: 39.91 kB / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.1327, allocations: 93.02 kB / 446.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1327, allocations: 0 / 446.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003678/0.1331, allocations: 125.5 kB / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1331, allocations: 4 kB / 446.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1331, allocations: 0 / 446.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1331, allocations: 0 / 446.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.1333, allocations: 23.98 kB / 446.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1333, allocations: 0 / 446.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.792e-05/0.1334, allocations: 19.92 kB / 447 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1334, allocations: 0 / 447 MB, free: 0.8984 MB / 318.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 (7): * Single equations (assignments): 7 * 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 8.131e-05/0.1335, allocations: 129.8 kB / 447.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.1336, allocations: 7.906 kB / 447.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/0.134, allocations: 150.2 kB / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1341, allocations: 0 / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1341, allocations: 0 / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1341, allocations: 7.938 kB / 447.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.1347, allocations: 402.5 kB / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1347, allocations: 0 / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.1348, allocations: 31.92 kB / 447.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1348, allocations: 0 / 447.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1349, allocations: 3.938 kB / 447.7 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1349, allocations: 0 / 447.7 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1349, allocations: 0 / 447.7 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.1353, allocations: 223.4 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.1354, allocations: 85.02 kB / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.1354, allocations: 3.938 kB / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.1356, allocations: 11.98 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.1356, allocations: 7.984 kB / 448 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.1357, allocations: 7.938 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.1358, allocations: 139.2 kB / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.625e-06/0.1358, allocations: 0 / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003794/0.1362, allocations: 19.92 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001294/0.1375, allocations: 408.5 kB / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004022/0.138, allocations: 87.92 kB / 448.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.138, allocations: 0 / 448.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.1382, allocations: 47.91 kB / 448.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.1387, allocations: 23.92 kB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006393/0.1393, allocations: 254.7 kB / 449 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.1397, allocations: 0.7118 MB / 449.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.404e-05/0.1398, allocations: 19.97 kB / 449.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.1399, allocations: 15.44 kB / 449.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1399, allocations: 0 / 449.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of Templates: time 0.005525/0.1454, allocations: 1.288 MB / 451 MB, free: 12.78 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches