Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001395, allocations: 102.8 kB / 16.4 MB, free: 6.492 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.001305/0.001305, allocations: 188.1 kB / 17.34 MB, free: 5.77 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.575/1.575, allocations: 205.1 MB / 223.2 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.2081/0.2081, allocations: 43.53 MB / 314.1 MB, free: 460 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.00154/0.00154, allocations: 59.91 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1123, allocations: 57.8 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.002872/0.1152, allocations: 1.604 MB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006104/0.1158, allocations: 327.5 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.1159, allocations: 0 / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005703/0.1165, allocations: 447.2 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.1169, allocations: 259.4 kB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.1172, allocations: 107.8 kB / 0.4906 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.1174, allocations: 163.6 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.653e-05/0.1175, allocations: 12.19 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.1177, allocations: 111.8 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.1179, allocations: 203.6 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1179, allocations: 4 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-05/0.118, allocations: 35.92 kB / 0.4911 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.1181, allocations: 83.69 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.125e-05/0.1182, allocations: 95 kB / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.1185, allocations: 259 kB / 0.4915 GB, free: 8.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1185, allocations: 0 / 0.4915 GB, free: 8.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1185, allocations: 0 / 0.4915 GB, free: 8.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1185, allocations: 4 kB / 0.4915 GB, free: 8.098 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006204/0.1191, allocations: 0.6219 MB / 0.4921 GB, free: 7.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1192, allocations: 15.83 kB / 0.4921 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.1193, allocations: 40.47 kB / 0.4921 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.1195, allocations: 296.1 kB / 0.4924 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-06/0.1195, allocations: 384 / 0.4924 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.1196, allocations: 8.375 kB / 0.4924 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.1197, allocations: 61.59 kB / 0.4925 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1197, allocations: 0 / 0.4925 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.1197, allocations: 0 / 0.4925 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1197, allocations: 4 kB / 0.4925 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.405e-05/0.1198, allocations: 23.98 kB / 0.4925 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.1203, allocations: 380.6 kB / 0.4929 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.1205, allocations: 50.56 kB / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.1205, allocations: 12.94 kB / 0.4929 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1206, allocations: 0 / 0.4929 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1206, allocations: 42.5 kB / 0.493 GB, free: 6.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1206, allocations: 0 / 0.493 GB, free: 6.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005612/0.1212, allocations: 220 kB / 0.4932 GB, free: 6.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.1212, allocations: 55.34 kB / 0.4932 GB, free: 6.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000711/0.1219, allocations: 0.8574 MB / 0.4941 GB, free: 5.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1219, allocations: 25.7 kB / 0.4941 GB, free: 5.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1221, allocations: 228 kB / 0.4943 GB, free: 4.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.1221, allocations: 19.75 kB / 0.4943 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.1222, allocations: 17.72 kB / 0.4944 GB, free: 4.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.1223, allocations: 362.8 kB / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.1225, allocations: 19.98 kB / 0.4947 GB, free: 4.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.886e-05/0.1225, allocations: 19.98 kB / 0.4947 GB, free: 4.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1226, allocations: 36.84 kB / 0.4948 GB, free: 4.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1227, allocations: 192 / 0.4948 GB, free: 4.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001971/0.1229, allocations: 129 kB / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1229, allocations: 8 kB / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1229, allocations: 0 / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1229, allocations: 0 / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.938e-05/0.123, allocations: 15.98 kB / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.123, allocations: 3.984 kB / 0.4949 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.254e-05/0.1231, allocations: 7.938 kB / 0.4949 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1231, allocations: 0 / 0.4949 GB, free: 4.32 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 (5): * Single equations (assignments): 5 * 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.000165/0.1232, allocations: 221.7 kB / 0.4951 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.1233, allocations: 43.53 kB / 0.4952 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.1236, allocations: 132.9 kB / 0.4953 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1236, allocations: 0 / 0.4953 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1236, allocations: 0 / 0.4953 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1236, allocations: 7.938 kB / 0.4953 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.1241, allocations: 450.5 kB / 0.4958 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1241, allocations: 0 / 0.4958 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.1241, allocations: 19.98 kB / 0.4958 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1241, allocations: 0 / 0.4958 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1242, allocations: 7.938 kB / 0.4958 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1242, allocations: 0 / 0.4958 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1242, allocations: 0 / 0.4958 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.1244, allocations: 215.2 kB / 0.496 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.1245, allocations: 108.8 kB / 0.4961 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.1245, allocations: 11.94 kB / 0.4961 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.1246, allocations: 0 / 0.4961 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.1246, allocations: 11.97 kB / 0.4961 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.1247, allocations: 0 / 0.4961 GB, free: 3.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005753/0.1252, allocations: 0.6472 MB / 0.4967 GB, free: 2.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1252, allocations: 3.938 kB / 0.4967 GB, free: 2.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1255, allocations: 24 kB / 0.4968 GB, free: 2.336 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 (5): * Single equations (assignments): 5 * 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.0008922/0.1264, allocations: 396.4 kB / 0.4971 GB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1266, allocations: 51.91 kB / 0.4972 GB, free: 1.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.1266, allocations: 4 kB / 0.4972 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.073e-05/0.1267, allocations: 19.98 kB / 0.4972 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.1271, allocations: 33.56 kB / 0.4973 GB, free: 1.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.1282, allocations: 0.7755 MB / 0.498 GB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.1286, allocations: 0.826 MB / 0.4988 GB, free: 224 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.447e-05/0.1287, allocations: 4 kB / 0.4988 GB, free: 220 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.1287, allocations: 15.42 kB / 0.4988 GB, free: 204 kB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1287, allocations: 3.938 kB / 0.4988 GB, free: 200 kB / 382.1 MB Notification: Performance of Templates: time 0.004552/0.1333, allocations: 1.455 MB / 0.5003 GB, free: 14.74 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches