Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001098, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001832/0.001832, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.347/1.347, allocations: 222.9 MB / 242.6 MB, free: 13.74 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.2026/0.2026, allocations: 44.18 MB / 336.9 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 68.48 kB / 408.5 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1016, allocations: 60.83 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.00284/0.1044, allocations: 1.648 MB / 471 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006892/0.1052, allocations: 411.3 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.117e-05/0.1052, allocations: 0 / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.1055, allocations: 119.8 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.1058, allocations: 75.83 kB / 471.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.1061, allocations: 99.77 kB / 471.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.1062, allocations: 91.8 kB / 471.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.46e-05/0.1063, allocations: 16.17 kB / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.124e-05/0.1064, allocations: 47.81 kB / 471.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.1065, allocations: 79.86 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1066, allocations: 4 kB / 472 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.34e-05/0.1067, allocations: 47.92 kB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.1067, allocations: 31.84 kB / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.1068, allocations: 43.61 kB / 472.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.1069, allocations: 84.19 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1069, allocations: 3.984 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1069, allocations: 0 / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.107, allocations: 0 / 472.2 MB, free: 11.93 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.0004548/0.1074, allocations: 422.8 kB / 472.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1075, allocations: 12.03 kB / 472.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.1075, allocations: 12.83 kB / 472.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.1077, allocations: 203.9 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1077, allocations: 8.375 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1077, allocations: 384 / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1079, allocations: 65.55 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1079, allocations: 0 / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1079, allocations: 0 / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1079, allocations: 7.938 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.972e-05/0.108, allocations: 31.97 kB / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.1084, allocations: 312.6 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.1085, allocations: 46.5 kB / 473.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.263e-05/0.1086, allocations: 24.94 kB / 473.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1086, allocations: 0 / 473.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1086, allocations: 34.56 kB / 473.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.1087, allocations: 0 / 473.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008598/0.1095, allocations: 237.4 kB / 473.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.1096, allocations: 51.41 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.1098, allocations: 274.2 kB / 473.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1098, allocations: 25.7 kB / 473.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.1099, allocations: 116 kB / 474 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.11, allocations: 23.66 kB / 474 MB, free: 9.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.11, allocations: 21.7 kB / 474 MB, free: 9.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1101, allocations: 334.8 kB / 474.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.309e-05/0.1102, allocations: 23.98 kB / 474.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.797e-05/0.1103, allocations: 40.03 kB / 474.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1105, allocations: 68.83 kB / 474.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1105, allocations: 0 / 474.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002166/0.1107, allocations: 113.5 kB / 474.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1107, allocations: 11.98 kB / 474.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1107, allocations: 0 / 474.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1107, allocations: 0 / 474.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.416e-05/0.1108, allocations: 19.94 kB / 474.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.1109, allocations: 7.922 kB / 474.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.089e-05/0.1109, allocations: 4 kB / 474.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.1109, allocations: 0 / 474.7 MB, free: 9.199 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 (8): * Single equations (assignments): 8 * 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.0001009/0.111, allocations: 138.3 kB / 474.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.1111, allocations: 19.8 kB / 474.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.1113, allocations: 139.3 kB / 474.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1114, allocations: 3.938 kB / 475 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.1114, allocations: 7.938 kB / 475 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1114, allocations: 3.938 kB / 475 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.1119, allocations: 423.3 kB / 475.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1119, allocations: 0 / 475.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.921e-05/0.112, allocations: 27.92 kB / 475.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.112, allocations: 0 / 475.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.112, allocations: 4 kB / 475.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.112, allocations: 0 / 475.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.112, allocations: 0 / 475.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.1123, allocations: 228.1 kB / 475.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.1123, allocations: 88.86 kB / 475.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1124, allocations: 4 kB / 475.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.1124, allocations: 4 kB / 475.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.1125, allocations: 7.984 kB / 475.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.1125, allocations: 4 kB / 475.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.1126, allocations: 199.2 kB / 475.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1127, allocations: 4 kB / 475.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.1129, allocations: 23.98 kB / 476 MB, free: 7.789 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009754/0.1139, allocations: 450.8 kB / 476.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.1141, allocations: 87.88 kB / 476.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1141, allocations: 0 / 476.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.071e-05/0.1142, allocations: 35.98 kB / 476.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1146, allocations: 19.86 kB / 476.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.1151, allocations: 377 kB / 476.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1154, allocations: 0.7236 MB / 477.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.1154, allocations: 19.44 kB / 477.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1154, allocations: 0 / 477.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of Templates: time 0.003629/0.1191, allocations: 1.891 MB / 479.5 MB, free: 4.32 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches