Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, 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.001076/0.001076, 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.341/1.341, allocations: 222.9 MB / 242.6 MB, free: 15.44 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.2127/0.2127, allocations: 44.18 MB / 336.9 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 71.92 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1032, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003138/0.1064, allocations: 1.633 MB / 471 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007485/0.1071, allocations: 403.3 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.278e-05/0.1072, allocations: 0 / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.1076, allocations: 123.7 kB / 471.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.1078, allocations: 87.75 kB / 471.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.1081, allocations: 78.61 kB / 471.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.1083, allocations: 83.86 kB / 471.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1085, allocations: 16.17 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.421e-05/0.1086, allocations: 55.75 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.1087, allocations: 79.8 kB / 471.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1087, allocations: 7.938 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.1088, allocations: 43.98 kB / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.751e-05/0.1089, allocations: 31.89 kB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.109, allocations: 35.69 kB / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.1091, allocations: 80.17 kB / 472.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1091, allocations: 0 / 472.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1091, allocations: 0 / 472.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1092, allocations: 0 / 472.1 MB, free: 11.97 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.0005267/0.1097, allocations: 434.7 kB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1097, allocations: 12.03 kB / 472.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.1098, allocations: 12.84 kB / 472.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.11, allocations: 203.9 kB / 472.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.11, allocations: 4.375 kB / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.1101, allocations: 384 / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.1102, allocations: 65.59 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1102, allocations: 3.938 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.1103, allocations: 0 / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.1103, allocations: 0 / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.938e-05/0.1104, allocations: 31.91 kB / 472.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.1108, allocations: 304.7 kB / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.1109, allocations: 38.56 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.111, allocations: 20.94 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.111, allocations: 0 / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.111, allocations: 42.5 kB / 473.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.111, allocations: 0 / 473.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000876/0.1119, allocations: 221.3 kB / 473.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.112, allocations: 51.41 kB / 473.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.1122, allocations: 278.2 kB / 473.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1122, allocations: 29.7 kB / 473.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.1123, allocations: 112.1 kB / 473.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.1123, allocations: 27.64 kB / 474 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.1124, allocations: 21.7 kB / 474 MB, free: 9.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1125, allocations: 326.8 kB / 474.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.1126, allocations: 27.98 kB / 474.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.7e-05/0.1127, allocations: 27.98 kB / 474.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1128, allocations: 60.83 kB / 474.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1128, allocations: 0 / 474.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002191/0.1131, allocations: 101.4 kB / 474.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1131, allocations: 7.984 kB / 474.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1131, allocations: 0 / 474.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1131, allocations: 0 / 474.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.162e-05/0.1132, allocations: 20 kB / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1132, allocations: 12.17 kB / 474.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.166e-05/0.1133, allocations: 8 kB / 474.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1133, allocations: 0 / 474.6 MB, free: 9.293 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 9.461e-05/0.1134, allocations: 134.4 kB / 474.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.1134, allocations: 15.81 kB / 474.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.1137, allocations: 130.9 kB / 474.8 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1137, allocations: 4 kB / 474.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1137, allocations: 3.938 kB / 474.9 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1137, allocations: 0 / 474.9 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.1142, allocations: 407.3 kB / 475.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1142, allocations: 0 / 475.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.947e-05/0.1143, allocations: 23.95 kB / 475.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.1143, allocations: 4 kB / 475.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.1143, allocations: 4 kB / 475.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1143, allocations: 0 / 475.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1144, allocations: 3.938 kB / 475.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.1146, allocations: 200.2 kB / 475.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.1147, allocations: 96.86 kB / 475.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.1147, allocations: 7.984 kB / 475.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.1148, allocations: 4 kB / 475.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.1148, allocations: 7.984 kB / 475.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.1148, allocations: 4 kB / 475.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.115, allocations: 199.2 kB / 475.8 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.115, allocations: 0 / 475.8 MB, free: 7.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1152, allocations: 16 kB / 475.8 MB, free: 7.945 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.001013/0.1163, allocations: 466 kB / 476.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.1165, allocations: 63.95 kB / 476.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1165, allocations: 4 kB / 476.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.445e-05/0.1166, allocations: 39.86 kB / 476.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.117, allocations: 20.23 kB / 476.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/0.1175, allocations: 365.1 kB / 476.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1178, allocations: 0.7158 MB / 477.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.1179, allocations: 19.44 kB / 477.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1179, allocations: 4 kB / 477.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of Templates: time 0.003711/0.1216, allocations: 1.83 MB / 479.3 MB, free: 4.551 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches