Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001835/0.001835, allocations: 187 kB / 19.34 MB, free: 3.641 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.371/1.371, allocations: 222.9 MB / 243 MB, free: 15.07 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.2009/0.2009, allocations: 44.17 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 62.08 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1078, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002955/0.1108, allocations: 1.61 MB / 472.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007772/0.1116, allocations: 451.1 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.1117, allocations: 4 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005088/0.1122, allocations: 451.2 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.1126, allocations: 251.4 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.113, allocations: 171.3 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.1132, allocations: 167.7 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1133, allocations: 20.16 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1134, allocations: 107.7 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.1137, allocations: 211.6 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.1137, allocations: 4 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.689e-05/0.1138, allocations: 27.98 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.136e-05/0.1139, allocations: 83.69 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.1139, allocations: 103 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.1142, allocations: 262.9 kB / 474.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1142, allocations: 4 kB / 474.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1142, allocations: 0 / 474.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.1143, allocations: 0 / 474.6 MB, free: 9.742 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007548/0.115, allocations: 0.6219 MB / 475.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1151, allocations: 8.031 kB / 475.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.294e-05/0.1152, allocations: 44.38 kB / 475.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.1155, allocations: 300.1 kB / 475.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1155, allocations: 8.375 kB / 475.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.1155, allocations: 4.312 kB / 475.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.1157, allocations: 69.55 kB / 475.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1157, allocations: 0 / 475.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1157, allocations: 0 / 475.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1157, allocations: 0 / 475.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.1159, allocations: 27.97 kB / 475.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005387/0.1164, allocations: 384.8 kB / 476 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.1167, allocations: 58.48 kB / 476.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/0.1167, allocations: 12.86 kB / 476.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.1168, allocations: 4 kB / 476.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.1168, allocations: 30.66 kB / 476.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.1168, allocations: 0 / 476.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006298/0.1174, allocations: 239.9 kB / 476.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.1175, allocations: 51.41 kB / 476.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008333/0.1183, allocations: 0.8651 MB / 477.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1183, allocations: 25.7 kB / 477.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.1185, allocations: 216.1 kB / 477.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.1186, allocations: 19.8 kB / 477.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.1186, allocations: 17.72 kB / 477.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1188, allocations: 354.8 kB / 477.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.93e-05/0.1189, allocations: 23.98 kB / 477.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.042e-05/0.1189, allocations: 23.97 kB / 478 MB, free: 6.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.1191, allocations: 56.77 kB / 478 MB, free: 6.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1191, allocations: 0 / 478 MB, free: 6.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002229/0.1193, allocations: 117.3 kB / 478.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1193, allocations: 12 kB / 478.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1193, allocations: 4.062 kB / 478.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1194, allocations: 3.984 kB / 478.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.677e-05/0.1194, allocations: 8 kB / 478.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1194, allocations: 0 / 478.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.415e-05/0.1195, allocations: 15.92 kB / 478.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.1195, allocations: 4 kB / 478.2 MB, free: 5.922 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 (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.0001892/0.1197, allocations: 209.7 kB / 478.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.1198, allocations: 39.47 kB / 478.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.1201, allocations: 145 kB / 478.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1201, allocations: 0 / 478.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1201, allocations: 288 / 478.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.1201, allocations: 7.922 kB / 478.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005406/0.1206, allocations: 474.3 kB / 479 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1206, allocations: 0 / 479 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.323e-05/0.1207, allocations: 23.97 kB / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1207, allocations: 0 / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1207, allocations: 7.875 kB / 479.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1207, allocations: 0 / 479.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1207, allocations: 0 / 479.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.121, allocations: 215 kB / 479.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/0.1211, allocations: 108.5 kB / 479.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.1211, allocations: 7.938 kB / 479.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.1212, allocations: 4 kB / 479.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.1213, allocations: 12.11 kB / 479.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1213, allocations: 4 kB / 479.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005916/0.1219, allocations: 0.6472 MB / 480.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1219, allocations: 0 / 480.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1221, allocations: 27.98 kB / 480.1 MB, free: 3.906 MB / 350.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.00101/0.1232, allocations: 405.8 kB / 480.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.1234, allocations: 51.95 kB / 480.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1234, allocations: 0 / 480.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.1235, allocations: 31.92 kB / 480.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.1238, allocations: 24.92 kB / 480.6 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009908/0.1248, allocations: 0.795 MB / 481.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.1252, allocations: 0.8335 MB / 482.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.867e-05/0.1253, allocations: 16.22 kB / 482.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.1253, allocations: 11.44 kB / 482.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1253, allocations: 0 / 482.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of Templates: time 0.004785/0.1301, allocations: 1.468 MB / 483.7 MB, free: 404 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches