Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001188, allocations: 110.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.001283/0.001283, 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.337/1.337, allocations: 222.9 MB / 242.6 MB, free: 15.39 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.1977/0.1977, allocations: 44.18 MB / 336.9 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 60.83 kB / 408.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.09853, allocations: 60.83 MB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002945/0.1015, allocations: 1.66 MB / 471 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000691/0.1022, allocations: 415.2 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.1023, allocations: 4 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.1026, allocations: 87.8 kB / 471.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.1028, allocations: 63.86 kB / 471.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.103, allocations: 83.78 kB / 471.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1032, allocations: 87.81 kB / 471.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1033, allocations: 39.84 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.983e-05/0.1034, allocations: 31.91 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.864e-05/0.1034, allocations: 63.81 kB / 471.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1035, allocations: 4 kB / 471.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.351e-05/0.1036, allocations: 43.92 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.1036, allocations: 31.84 kB / 472 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.1037, allocations: 39.75 kB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.1038, allocations: 88.09 kB / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1038, allocations: 7.922 kB / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1038, allocations: 0 / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1038, allocations: 0 / 472.1 MB, free: 12 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004632/0.1043, allocations: 426.9 kB / 472.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.1043, allocations: 8.031 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.1044, allocations: 16.75 kB / 472.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.1046, allocations: 204.5 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.1046, allocations: 4.375 kB / 472.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.1046, allocations: 8.375 kB / 472.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1048, allocations: 73.78 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1048, allocations: 0 / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1048, allocations: 0 / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1048, allocations: 4 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.1049, allocations: 39.91 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.1053, allocations: 336.6 kB / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.1055, allocations: 58.56 kB / 473.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.1055, allocations: 28.84 kB / 473.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.1056, allocations: 0 / 473.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.1056, allocations: 30.56 kB / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.244e-06/0.1056, allocations: 4 kB / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009674/0.1066, allocations: 301.1 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.1066, allocations: 55.41 kB / 473.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.1068, allocations: 235.5 kB / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.1068, allocations: 33.7 kB / 473.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.1069, allocations: 112 kB / 474 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.107, allocations: 43.36 kB / 474.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.107, allocations: 29.7 kB / 474.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1071, allocations: 326.8 kB / 474.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.72e-05/0.1072, allocations: 31.98 kB / 474.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.201e-05/0.1073, allocations: 46.72 kB / 474.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.1075, allocations: 92.77 kB / 474.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1075, allocations: 0 / 474.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002277/0.1077, allocations: 133.5 kB / 474.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1077, allocations: 8 kB / 474.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1077, allocations: 3.938 kB / 474.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1078, allocations: 4.047 kB / 474.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.1079, allocations: 31.92 kB / 474.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1079, allocations: 0 / 474.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.1079, allocations: 7.984 kB / 474.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.108, allocations: 8 kB / 474.8 MB, free: 9.082 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 (13): * Single equations (assignments): 13 * 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.0001025/0.1081, allocations: 133.8 kB / 474.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.1081, allocations: 11.91 kB / 474.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003156/0.1084, allocations: 168.7 kB / 475.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.1084, allocations: 3.938 kB / 475.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.1085, allocations: 0 / 475.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1085, allocations: 0 / 475.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005525/0.109, allocations: 479.1 kB / 475.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.109, allocations: 4.031 kB / 475.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.138e-05/0.1091, allocations: 23.98 kB / 475.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1091, allocations: 4 kB / 475.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1091, allocations: 0 / 475.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1092, allocations: 0 / 475.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.1092, allocations: 7.938 kB / 475.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.1094, allocations: 251.3 kB / 475.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.1095, allocations: 88.92 kB / 475.9 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.1095, allocations: 4 kB / 475.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.1096, allocations: 7.984 kB / 476 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.1096, allocations: 8 kB / 476 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.1097, allocations: 15.98 kB / 476 MB, free: 7.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1098, allocations: 167.2 kB / 476.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1098, allocations: 0 / 476.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1101, allocations: 24 kB / 476.2 MB, free: 7.605 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 (13): * Single equations (assignments): 13 * 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.0009716/0.111, allocations: 453.4 kB / 476.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.1113, allocations: 115.8 kB / 476.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1113, allocations: 0 / 476.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.1114, allocations: 51.92 kB / 476.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.1118, allocations: 19.92 kB / 476.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.1123, allocations: 373.5 kB / 477.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.1126, allocations: 0.7197 MB / 477.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.1126, allocations: 15.44 kB / 477.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1126, allocations: 0 / 477.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of Templates: time 0.003352/0.116, allocations: 2.01 MB / 479.9 MB, free: 3.988 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches