Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 103.7 kB / 16.41 MB, free: 6.508 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.001406/0.001406, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.338/1.338, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.2177/0.2177, allocations: 43.52 MB / 314.1 MB, free: 464 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.001466/0.001466, allocations: 73.47 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1455, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003293/0.1488, allocations: 1.549 MB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007178/0.1496, allocations: 347.5 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.315e-05/0.1497, allocations: 0 / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006755/0.1503, allocations: 451.2 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.1507, allocations: 259.4 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.1511, allocations: 143.7 kB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.1515, allocations: 159.7 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1516, allocations: 23.91 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.1518, allocations: 107.7 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.1521, allocations: 207.6 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.1521, allocations: 4 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.627e-05/0.1522, allocations: 19.98 kB / 0.4911 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.1523, allocations: 79.7 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.401e-05/0.1524, allocations: 103 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.1527, allocations: 251 kB / 0.4915 GB, free: 8.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1527, allocations: 0 / 0.4915 GB, free: 8.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1527, allocations: 0 / 0.4915 GB, free: 8.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1527, allocations: 0 / 0.4915 GB, free: 8.105 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.0008362/0.1536, allocations: 0.618 MB / 0.4921 GB, free: 7.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.1536, allocations: 11.89 kB / 0.4921 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.1537, allocations: 40.45 kB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.154, allocations: 300.2 kB / 0.4924 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.1541, allocations: 384 / 0.4924 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.1541, allocations: 384 / 0.4924 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.1543, allocations: 57.75 kB / 0.4925 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1543, allocations: 3.938 kB / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1543, allocations: 0 / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1543, allocations: 4 kB / 0.4925 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.394e-05/0.1544, allocations: 23.97 kB / 0.4925 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.155, allocations: 392.7 kB / 0.4929 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.739e-05/0.1551, allocations: 26.58 kB / 0.4929 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.1551, allocations: 20.84 kB / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.1552, allocations: 0 / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1552, allocations: 38.5 kB / 0.493 GB, free: 6.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1552, allocations: 4 kB / 0.493 GB, free: 6.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002901/0.1555, allocations: 97.2 kB / 0.493 GB, free: 6.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1556, allocations: 51.41 kB / 0.4931 GB, free: 6.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008271/0.1564, allocations: 0.8574 MB / 0.4939 GB, free: 5.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1564, allocations: 25.7 kB / 0.494 GB, free: 5.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.1566, allocations: 224.1 kB / 0.4942 GB, free: 5.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.1566, allocations: 7.844 kB / 0.4942 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.1567, allocations: 21.84 kB / 0.4942 GB, free: 5.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1568, allocations: 366.7 kB / 0.4946 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.457e-05/0.1569, allocations: 7.938 kB / 0.4946 GB, free: 4.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.1569, allocations: 15.98 kB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.778e-05/0.157, allocations: 24.84 kB / 0.4946 GB, free: 4.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.157, allocations: 0 / 0.4946 GB, free: 4.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001652/0.1572, allocations: 101.2 kB / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1572, allocations: 4 kB / 0.4947 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/0.1572, allocations: 0 / 0.4947 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.1573, allocations: 0 / 0.4947 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.554e-05/0.1573, allocations: 4 kB / 0.4947 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.1574, allocations: 0 / 0.4947 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.444e-05/0.1574, allocations: 7.938 kB / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1574, allocations: 0 / 0.4947 GB, free: 4.551 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.0002177/0.1577, allocations: 217.6 kB / 0.4949 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.1577, allocations: 47.47 kB / 0.495 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.1579, allocations: 104.6 kB / 0.4951 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.158, allocations: 0 / 0.4951 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.158, allocations: 3.984 kB / 0.4951 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.158, allocations: 3.938 kB / 0.4951 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.1583, allocations: 281.5 kB / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1583, allocations: 4 kB / 0.4953 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.1583, allocations: 7.984 kB / 0.4953 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.1584, allocations: 4 kB / 0.4954 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.1584, allocations: 4.031 kB / 0.4954 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1584, allocations: 0 / 0.4954 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.1584, allocations: 0 / 0.4954 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.1586, allocations: 190.9 kB / 0.4955 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.72e-05/0.1587, allocations: 108.5 kB / 0.4956 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.1587, allocations: 0 / 0.4956 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.1588, allocations: 4.031 kB / 0.4956 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.1589, allocations: 8 kB / 0.4957 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.1589, allocations: 0 / 0.4957 GB, free: 3.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006288/0.1595, allocations: 0.6511 MB / 0.4963 GB, free: 2.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1595, allocations: 3.938 kB / 0.4963 GB, free: 2.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1598, allocations: 16 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.0008793/0.1606, allocations: 357 kB / 0.4966 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.1608, allocations: 27.92 kB / 0.4967 GB, free: 2.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1608, allocations: 0 / 0.4967 GB, free: 2.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.297e-05/0.1609, allocations: 15.98 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.000413/0.1613, allocations: 21.77 kB / 0.4967 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.1623, allocations: 0.7634 MB / 0.4975 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.1628, allocations: 0.8182 MB / 0.4983 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.048e-05/0.1628, allocations: 11.98 kB / 0.4983 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.1629, allocations: 11.44 kB / 0.4983 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1629, allocations: 0 / 0.4983 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of Templates: time 0.004701/0.1676, allocations: 1.268 MB / 0.4995 GB, free: 15.49 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches