Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 117.4 kB / 17.08 MB, free: 5.961 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.001194/0.001194, allocations: 198.9 kB / 18.02 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2156/0.2156, allocations: 43.52 MB / 314.8 MB, free: 444 kB / 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.001566/0.001566, allocations: 69.8 kB / 442.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1068, allocations: 57.8 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003252/0.1101, allocations: 1.697 MB / 0.4903 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1115, allocations: 0.8037 MB / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.1117, allocations: 3.938 kB / 0.4911 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.112, allocations: 35.83 kB / 0.4911 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.1123, allocations: 59.64 kB / 0.4911 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.1126, allocations: 87.75 kB / 0.4912 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1128, allocations: 95.7 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.818e-05/0.1129, allocations: 20.19 kB / 0.4913 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.113, allocations: 39.8 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.951e-05/0.1131, allocations: 31.86 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.1132, allocations: 4 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.1133, allocations: 39.97 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.1133, allocations: 27.92 kB / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.976e-05/0.1134, allocations: 39.67 kB / 0.4915 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.1136, allocations: 107.7 kB / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1137, allocations: 4 kB / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1137, allocations: 0 / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1137, allocations: 0 / 0.4916 GB, free: 8.605 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005851/0.1143, allocations: 411 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.73e-05/0.1143, allocations: 11.89 kB / 0.492 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/0.1144, allocations: 16.77 kB / 0.492 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.1147, allocations: 208 kB / 0.4922 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1147, allocations: 4.312 kB / 0.4922 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.1148, allocations: 12.12 kB / 0.4923 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1149, allocations: 53.67 kB / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.115, allocations: 7.984 kB / 0.4923 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.115, allocations: 0 / 0.4923 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.115, allocations: 0 / 0.4923 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.889e-05/0.1151, allocations: 19.98 kB / 0.4923 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.1155, allocations: 280.9 kB / 0.4926 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.1156, allocations: 62.62 kB / 0.4927 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.1157, allocations: 24.83 kB / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1157, allocations: 4 kB / 0.4927 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.1159, allocations: 71.3 kB / 0.4928 GB, free: 7.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1159, allocations: 0 / 0.4928 GB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005419/0.1165, allocations: 173.2 kB / 0.4929 GB, free: 7.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.1165, allocations: 51.41 kB / 0.493 GB, free: 7.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1167, allocations: 190.1 kB / 0.4932 GB, free: 6.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.1167, allocations: 25.7 kB / 0.4932 GB, free: 6.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.1168, allocations: 100.1 kB / 0.4933 GB, free: 6.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.1168, allocations: 27.64 kB / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.1169, allocations: 25.72 kB / 0.4933 GB, free: 6.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.117, allocations: 326.8 kB / 0.4936 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.218e-05/0.1171, allocations: 31.92 kB / 0.4937 GB, free: 6.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.717e-05/0.1171, allocations: 37.64 kB / 0.4937 GB, free: 6.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1173, allocations: 53.78 kB / 0.4938 GB, free: 6.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1173, allocations: 0 / 0.4938 GB, free: 6.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000194/0.1175, allocations: 105.5 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1175, allocations: 4 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1175, allocations: 4.031 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1175, allocations: 4 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.1176, allocations: 15.98 kB / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1176, allocations: 0 / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.1177, allocations: 7.938 kB / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1177, allocations: 3.938 kB / 0.4939 GB, free: 6.043 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001066/0.1178, allocations: 137.7 kB / 0.494 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.1179, allocations: 11.81 kB / 0.494 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.1179, allocations: 12.72 kB / 0.494 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1179, allocations: 4 kB / 0.4941 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1179, allocations: 4 kB / 0.4941 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.1179, allocations: 7.922 kB / 0.4941 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.1184, allocations: 387.3 kB / 0.4944 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1184, allocations: 0 / 0.4944 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.1184, allocations: 8 kB / 0.4944 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1184, allocations: 4 kB / 0.4944 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1185, allocations: 3.938 kB / 0.4944 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1185, allocations: 4.031 kB / 0.4945 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1185, allocations: 384 / 0.4945 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.1187, allocations: 208.2 kB / 0.4946 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.1188, allocations: 85.02 kB / 0.4947 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.1188, allocations: 11.94 kB / 0.4947 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.1189, allocations: 0 / 0.4947 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.1189, allocations: 15.98 kB / 0.4948 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.1189, allocations: 4 kB / 0.4948 GB, free: 5.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1191, allocations: 144 kB / 0.4949 GB, free: 4.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1191, allocations: 0 / 0.4949 GB, free: 4.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1193, allocations: 20 kB / 0.4949 GB, free: 4.883 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001066/0.1204, allocations: 465.9 kB / 0.4954 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.1206, allocations: 67.89 kB / 0.4954 GB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1206, allocations: 0 / 0.4954 GB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.366e-05/0.1207, allocations: 31.92 kB / 0.4955 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.1211, allocations: 35.98 kB / 0.4955 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.1215, allocations: 253 kB / 0.4957 GB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.1218, allocations: 0.7002 MB / 0.4964 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.1219, allocations: 15.44 kB / 0.4964 GB, free: 3.312 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1219, allocations: 0 / 0.4964 GB, free: 3.312 MB / 382.1 MB Notification: Performance of Templates: time 0.003966/0.1259, allocations: 1.917 MB / 0.4983 GB, free: 1.398 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches