Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001144/0.001144, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.373/1.373, allocations: 222.9 MB / 242.9 MB, free: 15.2 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.2214/0.2214, allocations: 44.18 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 64.28 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1071, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003491/0.1107, allocations: 1.611 MB / 471.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.1123, allocations: 1.058 MB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.919e-05/0.1125, allocations: 4 kB / 472.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.1127, allocations: 27.84 kB / 472.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.113, allocations: 39.78 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005216/0.1136, allocations: 170.7 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.1137, allocations: 67.84 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.1139, allocations: 23.92 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.928e-05/0.114, allocations: 27.91 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.1141, allocations: 27.86 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.1141, allocations: 4 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1143, allocations: 55.95 kB / 473 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.1144, allocations: 19.94 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.1144, allocations: 23.86 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.1147, allocations: 99.97 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1147, allocations: 0 / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.1147, allocations: 0 / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1147, allocations: 3.938 kB / 473.2 MB, free: 11.11 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.0005489/0.1153, allocations: 387.2 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1153, allocations: 11.97 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.1154, allocations: 8.844 kB / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1156, allocations: 194.8 kB / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1156, allocations: 384 / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.1156, allocations: 4.375 kB / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.1159, allocations: 79.45 kB / 473.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1159, allocations: 0 / 473.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1159, allocations: 4 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1159, allocations: 0 / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.1161, allocations: 43.95 kB / 473.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.1166, allocations: 304.7 kB / 474.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.1167, allocations: 50.5 kB / 474.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.551e-05/0.1168, allocations: 32.92 kB / 474.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.1168, allocations: 4 kB / 474.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1169, allocations: 34.56 kB / 474.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.1169, allocations: 0 / 474.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008428/0.1177, allocations: 225.1 kB / 474.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.1178, allocations: 81.05 kB / 474.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.118, allocations: 137.8 kB / 474.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.118, allocations: 25.7 kB / 474.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.1181, allocations: 96.12 kB / 474.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.1181, allocations: 23.66 kB / 474.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.1182, allocations: 21.78 kB / 474.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1183, allocations: 326.8 kB / 475.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.1185, allocations: 39.94 kB / 475.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.1186, allocations: 53.69 kB / 475.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.1189, allocations: 89.02 kB / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1189, allocations: 7.969 kB / 475.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003013/0.1192, allocations: 121.5 kB / 475.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1192, allocations: 4 kB / 475.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1192, allocations: 0 / 475.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1192, allocations: 4 kB / 475.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.1194, allocations: 15.98 kB / 475.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1194, allocations: 0 / 475.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.628e-05/0.1195, allocations: 19.92 kB / 475.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1195, allocations: 0 / 475.6 MB, free: 8.473 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 (7): * Single equations (assignments): 7 * 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.0001037/0.1196, allocations: 117.8 kB / 475.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.1196, allocations: 7.906 kB / 475.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.12, allocations: 141.9 kB / 475.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.12, allocations: 4 kB / 475.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.12, allocations: 0 / 475.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.1201, allocations: 3.938 kB / 475.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.1206, allocations: 406.4 kB / 476.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1207, allocations: 4 kB / 476.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.535e-05/0.1208, allocations: 15.98 kB / 476.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.1208, allocations: 4 kB / 476.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1208, allocations: 7.938 kB / 476.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1208, allocations: 0 / 476.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1208, allocations: 0 / 476.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.1212, allocations: 219.4 kB / 476.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.1212, allocations: 85.02 kB / 476.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.1212, allocations: 7.938 kB / 476.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.1213, allocations: 19.86 kB / 476.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.1214, allocations: 7.984 kB / 476.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.1214, allocations: 0 / 476.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.41e-05/0.1215, allocations: 105.9 kB / 476.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1215, allocations: 0 / 476.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.1218, allocations: 24 kB / 476.7 MB, free: 7.211 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 (7): * Single equations (assignments): 7 * 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.001086/0.1229, allocations: 446.8 kB / 477.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003557/0.1233, allocations: 103.8 kB / 477.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1233, allocations: 4 kB / 477.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.1234, allocations: 43.97 kB / 477.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.1238, allocations: 15.98 kB / 477.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.1243, allocations: 224 kB / 477.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.1246, allocations: 0.6963 MB / 478.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.1247, allocations: 27.36 kB / 478.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1247, allocations: 0 / 478.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of Templates: time 0.003766/0.1285, allocations: 1.814 MB / 480.1 MB, free: 3.969 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches