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.001204/0.001203, allocations: 106.3 kB / 16.41 MB, free: 6.449 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.001164/0.001164, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.391/1.391, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.206/0.206, 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.001623/0.001623, allocations: 73.45 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1299, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003213/0.1332, allocations: 1.561 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006412/0.1339, allocations: 331.6 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.1339, allocations: 0 / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.1345, allocations: 451.1 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.1349, allocations: 259.4 kB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.1353, allocations: 147.6 kB / 0.4906 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.1356, allocations: 163.7 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1357, allocations: 19.91 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1359, allocations: 107.8 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.1361, allocations: 207.6 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.1361, allocations: 4 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.709e-05/0.1362, allocations: 19.98 kB / 0.491 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.1363, allocations: 87.69 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.258e-05/0.1364, allocations: 103 kB / 0.4912 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.1367, allocations: 239 kB / 0.4915 GB, free: 8.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1367, allocations: 0 / 0.4915 GB, free: 8.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1367, allocations: 0 / 0.4915 GB, free: 8.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1368, allocations: 0 / 0.4915 GB, free: 8.113 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.0007552/0.1375, allocations: 0.6258 MB / 0.4921 GB, free: 7.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1376, allocations: 11.89 kB / 0.4921 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.101e-05/0.1376, allocations: 36.47 kB / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.1379, allocations: 300.1 kB / 0.4924 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.138, allocations: 4.375 kB / 0.4924 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.138, allocations: 4.375 kB / 0.4924 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1381, allocations: 53.75 kB / 0.4925 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.1381, allocations: 0 / 0.4925 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1382, allocations: 4 kB / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.1382, allocations: 7.938 kB / 0.4925 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.176e-05/0.1383, allocations: 19.98 kB / 0.4925 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.1388, allocations: 384.7 kB / 0.4929 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.296e-05/0.1389, allocations: 38.55 kB / 0.4929 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.533e-05/0.1389, allocations: 16.91 kB / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.1389, allocations: 3.938 kB / 0.4929 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.139, allocations: 34.56 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.139, allocations: 0 / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002728/0.1393, allocations: 101.2 kB / 0.493 GB, free: 6.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.1393, allocations: 51.41 kB / 0.4931 GB, free: 6.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008073/0.1401, allocations: 0.8574 MB / 0.4939 GB, free: 5.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1401, allocations: 29.7 kB / 0.494 GB, free: 5.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.1403, allocations: 216.1 kB / 0.4942 GB, free: 5.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.1403, allocations: 7.844 kB / 0.4942 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.1404, allocations: 21.72 kB / 0.4942 GB, free: 5.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1405, allocations: 366.8 kB / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.354e-05/0.1406, allocations: 8 kB / 0.4946 GB, free: 4.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.1406, allocations: 15.92 kB / 0.4946 GB, free: 4.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.161e-05/0.1407, allocations: 24.84 kB / 0.4946 GB, free: 4.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1407, allocations: 3.938 kB / 0.4946 GB, free: 4.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001419/0.1409, allocations: 93.19 kB / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1409, allocations: 8.031 kB / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1409, allocations: 3.984 kB / 0.4947 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1409, allocations: 0 / 0.4947 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.303e-05/0.141, allocations: 4 kB / 0.4947 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.141, allocations: 3.984 kB / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.1411, allocations: 4 kB / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1411, allocations: 4 kB / 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.000174/0.1413, allocations: 221.6 kB / 0.4949 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.1413, allocations: 47.44 kB / 0.495 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.1415, allocations: 104.6 kB / 0.4951 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1415, allocations: 0 / 0.4951 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1416, allocations: 0 / 0.4951 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1416, allocations: 3.938 kB / 0.4951 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.1419, allocations: 281.5 kB / 0.4953 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1419, allocations: 0 / 0.4953 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.1419, allocations: 11.98 kB / 0.4954 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1419, allocations: 0 / 0.4954 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.1419, allocations: 4.031 kB / 0.4954 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1419, allocations: 0 / 0.4954 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1419, allocations: 0 / 0.4954 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.1422, allocations: 191 kB / 0.4955 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.1422, allocations: 112.5 kB / 0.4956 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1423, allocations: 0 / 0.4956 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.1423, allocations: 4 kB / 0.4956 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.1424, allocations: 8.031 kB / 0.4957 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1424, allocations: 0 / 0.4957 GB, free: 3.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006597/0.1431, allocations: 0.6511 MB / 0.4963 GB, free: 2.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1431, allocations: 0 / 0.4963 GB, free: 2.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.1433, 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.0008197/0.1441, allocations: 352.9 kB / 0.4966 GB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.1443, allocations: 27.92 kB / 0.4967 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1443, allocations: 0 / 0.4967 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.329e-05/0.1444, allocations: 8 kB / 0.4967 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1448, allocations: 33.75 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.0009923/0.1458, allocations: 0.7633 MB / 0.4975 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.1462, allocations: 0.8143 MB / 0.4982 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.161e-05/0.1463, allocations: 15.97 kB / 0.4983 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.1463, allocations: 11.44 kB / 0.4983 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1463, allocations: 0 / 0.4983 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of Templates: time 0.004693/0.151, allocations: 1.28 MB / 0.4995 GB, free: 15.48 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