Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 104.4 kB / 16.41 MB, free: 6.012 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.001193/0.001193, allocations: 192.9 kB / 17.34 MB, free: 5.613 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.423/1.423, allocations: 205.1 MB / 223.2 MB, free: 12.18 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.224/0.224, allocations: 43.53 MB / 314.1 MB, free: 444 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.001349/0.001349, allocations: 69.45 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1216, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002993/0.1246, allocations: 1.561 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000761/0.1254, allocations: 331.6 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.348e-05/0.1255, allocations: 0 / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006293/0.1261, allocations: 455.1 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003563/0.1265, allocations: 259.4 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.1269, allocations: 143.7 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.1271, allocations: 159.7 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1273, allocations: 23.92 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1274, allocations: 107.8 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.1277, allocations: 211.6 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.1277, allocations: 4 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.087e-05/0.1278, allocations: 16 kB / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1279, allocations: 79.69 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.128, allocations: 103.1 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.1283, allocations: 247 kB / 0.4915 GB, free: 8.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1284, allocations: 0 / 0.4915 GB, free: 8.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1284, allocations: 0 / 0.4915 GB, free: 8.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1284, allocations: 0 / 0.4915 GB, free: 8.109 MB / 382.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.0007591/0.1291, allocations: 0.618 MB / 0.4921 GB, free: 7.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.1292, allocations: 15.89 kB / 0.4921 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.193e-05/0.1293, allocations: 36.47 kB / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.1296, allocations: 300.1 kB / 0.4924 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1296, allocations: 4.375 kB / 0.4924 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.1297, allocations: 4.375 kB / 0.4924 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1299, allocations: 57.73 kB / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1299, allocations: 0 / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1299, allocations: 0 / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1299, allocations: 0 / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.13, allocations: 27.92 kB / 0.4925 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.1306, allocations: 388.7 kB / 0.4929 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.1307, allocations: 34.55 kB / 0.4929 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.1308, allocations: 16.91 kB / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1308, allocations: 0 / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.1309, allocations: 42.5 kB / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1309, allocations: 0 / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003103/0.1312, allocations: 101.2 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.1313, allocations: 51.41 kB / 0.4931 GB, free: 6.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009129/0.1322, allocations: 0.8535 MB / 0.4939 GB, free: 5.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.1322, allocations: 29.7 kB / 0.494 GB, free: 5.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.1324, allocations: 224.1 kB / 0.4942 GB, free: 5.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.1325, allocations: 7.844 kB / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.1325, allocations: 13.72 kB / 0.4942 GB, free: 5.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.1327, allocations: 370.9 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.295e-05/0.1328, allocations: 7.984 kB / 0.4946 GB, free: 4.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.871e-05/0.1328, allocations: 15.98 kB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.894e-05/0.1329, allocations: 28.78 kB / 0.4946 GB, free: 4.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1329, allocations: 3.938 kB / 0.4946 GB, free: 4.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001519/0.1331, allocations: 89.12 kB / 0.4947 GB, free: 4.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1331, allocations: 12.09 kB / 0.4947 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1331, allocations: 0 / 0.4947 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1331, allocations: 0 / 0.4947 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.034e-05/0.1332, allocations: 7.984 kB / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1332, allocations: 0 / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.125e-05/0.1333, allocations: 4 kB / 0.4947 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.1333, allocations: 0 / 0.4947 GB, free: 4.547 MB / 382.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 (2): * Single equations (assignments): 2 * 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.000178/0.1335, allocations: 217.6 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.1335, allocations: 43.44 kB / 0.495 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.1337, allocations: 112.6 kB / 0.4951 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1337, allocations: 0 / 0.4951 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1337, allocations: 4 kB / 0.4951 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1338, allocations: 3.938 kB / 0.4951 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.134, allocations: 285.5 kB / 0.4953 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.134, allocations: 0 / 0.4953 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.1341, allocations: 4 kB / 0.4953 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1341, allocations: 0 / 0.4953 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.1341, allocations: 4 kB / 0.4953 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.1341, allocations: 8.016 kB / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1341, allocations: 0 / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.1343, allocations: 183 kB / 0.4955 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.057e-05/0.1344, allocations: 112.5 kB / 0.4956 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1344, allocations: 3.984 kB / 0.4956 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.704e-05/0.1345, allocations: 4 kB / 0.4956 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.1345, allocations: 0 / 0.4956 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.1346, allocations: 8.031 kB / 0.4957 GB, free: 3.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005627/0.1351, allocations: 0.6472 MB / 0.4963 GB, free: 2.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1351, allocations: 0 / 0.4963 GB, free: 2.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.1354, allocations: 15.98 kB / 0.4963 GB, free: 2.812 MB / 382.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 (2): * Single equations (assignments): 2 * 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.0007965/0.1362, allocations: 357.3 kB / 0.4966 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.1363, allocations: 23.97 kB / 0.4967 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1364, allocations: 4 kB / 0.4967 GB, free: 2.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.62e-05/0.1364, allocations: 15.94 kB / 0.4967 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.1368, allocations: 25.75 kB / 0.4967 GB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1379, allocations: 0.7594 MB / 0.4974 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.1384, allocations: 0.826 MB / 0.4983 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.64e-05/0.1385, allocations: 15.97 kB / 0.4983 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.1385, allocations: 11.44 kB / 0.4983 GB, free: 0.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1385, allocations: 0 / 0.4983 GB, free: 0.75 MB / 382.1 MB Notification: Performance of Templates: time 0.005101/0.1436, allocations: 1.272 MB / 0.4995 GB, free: 15.48 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches