Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001159, allocations: 115.9 kB / 17.08 MB, free: 6.008 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.0009999/0.0009999, allocations: 195 kB / 18.01 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.487/1.487, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1866/0.1866, allocations: 43.52 MB / 314.8 MB, free: 464 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.001488/0.001488, allocations: 63.91 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09102/0.09252, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003158/0.09573, allocations: 1.783 MB / 0.4903 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.09719, allocations: 0.8741 MB / 0.4912 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.09733, allocations: 7.875 kB / 0.4912 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005098/0.09785, allocations: 307.3 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003802/0.09827, allocations: 207.4 kB / 0.4917 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.09866, allocations: 135.7 kB / 0.4918 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.099, allocations: 243.4 kB / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.194e-05/0.09908, allocations: 17.53 kB / 0.4921 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.09929, allocations: 127.5 kB / 0.4922 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.09956, allocations: 192 kB / 0.4924 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.0996, allocations: 4 kB / 0.4924 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.09972, allocations: 43.98 kB / 0.4924 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.09986, allocations: 136.5 kB / 0.4925 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.1, allocations: 142.8 kB / 0.4927 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.1004, allocations: 358.7 kB / 0.493 GB, free: 7.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1004, allocations: 4 kB / 0.493 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1004, allocations: 0 / 0.493 GB, free: 7.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1004, allocations: 0 / 0.493 GB, free: 7.184 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009265/0.1014, allocations: 0.7263 MB / 0.4937 GB, free: 6.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1014, allocations: 11.89 kB / 0.4937 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.335e-05/0.1015, allocations: 44.38 kB / 0.4938 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005814/0.1021, allocations: 443.9 kB / 0.4942 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1021, allocations: 384 / 0.4942 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.1021, allocations: 12.11 kB / 0.4942 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.1023, allocations: 87.31 kB / 0.4943 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1024, allocations: 0 / 0.4943 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1024, allocations: 4 kB / 0.4943 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1024, allocations: 0 / 0.4943 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1025, allocations: 31.97 kB / 0.4943 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.1029, allocations: 374.3 kB / 0.4947 GB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.1032, allocations: 105.2 kB / 0.4948 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.284e-05/0.1033, allocations: 49.62 kB / 0.4948 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.1033, allocations: 0 / 0.4948 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.1035, allocations: 109 kB / 0.495 GB, free: 5.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.1035, allocations: 0 / 0.495 GB, free: 5.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004681/0.104, allocations: 197 kB / 0.4951 GB, free: 4.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.104, allocations: 81.11 kB / 0.4952 GB, free: 4.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009767/0.105, allocations: 1.007 MB / 0.4962 GB, free: 3.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1051, allocations: 33.64 kB / 0.4962 GB, free: 3.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.1052, allocations: 236.1 kB / 0.4965 GB, free: 3.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.1053, allocations: 23.66 kB / 0.4965 GB, free: 3.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.1053, allocations: 29.7 kB / 0.4965 GB, free: 3.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1055, allocations: 366.8 kB / 0.4969 GB, free: 3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.581e-05/0.1056, allocations: 27.98 kB / 0.4969 GB, free: 2.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.984e-05/0.1057, allocations: 59.41 kB / 0.4969 GB, free: 2.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.1058, allocations: 91.86 kB / 0.497 GB, free: 2.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1059, allocations: 0 / 0.497 GB, free: 2.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000291/0.1062, allocations: 172.9 kB / 0.4972 GB, free: 2.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1062, allocations: 8 kB / 0.4972 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1062, allocations: 0 / 0.4972 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1062, allocations: 3.938 kB / 0.4972 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1063, allocations: 23.98 kB / 0.4972 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1063, allocations: 0 / 0.4972 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.1064, allocations: 11.91 kB / 0.4972 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1065, allocations: 4 kB / 0.4972 GB, free: 2.574 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001991/0.1067, allocations: 233.6 kB / 0.4975 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.1067, allocations: 47.34 kB / 0.4975 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.498e-05/0.1068, allocations: 63.84 kB / 0.4976 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1068, allocations: 0 / 0.4976 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1068, allocations: 0 / 0.4976 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1068, allocations: 0 / 0.4976 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.1071, allocations: 337.3 kB / 0.4979 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1071, allocations: 0 / 0.4979 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.1072, allocations: 7.984 kB / 0.4979 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.1072, allocations: 8 kB / 0.4979 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1072, allocations: 0 / 0.4979 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1072, allocations: 0 / 0.4979 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1072, allocations: 8.109 kB / 0.4979 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.1075, allocations: 205.2 kB / 0.4981 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.1076, allocations: 140.4 kB / 0.4982 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.1077, allocations: 0 / 0.4982 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/0.1078, allocations: 12 kB / 0.4983 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.1078, allocations: 7.984 kB / 0.4983 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.1079, allocations: 7.938 kB / 0.4983 GB, free: 1.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006993/0.1086, allocations: 0.7488 MB / 0.499 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1086, allocations: 3.938 kB / 0.499 GB, free: 0.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1088, allocations: 40 kB / 0.499 GB, free: 0.6289 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009263/0.1098, allocations: 416.4 kB / 0.4994 GB, free: 260 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.11, allocations: 87.91 kB / 0.4995 GB, free: 172 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.11, allocations: 0 / 0.4995 GB, free: 172 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.97e-05/0.1101, allocations: 39.92 kB / 0.4996 GB, free: 132 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.1106, allocations: 81.73 kB / 0.4996 GB, free: 52 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1118, allocations: 0.8839 MB / 0.5005 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.1122, allocations: 0.8388 MB / 0.5013 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.312e-05/0.1122, allocations: 31.42 kB / 0.5014 GB, free: 14.24 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1122, allocations: 0 / 0.5014 GB, free: 14.24 MB / 398.1 MB Notification: Performance of Templates: time 0.007755/0.12, allocations: 4.983 MB / 0.5062 GB, free: 9.246 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches