Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 118.5 kB / 17.08 MB, free: 5.992 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.001107/0.001107, allocations: 196.2 kB / 18.01 MB, free: 5.07 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.26/1.26, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1876/0.1876, allocations: 43.52 MB / 314.8 MB, free: 464 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.001333/0.001333, allocations: 65.47 kB / 442.5 MB, free: 5.582 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.09548, allocations: 57.8 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003048/0.09857, allocations: 1.686 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.09986, allocations: 0.8078 MB / 0.491 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.499e-05/0.09995, allocations: 0 / 0.491 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.1003, allocations: 103.7 kB / 0.4911 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.1006, allocations: 91.64 kB / 0.4912 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.1009, allocations: 87.7 kB / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.1011, allocations: 119.7 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.1012, allocations: 12.2 kB / 0.4914 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.1013, allocations: 59.77 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1014, allocations: 67.8 kB / 0.4916 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.1014, allocations: 4 kB / 0.4916 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1016, allocations: 51.92 kB / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.1016, allocations: 31.84 kB / 0.4916 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.59e-05/0.1017, allocations: 47.67 kB / 0.4917 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1019, allocations: 131.6 kB / 0.4918 GB, free: 8.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1019, allocations: 0 / 0.4918 GB, free: 8.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1019, allocations: 0 / 0.4918 GB, free: 8.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1019, allocations: 0 / 0.4918 GB, free: 8.402 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000582/0.1025, allocations: 442.1 kB / 0.4922 GB, free: 7.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1026, allocations: 15.89 kB / 0.4923 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.1026, allocations: 12.84 kB / 0.4923 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.103, allocations: 227.8 kB / 0.4925 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.103, allocations: 384 / 0.4925 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.103, allocations: 16.11 kB / 0.4925 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.1032, allocations: 57.67 kB / 0.4926 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.1033, allocations: 0 / 0.4926 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.1033, allocations: 0 / 0.4926 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1033, allocations: 3.938 kB / 0.4926 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.812e-05/0.1034, allocations: 35.95 kB / 0.4926 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.1039, allocations: 316.6 kB / 0.4929 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.1041, allocations: 70.67 kB / 0.493 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.081e-05/0.1042, allocations: 20.86 kB / 0.493 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.1042, allocations: 0 / 0.493 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.1044, allocations: 79.31 kB / 0.4931 GB, free: 6.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.1044, allocations: 0 / 0.4931 GB, free: 6.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006002/0.105, allocations: 201.1 kB / 0.4933 GB, free: 6.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.1051, allocations: 51.41 kB / 0.4933 GB, free: 6.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.1053, allocations: 250.5 kB / 0.4935 GB, free: 6.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1053, allocations: 25.7 kB / 0.4936 GB, free: 6.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.1054, allocations: 112.2 kB / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.1055, allocations: 39.53 kB / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.1055, allocations: 25.72 kB / 0.4937 GB, free: 6.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1057, allocations: 326.8 kB / 0.494 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.1057, allocations: 24.08 kB / 0.4941 GB, free: 5.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.527e-05/0.1058, allocations: 45.64 kB / 0.4941 GB, free: 5.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.106, allocations: 69.64 kB / 0.4942 GB, free: 5.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.106, allocations: 4 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002095/0.1062, allocations: 117.4 kB / 0.4943 GB, free: 5.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1062, allocations: 8 kB / 0.4943 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1062, allocations: 0 / 0.4943 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1063, allocations: 0 / 0.4943 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.407e-05/0.1064, allocations: 16 kB / 0.4943 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1064, allocations: 7.922 kB / 0.4943 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.1064, allocations: 7.938 kB / 0.4943 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1064, allocations: 4 kB / 0.4943 GB, free: 5.582 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 (11): * Single equations (assignments): 11 * 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.0001147/0.1066, allocations: 141.8 kB / 0.4945 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.1066, allocations: 15.84 kB / 0.4945 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.1066, allocations: 21.39 kB / 0.4945 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1067, allocations: 4 kB / 0.4945 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1067, allocations: 0 / 0.4945 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1067, allocations: 3.938 kB / 0.4945 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.1071, allocations: 419.2 kB / 0.4949 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1072, allocations: 8.031 kB / 0.4949 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.825e-05/0.1072, allocations: 11.98 kB / 0.4949 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1072, allocations: 0 / 0.4949 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1072, allocations: 7.938 kB / 0.4949 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1072, allocations: 0 / 0.4949 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1072, allocations: 0 / 0.4949 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.1075, allocations: 220.2 kB / 0.4951 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.1076, allocations: 93 kB / 0.4952 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.1076, allocations: 11.92 kB / 0.4952 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.1077, allocations: 0 / 0.4952 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.1078, allocations: 15.92 kB / 0.4953 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.1078, allocations: 4 kB / 0.4953 GB, free: 4.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.1079, allocations: 188.2 kB / 0.4954 GB, free: 4.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1079, allocations: 0 / 0.4954 GB, free: 4.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1082, allocations: 28 kB / 0.4955 GB, free: 4.305 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 (9): * Single equations (assignments): 7 * 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.001009/0.1092, allocations: 461.9 kB / 0.4959 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.1094, allocations: 67.92 kB / 0.496 GB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1095, allocations: 0 / 0.496 GB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.143e-05/0.1095, allocations: 43.98 kB / 0.496 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1099, allocations: 39.84 kB / 0.4961 GB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.1104, allocations: 305.7 kB / 0.4964 GB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.1107, allocations: 0.7158 MB / 0.4971 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.1107, allocations: 27.36 kB / 0.4971 GB, free: 2.645 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1108, allocations: 4.062 kB / 0.4971 GB, free: 2.641 MB / 382.1 MB Notification: Performance of Templates: time 0.003957/0.1147, allocations: 2.132 MB / 0.4992 GB, free: 0.5156 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches