Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001087/0.001087, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.406/1.406, allocations: 222.9 MB / 243 MB, free: 15.08 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.2015/0.2015, allocations: 44.17 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 66.19 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1159, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003066/0.119, allocations: 1.591 MB / 472.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007457/0.1198, allocations: 407.2 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.1199, allocations: 0 / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005784/0.1205, allocations: 447.2 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.1208, allocations: 255.4 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.1212, allocations: 127 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.1214, allocations: 155.8 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1215, allocations: 15.98 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.1216, allocations: 107.7 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.1218, allocations: 211.6 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1218, allocations: 0 / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.01e-05/0.1219, allocations: 27.98 kB / 474 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.122, allocations: 83.69 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.174e-05/0.1221, allocations: 99 kB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.1224, allocations: 243 kB / 474.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1224, allocations: 0 / 474.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1224, allocations: 0 / 474.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1224, allocations: 0 / 474.4 MB, free: 9.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006903/0.1231, allocations: 0.6327 MB / 475 MB, free: 9.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1232, allocations: 12.03 kB / 475.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.1232, allocations: 40.38 kB / 475.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.1235, allocations: 292.2 kB / 475.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1235, allocations: 4.375 kB / 475.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.1235, allocations: 384 / 475.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1237, allocations: 53.81 kB / 475.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1237, allocations: 0 / 475.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.1237, allocations: 0 / 475.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1238, allocations: 4 kB / 475.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.1239, allocations: 35.89 kB / 475.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.1244, allocations: 384.7 kB / 475.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.1245, allocations: 38.56 kB / 475.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.351e-05/0.1246, allocations: 20.94 kB / 475.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1246, allocations: 0 / 475.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1246, allocations: 46.5 kB / 476 MB, free: 8.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1247, allocations: 0 / 476 MB, free: 8.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003393/0.125, allocations: 113.2 kB / 476.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.1251, allocations: 55.34 kB / 476.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008226/0.1259, allocations: 0.8535 MB / 477 MB, free: 7.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.1259, allocations: 25.7 kB / 477 MB, free: 7.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.1261, allocations: 212 kB / 477.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.1261, allocations: 7.906 kB / 477.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.1261, allocations: 17.72 kB / 477.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1263, allocations: 362.7 kB / 477.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.1264, allocations: 15.98 kB / 477.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-05/0.1264, allocations: 8 kB / 477.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.1265, allocations: 44.77 kB / 477.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1266, allocations: 4 kB / 477.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00017/0.1267, allocations: 97.2 kB / 477.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1268, allocations: 7.984 kB / 477.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1268, allocations: 0 / 477.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1268, allocations: 7.938 kB / 477.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.1269, allocations: 4 kB / 477.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1269, allocations: 0 / 477.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.1269, allocations: 11.89 kB / 477.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-06/0.127, allocations: 0 / 477.8 MB, free: 6.309 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 (3): * Single equations (assignments): 3 * 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.0001705/0.1271, allocations: 217.7 kB / 478 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.1272, allocations: 39.53 kB / 478 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.1274, allocations: 124.9 kB / 478.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1274, allocations: 0 / 478.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1274, allocations: 0 / 478.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1275, allocations: 4 kB / 478.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.1278, allocations: 281.5 kB / 478.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1278, allocations: 4 kB / 478.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.295e-05/0.1279, allocations: 8 kB / 478.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1279, allocations: 0 / 478.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.1279, allocations: 4 kB / 478.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1279, allocations: 0 / 478.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1279, allocations: 0 / 478.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1282, allocations: 207.2 kB / 478.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.1283, allocations: 116.7 kB / 478.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.1283, allocations: 0 / 478.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.1284, allocations: 3.984 kB / 478.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1284, allocations: 7.938 kB / 478.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1284, allocations: 0 / 478.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005742/0.129, allocations: 0.6472 MB / 479.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.129, allocations: 0 / 479.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1293, allocations: 12 kB / 479.4 MB, free: 4.547 MB / 350.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 (3): * Single equations (assignments): 3 * 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.0007921/0.1301, allocations: 355.3 kB / 479.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.1303, allocations: 43.84 kB / 479.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1303, allocations: 0 / 479.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.004e-05/0.1304, allocations: 19.98 kB / 479.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.1308, allocations: 29.39 kB / 479.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1318, allocations: 0.7599 MB / 480.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.1322, allocations: 0.8182 MB / 481.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.839e-05/0.1323, allocations: 7.984 kB / 481.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.1323, allocations: 11.44 kB / 481.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1323, allocations: 7.938 kB / 481.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of Templates: time 0.004542/0.1368, allocations: 1.314 MB / 482.8 MB, free: 1.27 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches