Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001347/0.001347, allocations: 177.4 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.4 MB / 222.5 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007722/0.0007722, allocations: 86.31 kB / 270.9 MB, free: 8.336 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3047/0.3047, allocations: 43.56 MB / 362.7 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003358, allocations: 12 kB / 431.4 MB, free: 6.129 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1007, allocations: 58.85 MB / 490.3 MB, free: 11.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002209/0.1029, allocations: 1.916 MB / 492.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.1046, allocations: 1.12 MB / 493.3 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1047, allocations: 7.938 kB / 493.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.1052, allocations: 271.3 kB / 493.6 MB, free: 7.859 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004238/0.1057, allocations: 227.1 kB / 493.8 MB, free: 7.637 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/0.1064, allocations: 307.4 kB / 494.1 MB, free: 7.336 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004261/0.1068, allocations: 442.5 kB / 494.5 MB, free: 6.902 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.107, allocations: 49.06 kB / 494.6 MB, free: 6.848 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.1072, allocations: 207.1 kB / 494.8 MB, free: 6.645 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.1075, allocations: 227.1 kB / 495 MB, free: 6.422 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.1075, allocations: 8 kB / 495 MB, free: 6.414 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.1076, allocations: 43.98 kB / 495 MB, free: 6.371 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1077, allocations: 99.56 kB / 495.1 MB, free: 6.273 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.473e-05/0.1078, allocations: 85.45 kB / 495.2 MB, free: 6.184 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.1081, allocations: 283.6 kB / 495.5 MB, free: 5.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1082, allocations: 0 / 495.5 MB, free: 5.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1082, allocations: 0 / 495.5 MB, free: 5.906 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1082, allocations: 0 / 495.5 MB, free: 5.906 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001009/0.1092, allocations: 0.7048 MB / 496.2 MB, free: 5.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1092, allocations: 8.031 kB / 496.2 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.416e-05/0.1093, allocations: 51.34 kB / 496.3 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.1098, allocations: 383.1 kB / 496.6 MB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.1098, allocations: 8 kB / 496.6 MB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.1099, allocations: 23.92 kB / 496.7 MB, free: 4.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.1102, allocations: 205.8 kB / 496.9 MB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1102, allocations: 0 / 496.9 MB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.1103, allocations: 7.984 kB / 496.9 MB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1103, allocations: 7.953 kB / 496.9 MB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.1105, allocations: 99.88 kB / 497 MB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008181/0.1114, allocations: 0.8487 MB / 497.8 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.112, allocations: 309.1 kB / 498.1 MB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.1121, allocations: 88.27 kB / 498.2 MB, free: 2.945 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.1122, allocations: 11.98 kB / 498.2 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004006/0.1126, allocations: 223.5 kB / 498.4 MB, free: 2.688 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.1126, allocations: 0 / 498.4 MB, free: 2.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.001864/0.1145, allocations: 0.9611 MB / 499.4 MB, free: 1.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/0.1146, allocations: 166.2 kB / 499.6 MB, free: 1.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000627/0.1152, allocations: 0.6121 MB / 0.4885 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.1152, allocations: 37.7 kB / 0.4885 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.1154, allocations: 224.9 kB / 0.4887 GB, free: 0.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.1155, allocations: 126.3 kB / 0.4888 GB, free: 0.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.1156, allocations: 4 kB / 0.4888 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1157, allocations: 370.8 kB / 0.4892 GB, free: 128 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.116, allocations: 96.83 kB / 0.4893 GB, free: 32 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1648/0.2807, allocations: 178.5 kB / 0.4894 GB, free: 43.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.2811, allocations: 117 kB / 0.4896 GB, free: 43.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2811, allocations: 0.8125 kB / 0.4896 GB, free: 43.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007851/0.2819, allocations: 398 kB / 0.4899 GB, free: 43.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2819, allocations: 9.203 kB / 0.4899 GB, free: 43.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2819, allocations: 2.375 kB / 0.49 GB, free: 43.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.2819, allocations: 5.312 kB / 0.49 GB, free: 43.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.2822, allocations: 86.41 kB / 0.49 GB, free: 43.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.2823, allocations: 4.406 kB / 0.49 GB, free: 43.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.2825, allocations: 26.19 kB / 0.4901 GB, free: 43.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.2825, allocations: 20.88 kB / 0.4901 GB, free: 43.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002084/0.2827, allocations: 205.7 kB / 0.4903 GB, free: 42.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.2828, allocations: 56.38 kB / 0.4903 GB, free: 42.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.2829, allocations: 64.36 kB / 0.4904 GB, free: 42.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.2829, allocations: 5.891 kB / 0.4904 GB, free: 42.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.283, allocations: 4 kB / 0.4904 GB, free: 42.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.283, allocations: 8.109 kB / 0.4904 GB, free: 42.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.2844, allocations: 1.261 MB / 0.4916 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.2844, allocations: 6.062 kB / 0.4917 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.2846, allocations: 48.2 kB / 0.4917 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.2846, allocations: 6.844 kB / 0.4917 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.2846, allocations: 17.77 kB / 0.4917 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.2846, allocations: 4.625 kB / 0.4917 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.2846, allocations: 6.188 kB / 0.4917 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007443/0.2854, allocations: 0.8022 MB / 0.4925 GB, free: 41.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.624e-05/0.2855, allocations: 140.9 kB / 0.4927 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.609e-05/0.2855, allocations: 16.2 kB / 0.4927 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.2859, allocations: 23.34 kB / 0.4927 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.286, allocations: 40.62 kB / 0.4927 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.286, allocations: 24.08 kB / 0.4927 GB, free: 41.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004423/0.2865, allocations: 452 kB / 0.4932 GB, free: 41.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2865, allocations: 0.5938 kB / 0.4932 GB, free: 41.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004987/0.287, allocations: 80.72 kB / 0.4933 GB, free: 41.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008632/0.2878, allocations: 497.2 kB / 0.4937 GB, free: 41.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005466/0.2884, allocations: 290.9 kB / 0.494 GB, free: 41.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2884, allocations: 0 / 0.494 GB, free: 41.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.2887, allocations: 148.3 kB / 0.4942 GB, free: 41.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009742/0.2897, allocations: 122.5 kB / 0.4943 GB, free: 41.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.2909, allocations: 0.9893 MB / 0.4952 GB, free: 40.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.2912, allocations: 0.8508 MB / 0.4961 GB, free: 40.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.2913, allocations: 54.17 kB / 0.4961 GB, free: 40.03 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2913, allocations: 4 kB / 0.4961 GB, free: 40.03 MB / 378.7 MB Notification: Performance of Templates: time 0.007573/0.2989, allocations: 6.26 MB / 0.5022 GB, free: 39.38 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches