Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001092, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 179.3 kB / 16.91 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 223.1 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4292/0.4292, allocations: 43.57 MB / 315 MB, free: 9.047 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00052/0.0005201, allocations: 16 kB / 384.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1133, allocations: 58.86 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.001747/0.115, allocations: 1.333 MB / 444.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000581/0.1156, allocations: 335.7 kB / 445.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.1157, allocations: 3.938 kB / 445.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.1159, allocations: 47.88 kB / 445.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.116, allocations: 55.88 kB / 445.2 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.1164, allocations: 135.8 kB / 445.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.1165, allocations: 79.77 kB / 445.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.085e-05/0.1166, allocations: 28.23 kB / 445.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.344e-05/0.1167, allocations: 19.92 kB / 445.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/0.1167, allocations: 39.84 kB / 445.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1168, allocations: 0 / 445.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-05/0.1168, allocations: 31.97 kB / 445.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.235e-05/0.1169, allocations: 19.92 kB / 445.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.1169, allocations: 53.44 kB / 445.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.1171, allocations: 99.64 kB / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1171, allocations: 0 / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1171, allocations: 0 / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1171, allocations: 0 / 445.7 MB, free: 10.64 MB / 382.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.0004333/0.1175, allocations: 395.2 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1176, allocations: 8.031 kB / 446.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.1176, allocations: 12.75 kB / 446.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.1178, allocations: 196.1 kB / 446.3 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.1178, allocations: 4.375 kB / 446.3 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.1178, allocations: 4.375 kB / 446.3 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.118, allocations: 69.73 kB / 446.4 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.118, allocations: 0 / 446.4 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.118, allocations: 0 / 446.4 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.118, allocations: 4 kB / 446.4 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.1182, allocations: 51.95 kB / 446.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.1186, allocations: 304.8 kB / 446.7 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1187, allocations: 58.48 kB / 446.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.393e-05/0.1188, allocations: 28.94 kB / 446.8 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.1188, allocations: 0 / 446.8 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.1189, allocations: 34.56 kB / 446.9 MB, free: 9.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.1189, allocations: 4 kB / 446.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007573/0.1196, allocations: 269.2 kB / 447.1 MB, free: 9.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.1197, allocations: 51.41 kB / 447.2 MB, free: 9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1199, allocations: 194.2 kB / 447.4 MB, free: 8.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1199, allocations: 25.7 kB / 447.4 MB, free: 8.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.1199, allocations: 100.1 kB / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.12, allocations: 31.62 kB / 447.5 MB, free: 8.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.12, allocations: 9.719 kB / 447.5 MB, free: 8.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1201, allocations: 326.8 kB / 447.8 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1202, allocations: 47.97 kB / 447.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.1204, allocations: 51.89 kB / 447.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.1206, allocations: 108.8 kB / 448 MB, free: 8.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1206, allocations: 3.938 kB / 448 MB, free: 8.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002766/0.1209, allocations: 133.5 kB / 448.2 MB, free: 7.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1209, allocations: 4 kB / 448.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1209, allocations: 4 kB / 448.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1209, allocations: 4 kB / 448.2 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1211, allocations: 23.97 kB / 448.2 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.1211, allocations: 4 kB / 448.2 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.1211, allocations: 19.92 kB / 448.2 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1212, allocations: 3.984 kB / 448.2 MB, free: 7.879 MB / 382.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.0001036/0.1213, allocations: 129.8 kB / 448.4 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.1213, allocations: 7.906 kB / 448.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.1216, allocations: 162.2 kB / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1217, allocations: 0 / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1217, allocations: 0 / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1217, allocations: 3.938 kB / 448.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.1222, allocations: 430.4 kB / 449 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1222, allocations: 4 kB / 449 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.125e-05/0.1223, allocations: 19.98 kB / 449 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1223, allocations: 0 / 449 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.1223, allocations: 7.938 kB / 449 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1223, allocations: 0 / 449 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1223, allocations: 0 / 449 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.1227, allocations: 243.8 kB / 449.2 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.1227, allocations: 85.02 kB / 449.3 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.1228, allocations: 7.938 kB / 449.3 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/0.1228, allocations: 19.92 kB / 449.3 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.1229, allocations: 7.984 kB / 449.3 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1229, allocations: 0 / 449.3 MB, free: 6.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.77e-05/0.123, allocations: 143.9 kB / 449.5 MB, free: 6.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.123, allocations: 0 / 449.5 MB, free: 6.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.1233, allocations: 23.98 kB / 449.5 MB, free: 6.508 MB / 382.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.0009401/0.1242, allocations: 413.8 kB / 449.9 MB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000334/0.1245, allocations: 99.92 kB / 450 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1246, allocations: 4 kB / 450 MB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.1248, allocations: 59.91 kB / 450.1 MB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1251, allocations: 15.98 kB / 450.1 MB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.1256, allocations: 281.5 kB / 450.4 MB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.126, allocations: 0.7083 MB / 451.1 MB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.445e-05/0.1261, allocations: 23.97 kB / 451.1 MB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.1262, allocations: 11.44 kB / 451.1 MB, free: 4.879 MB / 382.1 MB Notification: Performance of SimCode: time 3.196e-06/0.1262, allocations: 3.938 kB / 451.1 MB, free: 4.875 MB / 382.1 MB Notification: Performance of Templates: time 0.004219/0.1304, allocations: 1.183 MB / 452.3 MB, free: 3.691 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches