Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001081/0.001081, 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.327/1.327, allocations: 222.9 MB / 243 MB, free: 15.08 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.1979/0.1979, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 60.47 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1072, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003288/0.1105, allocations: 1.645 MB / 472.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008212/0.1113, allocations: 447.1 kB / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.3e-05/0.1114, allocations: 0 / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.1117, allocations: 51.8 kB / 472.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.112, allocations: 47.78 kB / 472.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.1124, allocations: 178.9 kB / 473.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1126, allocations: 71.83 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1127, allocations: 27.92 kB / 473.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.435e-05/0.1128, allocations: 39.83 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.88e-05/0.1129, allocations: 35.84 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.1129, allocations: 4 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.1131, allocations: 51.91 kB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.35e-05/0.1132, allocations: 27.92 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.1132, allocations: 31.81 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.1135, allocations: 99.69 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.1135, allocations: 4 kB / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1135, allocations: 0 / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.1135, allocations: 0 / 473.4 MB, free: 10.92 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.0005579/0.1141, allocations: 407 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1141, allocations: 8.031 kB / 473.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.1142, allocations: 12.75 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.1144, allocations: 192.2 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1144, allocations: 4.359 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.1145, allocations: 4.375 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.1147, allocations: 73.73 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1147, allocations: 0 / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1147, allocations: 0 / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1147, allocations: 0 / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.1149, allocations: 47.95 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.1154, allocations: 316.7 kB / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.1156, allocations: 58.58 kB / 474.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.669e-05/0.1157, allocations: 28.97 kB / 474.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.1158, allocations: 3.984 kB / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.1158, allocations: 42.55 kB / 474.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1158, allocations: 0 / 474.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001436/0.1172, allocations: 409.2 kB / 475 MB, free: 9.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.1173, allocations: 59.28 kB / 475.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1174, allocations: 173.8 kB / 475.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1175, allocations: 25.7 kB / 475.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.1175, allocations: 100 kB / 475.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.1176, allocations: 43.33 kB / 475.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.1176, allocations: 29.7 kB / 475.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.1177, allocations: 322.8 kB / 475.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.1178, allocations: 51.91 kB / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.118, allocations: 55.95 kB / 475.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.1182, allocations: 129 kB / 476 MB, free: 8.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1182, allocations: 0 / 476 MB, free: 8.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003009/0.1185, allocations: 161.4 kB / 476.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1186, allocations: 12 kB / 476.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.1186, allocations: 7.922 kB / 476.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1186, allocations: 0 / 476.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1187, allocations: 23.98 kB / 476.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1187, allocations: 0 / 476.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.571e-05/0.1188, allocations: 15.98 kB / 476.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1188, allocations: 0 / 476.2 MB, free: 7.938 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.64e-05/0.1189, allocations: 133.8 kB / 476.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.1189, allocations: 7.906 kB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003891/0.1193, allocations: 194.2 kB / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1193, allocations: 0 / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1194, allocations: 0 / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1194, allocations: 3.938 kB / 476.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006539/0.12, allocations: 0.4999 MB / 477 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.12, allocations: 0 / 477 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.688e-05/0.1201, allocations: 23.98 kB / 477.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1201, allocations: 0 / 477.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1202, allocations: 4 kB / 477.1 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1202, allocations: 0 / 477.1 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1202, allocations: 8.25 kB / 477.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.1205, allocations: 265 kB / 477.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.1206, allocations: 85.02 kB / 477.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1206, allocations: 11.98 kB / 477.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.578e-05/0.1207, allocations: 12 kB / 477.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.1208, allocations: 11.98 kB / 477.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1208, allocations: 4 kB / 477.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.026e-05/0.1209, allocations: 136.8 kB / 477.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1209, allocations: 0 / 477.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1212, allocations: 27.98 kB / 477.6 MB, free: 6.41 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.001019/0.1222, allocations: 459.5 kB / 478.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003296/0.1225, allocations: 127.9 kB / 478.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1225, allocations: 4 kB / 478.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.1227, allocations: 67.89 kB / 478.3 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1231, allocations: 27.16 kB / 478.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005367/0.1236, allocations: 287.8 kB / 478.6 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1239, allocations: 0.712 MB / 479.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.124, allocations: 28.52 kB / 479.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.1241, allocations: 19.42 kB / 479.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1241, allocations: 4 kB / 479.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of Templates: time 0.004296/0.1284, allocations: 1.59 MB / 480.9 MB, free: 3.234 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches