Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 97.58 kB / 18.01 MB, free: 5.602 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.001364/0.001364, allocations: 181.6 kB / 18.91 MB, free: 4.738 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.342/1.342, allocations: 223.3 MB / 243 MB, free: 14.28 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.1854/0.1854, allocations: 44.26 MB / 338.3 MB, free: 2.371 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003291, allocations: 9.5 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1091, allocations: 61.93 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002079/0.1113, allocations: 1.349 MB / 474.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008292/0.1121, allocations: 411.3 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/0.1122, allocations: 0 / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.1124, allocations: 63.86 kB / 474.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.1126, allocations: 39.83 kB / 474.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.113, allocations: 113.9 kB / 474.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1131, allocations: 71.83 kB / 474.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1132, allocations: 27.95 kB / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.684e-05/0.1133, allocations: 31.8 kB / 475 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1134, allocations: 39.83 kB / 475 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1134, allocations: 4 kB / 475 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1135, allocations: 47.97 kB / 475.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.1136, allocations: 19.92 kB / 475.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.1137, allocations: 53.45 kB / 475.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1138, allocations: 75.88 kB / 475.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1138, allocations: 0 / 475.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1139, allocations: 4 kB / 475.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1139, allocations: 0 / 475.2 MB, free: 10.93 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004962/0.1144, allocations: 403.4 kB / 475.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1144, allocations: 8.031 kB / 475.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.1145, allocations: 8.844 kB / 475.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.1146, allocations: 200.6 kB / 475.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.1147, allocations: 384 / 475.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.1147, allocations: 11.94 kB / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.1149, allocations: 65.67 kB / 475.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1149, allocations: 0 / 475.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1149, allocations: 3.938 kB / 475.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1149, allocations: 4 kB / 475.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.1151, allocations: 43.97 kB / 476 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.1155, allocations: 304.7 kB / 476.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.1158, allocations: 66.58 kB / 476.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.429e-05/0.1159, allocations: 28.97 kB / 476.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1159, allocations: 4 kB / 476.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1159, allocations: 34.56 kB / 476.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1159, allocations: 0 / 476.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001551/0.1175, allocations: 460.8 kB / 476.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.1175, allocations: 55.34 kB / 476.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.1177, allocations: 182.5 kB / 477.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1178, allocations: 29.7 kB / 477.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.1178, allocations: 104 kB / 477.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.1179, allocations: 31.55 kB / 477.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.1179, allocations: 17.72 kB / 477.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.118, allocations: 322.8 kB / 477.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1182, allocations: 55.91 kB / 477.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.1183, allocations: 59.94 kB / 477.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.1186, allocations: 116.8 kB / 477.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1186, allocations: 0 / 477.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003425/0.1189, allocations: 161.4 kB / 478 MB, free: 7.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.119, allocations: 4 kB / 478 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.119, allocations: 8.438 kB / 478 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.119, allocations: 0 / 478 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1191, allocations: 31.97 kB / 478 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1191, allocations: 0 / 478 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.974e-05/0.1192, allocations: 23.98 kB / 478 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1192, allocations: 4 kB / 478 MB, free: 7.906 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 (11): * Single equations (assignments): 11 * 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 9.971e-05/0.1193, allocations: 126.4 kB / 478.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.1194, allocations: 7.906 kB / 478.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.1198, allocations: 186.2 kB / 478.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1198, allocations: 0 / 478.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1198, allocations: 0 / 478.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1198, allocations: 0 / 478.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006738/0.1205, allocations: 495.9 kB / 478.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1205, allocations: 7.938 kB / 478.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.1206, allocations: 31.97 kB / 478.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1206, allocations: 0 / 478.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1206, allocations: 0 / 478.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1206, allocations: 4 kB / 478.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1206, allocations: 0 / 478.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.121, allocations: 273 kB / 479.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.1211, allocations: 88.92 kB / 479.2 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.1211, allocations: 4 kB / 479.2 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1212, allocations: 15.98 kB / 479.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.1213, allocations: 11.97 kB / 479.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.1213, allocations: 4 kB / 479.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.1214, allocations: 145.5 kB / 479.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1214, allocations: 0 / 479.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1217, allocations: 27.98 kB / 479.4 MB, free: 6.391 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00106/0.1228, allocations: 471.2 kB / 479.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003678/0.1232, allocations: 111.9 kB / 480 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1232, allocations: 7.938 kB / 480 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.1233, allocations: 67.91 kB / 480.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.1237, allocations: 19.73 kB / 480.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005489/0.1243, allocations: 328.7 kB / 480.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.1246, allocations: 0.7082 MB / 481.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.1246, allocations: 23.42 kB / 481.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1246, allocations: 0 / 481.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of Templates: time 0.003763/0.1284, allocations: 1.853 MB / 483 MB, free: 2.953 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches