Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 111.1 kB / 17.09 MB, free: 6.012 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.001252/0.001252, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.294/1.294, 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.2093/0.2093, allocations: 43.53 MB / 314.8 MB, free: 456 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.002326/0.002326, allocations: 71.89 kB / 442.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1025, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002803/0.1054, allocations: 1.691 MB / 0.4903 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1066, allocations: 0.8092 MB / 0.4911 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.482e-05/0.1066, allocations: 0 / 0.4911 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.1069, allocations: 87.69 kB / 0.4911 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.1072, allocations: 79.72 kB / 0.4912 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1074, allocations: 83.7 kB / 0.4913 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.1076, allocations: 107.7 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.44e-05/0.1077, allocations: 20.2 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.821e-05/0.1078, allocations: 55.7 kB / 0.4915 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1079, allocations: 63.81 kB / 0.4915 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.108, allocations: 4 kB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.151e-05/0.108, allocations: 39.98 kB / 0.4916 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.1081, allocations: 27.92 kB / 0.4916 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.1082, allocations: 39.67 kB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1084, allocations: 115.7 kB / 0.4918 GB, free: 8.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1084, allocations: 3.938 kB / 0.4918 GB, free: 8.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1084, allocations: 4 kB / 0.4918 GB, free: 8.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1084, allocations: 0 / 0.4918 GB, free: 8.492 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.0004618/0.1088, allocations: 434.7 kB / 0.4922 GB, free: 8.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1089, allocations: 11.89 kB / 0.4922 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.1089, allocations: 12.84 kB / 0.4922 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.1092, allocations: 208 kB / 0.4924 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1092, allocations: 384 / 0.4924 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.1092, allocations: 8.125 kB / 0.4924 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.1094, allocations: 61.66 kB / 0.4925 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1094, allocations: 3.938 kB / 0.4925 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1094, allocations: 0 / 0.4925 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1094, allocations: 0 / 0.4925 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.063e-05/0.1095, allocations: 23.98 kB / 0.4925 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.1098, allocations: 288.9 kB / 0.4928 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.11, allocations: 58.69 kB / 0.4928 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.11, allocations: 24.78 kB / 0.4928 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.11, allocations: 3.984 kB / 0.4928 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.1102, allocations: 67.39 kB / 0.4929 GB, free: 7.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.1102, allocations: 0 / 0.4929 GB, free: 7.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004844/0.1107, allocations: 173.1 kB / 0.4931 GB, free: 6.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.1107, allocations: 55.41 kB / 0.4931 GB, free: 6.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1109, allocations: 222.7 kB / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1109, allocations: 29.7 kB / 0.4934 GB, free: 6.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.111, allocations: 112.1 kB / 0.4935 GB, free: 6.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.111, allocations: 19.72 kB / 0.4935 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.1111, allocations: 25.66 kB / 0.4935 GB, free: 6.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1112, allocations: 330.8 kB / 0.4938 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.897e-05/0.1112, allocations: 20 kB / 0.4939 GB, free: 6.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-05/0.1113, allocations: 38.08 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.1114, allocations: 69.64 kB / 0.494 GB, free: 6.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1114, allocations: 4 kB / 0.494 GB, free: 6 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001849/0.1116, allocations: 105.4 kB / 0.4941 GB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1117, allocations: 4 kB / 0.4941 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.1117, allocations: 7.984 kB / 0.4941 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1117, allocations: 4.031 kB / 0.4941 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.1118, allocations: 12 kB / 0.4941 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1118, allocations: 0 / 0.4941 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.1118, allocations: 8 kB / 0.4941 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1118, allocations: 7.938 kB / 0.4941 GB, free: 5.848 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.607e-05/0.112, allocations: 133.6 kB / 0.4942 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.112, allocations: 11.91 kB / 0.4942 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.112, allocations: 21.39 kB / 0.4943 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.112, allocations: 3.938 kB / 0.4943 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.112, allocations: 4 kB / 0.4943 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.1121, allocations: 88.92 kB / 0.4944 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.1121, allocations: 7.922 kB / 0.4944 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.1122, allocations: 4 kB / 0.4944 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.1122, allocations: 4 kB / 0.4944 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002029/0.1124, allocations: 168.9 kB / 0.4945 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002358/0.1126, allocations: 286.5 kB / 0.4948 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.155e-05/0.1127, allocations: 27.98 kB / 0.4948 GB, free: 5.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1129, allocations: 167.2 kB / 0.495 GB, free: 4.883 MB / 382.1 MB Notification: Performance of Backend: time 2.2e-07/0.1129, allocations: 0 / 0.495 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.1142, allocations: 490.4 kB / 0.4955 GB, free: 4.445 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006007/0.1148, allocations: 0.7017 MB / 0.4961 GB, free: 3.699 MB / 382.1 MB Notification: Performance of Templates: time 0.004177/0.119, allocations: 1.797 MB / 0.4979 GB, free: 1.906 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches