Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00095/0.00095, allocations: 92.09 kB / 18 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.001095/0.001095, allocations: 181.1 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.411/1.411, allocations: 223.3 MB / 243 MB, free: 14.29 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.1942/0.1942, allocations: 44.23 MB / 338.3 MB, free: 2.406 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003529, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1132, allocations: 61.92 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002002/0.1152, allocations: 1.349 MB / 474.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007655/0.116, allocations: 411.3 kB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.468e-05/0.1161, allocations: 0 / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.1163, allocations: 47.81 kB / 474.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.1165, allocations: 39.89 kB / 474.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.1168, allocations: 119.3 kB / 474.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.117, allocations: 71.75 kB / 474.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.364e-05/0.1171, allocations: 15.98 kB / 475 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.105e-05/0.1172, allocations: 31.86 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.971e-05/0.1173, allocations: 39.83 kB / 475 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1173, allocations: 0 / 475 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1174, allocations: 43.98 kB / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.865e-05/0.1175, allocations: 15.92 kB / 475.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.1175, allocations: 57.44 kB / 475.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.1177, allocations: 71.89 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1177, allocations: 0 / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1177, allocations: 0 / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1177, allocations: 0 / 475.2 MB, free: 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004719/0.1182, allocations: 395.5 kB / 475.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1182, allocations: 15.97 kB / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.1183, allocations: 16.69 kB / 475.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.1185, allocations: 188.2 kB / 475.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1185, allocations: 384 / 475.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1185, allocations: 4.375 kB / 475.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.1187, allocations: 77.73 kB / 475.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.1187, allocations: 4 kB / 475.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1187, allocations: 0 / 475.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1188, allocations: 0 / 475.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.1189, allocations: 43.97 kB / 475.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.1193, allocations: 308.6 kB / 476.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.1195, allocations: 54.56 kB / 476.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.669e-05/0.1196, allocations: 36.95 kB / 476.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1197, allocations: 0 / 476.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.1197, allocations: 42.59 kB / 476.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.1197, allocations: 0 / 476.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001523/0.1212, allocations: 457.3 kB / 476.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.1213, allocations: 55.34 kB / 476.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1214, allocations: 168.6 kB / 477 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1214, allocations: 25.7 kB / 477.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.1215, allocations: 100 kB / 477.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.1215, allocations: 31.56 kB / 477.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.1216, allocations: 21.7 kB / 477.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1217, allocations: 326.8 kB / 477.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.1218, allocations: 47.91 kB / 477.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.122, allocations: 56.02 kB / 477.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.1223, allocations: 120.8 kB / 477.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1223, allocations: 0 / 477.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003304/0.1226, allocations: 157.4 kB / 477.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1226, allocations: 8 kB / 477.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1227, allocations: 3.984 kB / 477.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1227, allocations: 0 / 477.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1228, allocations: 35.92 kB / 478 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1228, allocations: 0 / 478 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.711e-05/0.1229, allocations: 15.92 kB / 478 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.1229, allocations: 8 kB / 478 MB, free: 8.008 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.937e-05/0.123, allocations: 130.2 kB / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.123, allocations: 7.906 kB / 478.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/0.1234, allocations: 174.3 kB / 478.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1235, allocations: 3.938 kB / 478.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1235, allocations: 0 / 478.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1235, allocations: 0 / 478.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00066/0.1241, allocations: 491.8 kB / 478.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1242, allocations: 0 / 478.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.1243, allocations: 43.97 kB / 478.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1243, allocations: 4 kB / 478.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.1243, allocations: 0 / 478.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1243, allocations: 0 / 478.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1243, allocations: 4 kB / 478.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.1247, allocations: 261.1 kB / 479.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.1248, allocations: 89 kB / 479.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.1248, allocations: 4 kB / 479.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1249, allocations: 19.98 kB / 479.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.1249, allocations: 15.91 kB / 479.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.125, allocations: 4 kB / 479.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.535e-05/0.1251, allocations: 125.7 kB / 479.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1251, allocations: 0 / 479.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.1253, allocations: 28 kB / 479.3 MB, free: 6.516 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.001053/0.1264, allocations: 470.3 kB / 479.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003337/0.1267, allocations: 127.9 kB / 479.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1268, allocations: 0 / 479.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.1269, allocations: 68.03 kB / 480 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.1273, allocations: 19.92 kB / 480 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.1278, allocations: 312.8 kB / 480.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.128, allocations: 0.7121 MB / 481 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.1281, allocations: 15.44 kB / 481.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1281, allocations: 0 / 481.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of Templates: time 0.003618/0.1317, allocations: 1.811 MB / 482.9 MB, free: 3.121 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches