Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 110.3 kB / 17.09 MB, free: 5.953 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.001368/0.001368, allocations: 200.2 kB / 18.03 MB, free: 5.035 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.286/1.286, allocations: 205.1 MB / 223.9 MB, free: 12.28 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.223/0.223, allocations: 43.53 MB / 314.8 MB, free: 460 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.001473/0.001473, allocations: 81.45 kB / 442.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09893/0.1004, allocations: 57.78 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002976/0.1034, allocations: 1.698 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1047, allocations: 0.8208 MB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.128e-05/0.1048, allocations: 0 / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.1051, allocations: 111.7 kB / 0.4912 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.1054, allocations: 79.66 kB / 0.4913 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.1057, allocations: 95.75 kB / 0.4914 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.1059, allocations: 115.7 kB / 0.4915 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.106, allocations: 23.91 kB / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1061, allocations: 55.81 kB / 0.4916 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.1062, allocations: 75.69 kB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.1063, allocations: 4 kB / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1064, allocations: 47.98 kB / 0.4917 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.1064, allocations: 27.91 kB / 0.4917 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.13e-05/0.1065, allocations: 47.66 kB / 0.4917 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.1067, allocations: 139.4 kB / 0.4919 GB, free: 8.375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1068, allocations: 0 / 0.4919 GB, free: 8.375 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1068, allocations: 0 / 0.4919 GB, free: 8.375 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.351e-06/0.1068, allocations: 0 / 0.4919 GB, free: 8.375 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005272/0.1073, allocations: 450.4 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1073, allocations: 15.89 kB / 0.4923 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.1074, allocations: 16.84 kB / 0.4923 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.1077, allocations: 227.9 kB / 0.4926 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1077, allocations: 4.375 kB / 0.4926 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.1077, allocations: 8.109 kB / 0.4926 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1079, allocations: 73.55 kB / 0.4926 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1079, allocations: 0 / 0.4926 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1079, allocations: 0 / 0.4926 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1079, allocations: 4 kB / 0.4926 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.204e-05/0.108, allocations: 31.97 kB / 0.4927 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.1084, allocations: 316.8 kB / 0.493 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1086, allocations: 78.77 kB / 0.493 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.287e-05/0.1087, allocations: 28.84 kB / 0.4931 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1087, allocations: 4 kB / 0.4931 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.1089, allocations: 75.33 kB / 0.4932 GB, free: 6.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.1089, allocations: 3.938 kB / 0.4932 GB, free: 6.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006025/0.1095, allocations: 233.2 kB / 0.4934 GB, free: 6.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1095, allocations: 59.34 kB / 0.4934 GB, free: 6.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.1098, allocations: 250.5 kB / 0.4937 GB, free: 6.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1098, allocations: 29.7 kB / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.1099, allocations: 112.1 kB / 0.4938 GB, free: 6.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.1099, allocations: 43.69 kB / 0.4939 GB, free: 6.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.11, allocations: 21.72 kB / 0.4939 GB, free: 6.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1101, allocations: 330.8 kB / 0.4942 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.1102, allocations: 28 kB / 0.4942 GB, free: 5.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.098e-05/0.1102, allocations: 53.69 kB / 0.4943 GB, free: 5.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1104, allocations: 81.77 kB / 0.4943 GB, free: 5.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1104, allocations: 0 / 0.4943 GB, free: 5.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000228/0.1106, allocations: 137.5 kB / 0.4945 GB, free: 5.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1107, allocations: 4 kB / 0.4945 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1107, allocations: 4 kB / 0.4945 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1107, allocations: 0 / 0.4945 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1108, allocations: 23.92 kB / 0.4945 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1108, allocations: 4 kB / 0.4945 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.888e-05/0.1109, allocations: 7.922 kB / 0.4945 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1109, allocations: 4 kB / 0.4945 GB, free: 5.422 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 (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.0001064/0.111, allocations: 145.8 kB / 0.4947 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.111, allocations: 15.91 kB / 0.4947 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.189e-05/0.1111, allocations: 17.41 kB / 0.4947 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1111, allocations: 7.922 kB / 0.4947 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1111, allocations: 0 / 0.4947 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.1112, allocations: 92.95 kB / 0.4948 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.1112, allocations: 4 kB / 0.4948 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.37e-05/0.1112, allocations: 4 kB / 0.4948 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.1113, allocations: 11.98 kB / 0.4948 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002554/0.1115, allocations: 200.9 kB / 0.495 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000302/0.1119, allocations: 302.6 kB / 0.4953 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.869e-05/0.1119, allocations: 35.98 kB / 0.4953 GB, free: 4.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.1121, allocations: 192.2 kB / 0.4955 GB, free: 4.359 MB / 382.1 MB Notification: Performance of Backend: time 3.91e-07/0.1121, allocations: 0 / 0.4955 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.1135, allocations: 0.5176 MB / 0.496 GB, free: 3.891 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006621/0.1142, allocations: 0.7262 MB / 0.4967 GB, free: 3.117 MB / 382.1 MB Notification: Performance of Templates: time 0.004683/0.1189, allocations: 1.97 MB / 0.4986 GB, free: 1.152 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches