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.001044/0.001044, allocations: 106.6 kB / 17.09 MB, free: 5.965 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.001201/0.001201, allocations: 196.2 kB / 18.02 MB, free: 5.051 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.316/1.316, 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.2101/0.2101, allocations: 43.53 MB / 314.8 MB, free: 452 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.00151/0.00151, allocations: 81.39 kB / 442.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1094, allocations: 57.78 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003199/0.1126, allocations: 1.687 MB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.114, allocations: 0.8051 MB / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.956e-05/0.1141, allocations: 3.938 kB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.1144, allocations: 39.81 kB / 0.4911 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.1147, allocations: 55.7 kB / 0.4911 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.115, allocations: 91.75 kB / 0.4912 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1152, allocations: 95.7 kB / 0.4913 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1153, allocations: 12.22 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.1154, allocations: 47.77 kB / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.1155, allocations: 27.86 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1155, allocations: 0 / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1156, allocations: 47.97 kB / 0.4915 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.1157, allocations: 27.86 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.1158, allocations: 31.75 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.116, allocations: 107.7 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.116, allocations: 0 / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.116, allocations: 4 kB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.116, allocations: 0 / 0.4916 GB, free: 8.621 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.0005023/0.1165, allocations: 410.9 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1165, allocations: 15.89 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.1166, allocations: 8.844 kB / 0.492 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.1169, allocations: 223.9 kB / 0.4922 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1169, allocations: 384 / 0.4922 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.117, allocations: 8.125 kB / 0.4923 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1171, allocations: 61.66 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1171, allocations: 0 / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1171, allocations: 0 / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1172, allocations: 0 / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.144e-05/0.1172, allocations: 19.98 kB / 0.4923 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.1176, allocations: 280.9 kB / 0.4926 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.1178, allocations: 66.61 kB / 0.4927 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.416e-05/0.1179, allocations: 20.84 kB / 0.4927 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1179, allocations: 0 / 0.4927 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.118, allocations: 75.3 kB / 0.4928 GB, free: 7.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.118, allocations: 0 / 0.4928 GB, free: 7.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005078/0.1185, allocations: 169.2 kB / 0.4929 GB, free: 7.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.1186, allocations: 55.41 kB / 0.493 GB, free: 7.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.1187, allocations: 190.1 kB / 0.4932 GB, free: 6.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1188, allocations: 29.7 kB / 0.4932 GB, free: 6.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.1188, allocations: 100.1 kB / 0.4933 GB, free: 6.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.1189, allocations: 31.62 kB / 0.4933 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.1189, allocations: 21.72 kB / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.119, allocations: 326.8 kB / 0.4936 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-05/0.1191, allocations: 27.92 kB / 0.4937 GB, free: 6.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/0.1192, allocations: 37.7 kB / 0.4937 GB, free: 6.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.1193, allocations: 57.78 kB / 0.4938 GB, free: 6.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1193, allocations: 0 / 0.4938 GB, free: 6.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001769/0.1195, allocations: 101.5 kB / 0.4939 GB, free: 6.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.1195, allocations: 4 kB / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1195, allocations: 0 / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1195, allocations: 4.031 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.604e-05/0.1196, allocations: 19.98 kB / 0.4939 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1196, allocations: 0 / 0.4939 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.1197, allocations: 4 kB / 0.4939 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1197, allocations: 11.88 kB / 0.4939 GB, free: 6.051 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 9.008e-05/0.1198, allocations: 121.8 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.1198, allocations: 19.8 kB / 0.494 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.1199, allocations: 16.66 kB / 0.494 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1199, allocations: 4 kB / 0.4941 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1199, allocations: 0 / 0.4941 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.1199, allocations: 85.02 kB / 0.4941 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.12, allocations: 11.92 kB / 0.4941 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.946e-05/0.12, allocations: 4 kB / 0.4941 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.12, allocations: 0 / 0.4941 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002068/0.1202, allocations: 176.9 kB / 0.4943 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000282/0.1205, allocations: 278.6 kB / 0.4946 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.595e-05/0.1206, allocations: 23.98 kB / 0.4946 GB, free: 5.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1207, allocations: 148 kB / 0.4947 GB, free: 5.125 MB / 382.1 MB Notification: Performance of Backend: time 6.22e-07/0.1207, allocations: 0 / 0.4947 GB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.122, allocations: 486 kB / 0.4952 GB, free: 4.699 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005834/0.1226, allocations: 0.6778 MB / 0.4959 GB, free: 3.977 MB / 382.1 MB Notification: Performance of Templates: time 0.004396/0.127, allocations: 1.778 MB / 0.4976 GB, free: 2.203 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