Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 112.3 kB / 17.99 MB, free: 5.367 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.001365/0.001365, allocations: 193.3 kB / 18.9 MB, free: 4.449 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.3/1.3, allocations: 222.9 MB / 242.6 MB, free: 15.3 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.1973/0.1973, allocations: 44.18 MB / 336.9 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 65.38 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.104, allocations: 60.84 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002858/0.1069, allocations: 1.753 MB / 471.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1082, allocations: 0.8614 MB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/0.1083, allocations: 0 / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.1086, allocations: 27.91 kB / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.1088, allocations: 47.83 kB / 472.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.109, allocations: 99.75 kB / 472.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.1092, allocations: 95.7 kB / 472.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.497e-05/0.1093, allocations: 4.234 kB / 472.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.097e-05/0.1093, allocations: 51.77 kB / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/0.1094, allocations: 27.86 kB / 472.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1094, allocations: 4 kB / 472.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.724e-05/0.1095, allocations: 51.86 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.1096, allocations: 19.91 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.1096, allocations: 27.81 kB / 472.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.1098, allocations: 80.12 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1098, allocations: 0 / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1098, allocations: 0 / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1098, allocations: 0 / 472.5 MB, free: 11.55 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004672/0.1103, allocations: 407 kB / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.1103, allocations: 8.031 kB / 472.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.1104, allocations: 8.844 kB / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.1106, allocations: 208.7 kB / 473.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1106, allocations: 3.938 kB / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.1106, allocations: 4 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.1107, allocations: 53.67 kB / 473.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1108, allocations: 3.906 kB / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1108, allocations: 0 / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1108, allocations: 4 kB / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.906e-05/0.1109, allocations: 19.98 kB / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.1112, allocations: 284.9 kB / 473.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.1114, allocations: 58.62 kB / 473.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.1114, allocations: 24.84 kB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1115, allocations: 0 / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.1116, allocations: 67.39 kB / 473.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1116, allocations: 0 / 473.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004999/0.1122, allocations: 173.2 kB / 473.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.1122, allocations: 59.34 kB / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.1123, allocations: 160.5 kB / 474 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1124, allocations: 33.7 kB / 474.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.1124, allocations: 104 kB / 474.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.1125, allocations: 23.59 kB / 474.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.1125, allocations: 33.64 kB / 474.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1126, allocations: 322.8 kB / 474.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.659e-05/0.1127, allocations: 20 kB / 474.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.1128, allocations: 33.7 kB / 474.6 MB, free: 9.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1129, allocations: 61.7 kB / 474.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1129, allocations: 4 kB / 474.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001696/0.1131, allocations: 97.7 kB / 474.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1131, allocations: 4 kB / 474.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1131, allocations: 3.938 kB / 474.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1131, allocations: 7.938 kB / 474.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.1132, allocations: 15.98 kB / 474.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1132, allocations: 7.969 kB / 474.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.1133, allocations: 4 kB / 474.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1133, allocations: 4 kB / 474.8 MB, free: 9.035 MB / 350.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 8.408e-05/0.1134, allocations: 121.8 kB / 474.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.1134, allocations: 7.906 kB / 474.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.1134, allocations: 20.64 kB / 475 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1135, allocations: 4 kB / 475 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1135, allocations: 3.984 kB / 475 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1135, allocations: 0 / 475 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.1139, allocations: 391.3 kB / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1139, allocations: 0 / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.1139, allocations: 8.375 kB / 475.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1139, allocations: 0 / 475.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.114, allocations: 8 kB / 475.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.114, allocations: 0 / 475.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.114, allocations: 0 / 475.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1142, allocations: 216.1 kB / 475.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.1143, allocations: 85 kB / 475.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1143, allocations: 4 kB / 475.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.816e-05/0.1144, allocations: 0 / 475.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.1144, allocations: 11.98 kB / 475.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1144, allocations: 4 kB / 475.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.803e-05/0.1145, allocations: 126.4 kB / 475.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1145, allocations: 4 kB / 475.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1148, allocations: 24 kB / 475.8 MB, free: 7.91 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: 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.001017/0.1158, allocations: 464.1 kB / 476.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.116, allocations: 67.84 kB / 476.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.116, allocations: 0 / 476.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.047e-05/0.1161, allocations: 35.92 kB / 476.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.1165, allocations: 26.89 kB / 476.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.117, allocations: 252.7 kB / 476.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.1173, allocations: 0.6963 MB / 477.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.1173, allocations: 19.44 kB / 477.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1173, allocations: 4 kB / 477.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of Templates: time 0.003514/0.1208, allocations: 1.852 MB / 479.2 MB, free: 4.637 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches