Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, 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.001385/0.001385, allocations: 193.3 kB / 18.9 MB, free: 4.48 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.291/1.291, allocations: 222.9 MB / 242.6 MB, free: 15.43 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.2013/0.2013, allocations: 44.17 MB / 336.9 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001232, allocations: 67.83 kB / 408.5 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.103, allocations: 60.83 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002828/0.1058, allocations: 1.618 MB / 471 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006742/0.1065, allocations: 399.3 kB / 471.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.1066, allocations: 0 / 471.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.1068, allocations: 15.94 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.107, allocations: 35.91 kB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1074, allocations: 83.83 kB / 471.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.1075, allocations: 55.78 kB / 471.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1076, allocations: 12 kB / 471.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.894e-05/0.1077, allocations: 19.92 kB / 471.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.1077, allocations: 19.86 kB / 471.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1078, allocations: 4 kB / 471.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.268e-05/0.1079, allocations: 27.98 kB / 471.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.171e-05/0.1079, allocations: 19.92 kB / 471.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.108, allocations: 15.88 kB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.1081, allocations: 51.92 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1081, allocations: 3.938 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1081, allocations: 0 / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1081, allocations: 4 kB / 471.7 MB, free: 12.33 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004465/0.1086, allocations: 374.4 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1086, allocations: 12.03 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.1087, allocations: 12.78 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.1089, allocations: 184.2 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1089, allocations: 8.375 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.1089, allocations: 4.375 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.109, allocations: 49.81 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1091, allocations: 3.906 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1091, allocations: 0 / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1091, allocations: 0 / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.724e-05/0.1092, allocations: 27.91 kB / 472.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.1095, allocations: 272.9 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.1097, allocations: 42.55 kB / 472.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.1098, allocations: 20.8 kB / 472.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1098, allocations: 0 / 472.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1099, allocations: 30.56 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1099, allocations: 4 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005252/0.1104, allocations: 133.4 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.1104, allocations: 55.41 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.1106, allocations: 146 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.1106, allocations: 25.7 kB / 473.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.1106, allocations: 92.14 kB / 473.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.1107, allocations: 19.8 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.1107, allocations: 13.72 kB / 473.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1108, allocations: 322.8 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.1109, allocations: 15.98 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.527e-05/0.111, allocations: 19.98 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.1111, allocations: 44.83 kB / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1111, allocations: 4 kB / 473.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000178/0.1113, allocations: 89.7 kB / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1113, allocations: 4 kB / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.1113, allocations: 0 / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1113, allocations: 7.922 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.68e-05/0.1114, allocations: 8 kB / 473.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1114, allocations: 4 kB / 473.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.558e-05/0.1114, allocations: 3.984 kB / 473.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.1115, allocations: 8.281 kB / 473.8 MB, free: 10.09 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 (5): * Single equations (assignments): 5 * 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 7.65e-05/0.1115, allocations: 122.2 kB / 473.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.1116, allocations: 7.906 kB / 473.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.1118, allocations: 93.89 kB / 474 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1118, allocations: 4 kB / 474 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1118, allocations: 0 / 474 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1118, allocations: 0 / 474 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003727/0.1122, allocations: 342.5 kB / 474.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1122, allocations: 11.92 kB / 474.3 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.032e-05/0.1123, allocations: 8 kB / 474.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1123, allocations: 3.938 kB / 474.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.1123, allocations: 0 / 474.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1123, allocations: 3.938 kB / 474.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1123, allocations: 4 kB / 474.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.1125, allocations: 175.4 kB / 474.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.1126, allocations: 85.02 kB / 474.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.1126, allocations: 256 / 474.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.1127, allocations: 15.92 kB / 474.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.1127, allocations: 4 kB / 474.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.1127, allocations: 4 kB / 474.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.957e-05/0.1128, allocations: 114.1 kB / 474.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1128, allocations: 4 kB / 474.8 MB, free: 9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.113, allocations: 12 kB / 474.8 MB, free: 8.988 MB / 350.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 (5): * Single equations (assignments): 5 * 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.0008638/0.1139, allocations: 397.1 kB / 475.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1141, allocations: 47.91 kB / 475.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1141, allocations: 0 / 475.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.036e-05/0.1142, allocations: 27.98 kB / 475.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.1145, allocations: 15.98 kB / 475.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.1149, allocations: 219 kB / 475.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.1152, allocations: 0.6924 MB / 476.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.1152, allocations: 15.44 kB / 476.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1152, allocations: 0 / 476.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of Templates: time 0.002784/0.118, allocations: 1.354 MB / 477.5 MB, free: 6.328 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches