Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 113.2 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.001238/0.001238, allocations: 194.9 kB / 18.02 MB, free: 5.047 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.356/1.356, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.2053/0.2053, allocations: 43.52 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.001546/0.001546, allocations: 73.45 kB / 442.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1054, allocations: 57.78 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002901/0.1084, allocations: 1.698 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1098, allocations: 0.8053 MB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.11, allocations: 0 / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.1105, allocations: 39.77 kB / 0.4911 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.1108, allocations: 55.75 kB / 0.4912 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.1112, allocations: 91.77 kB / 0.4912 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.1115, allocations: 95.69 kB / 0.4913 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.1116, allocations: 20.2 kB / 0.4913 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1118, allocations: 39.78 kB / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1119, allocations: 31.8 kB / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.1119, allocations: 4 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.1121, allocations: 47.97 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.471e-05/0.1122, allocations: 23.92 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.1122, allocations: 35.75 kB / 0.4915 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.1125, allocations: 107.7 kB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1125, allocations: 0 / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1125, allocations: 0 / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1125, allocations: 0 / 0.4916 GB, free: 8.617 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.0005557/0.1131, allocations: 422.8 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1131, allocations: 11.89 kB / 0.492 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.1132, allocations: 8.844 kB / 0.492 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.1135, allocations: 224.6 kB / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1135, allocations: 8.375 kB / 0.4923 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1135, allocations: 4.125 kB / 0.4923 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1137, allocations: 53.67 kB / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1137, allocations: 0 / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1137, allocations: 7.984 kB / 0.4923 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1137, allocations: 0 / 0.4923 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.665e-05/0.1138, allocations: 19.92 kB / 0.4924 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.1142, allocations: 284.9 kB / 0.4926 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1144, allocations: 62.67 kB / 0.4927 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.1144, allocations: 20.84 kB / 0.4927 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1144, allocations: 0 / 0.4927 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.1146, allocations: 75.33 kB / 0.4928 GB, free: 7.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1146, allocations: 4 kB / 0.4928 GB, free: 7.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005207/0.1151, allocations: 177.1 kB / 0.4929 GB, free: 7.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.1152, allocations: 55.41 kB / 0.493 GB, free: 7.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1154, allocations: 191.3 kB / 0.4932 GB, free: 6.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1154, allocations: 29.7 kB / 0.4932 GB, free: 6.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.1154, allocations: 108 kB / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.1155, allocations: 19.75 kB / 0.4933 GB, free: 6.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.1155, allocations: 29.64 kB / 0.4934 GB, free: 6.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1156, allocations: 334.8 kB / 0.4937 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.665e-05/0.1157, allocations: 12 kB / 0.4937 GB, free: 6.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.328e-05/0.1158, allocations: 37.7 kB / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1159, allocations: 61.64 kB / 0.4938 GB, free: 6.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1159, allocations: 0 / 0.4938 GB, free: 6.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001779/0.1161, allocations: 105.4 kB / 0.4939 GB, free: 6.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1161, allocations: 4 kB / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1161, allocations: 0 / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1161, allocations: 3.984 kB / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.665e-05/0.1162, allocations: 16 kB / 0.4939 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1163, allocations: 0 / 0.4939 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/0.1163, allocations: 8 kB / 0.4939 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1163, allocations: 3.938 kB / 0.4939 GB, free: 6.027 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.0001013/0.1164, allocations: 133.8 kB / 0.4941 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.1165, allocations: 11.94 kB / 0.4941 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.1165, allocations: 17.58 kB / 0.4941 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1165, allocations: 4 kB / 0.4941 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1165, allocations: 3.938 kB / 0.4941 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.1166, allocations: 84.92 kB / 0.4942 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.1166, allocations: 7.938 kB / 0.4942 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.392e-05/0.1167, allocations: 3.984 kB / 0.4942 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.1167, allocations: 11.94 kB / 0.4942 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000224/0.1169, allocations: 168.9 kB / 0.4944 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002544/0.1172, allocations: 286.8 kB / 0.4946 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.95e-05/0.1173, allocations: 27.92 kB / 0.4947 GB, free: 5.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.1174, allocations: 156.9 kB / 0.4948 GB, free: 5.07 MB / 382.1 MB Notification: Performance of Backend: time 3.8e-07/0.1174, allocations: 0 / 0.4948 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.1188, allocations: 487.2 kB / 0.4953 GB, free: 4.637 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006772/0.1195, allocations: 0.6828 MB / 0.4959 GB, free: 3.906 MB / 382.1 MB Notification: Performance of Templates: time 0.004541/0.124, allocations: 1.77 MB / 0.4977 GB, free: 2.141 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches