Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 107.2 kB / 17.08 MB, free: 6.02 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.00143/0.00143, allocations: 196.1 kB / 18.01 MB, free: 5.098 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.303/1.303, 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.1869/0.1869, 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.001272/0.001272, allocations: 71.91 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.1002, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002937/0.1032, allocations: 1.783 MB / 0.4903 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1047, allocations: 0.878 MB / 0.4912 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1048, allocations: 3.938 kB / 0.4912 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005174/0.1053, allocations: 303.3 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.1057, allocations: 203.4 kB / 0.4917 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.1061, allocations: 143.6 kB / 0.4918 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.1064, allocations: 235.4 kB / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.302e-05/0.1064, allocations: 17.53 kB / 0.4921 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.1066, allocations: 135.5 kB / 0.4922 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.1069, allocations: 188 kB / 0.4924 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.1069, allocations: 8 kB / 0.4924 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.107, allocations: 51.91 kB / 0.4924 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.1072, allocations: 124.6 kB / 0.4925 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.1073, allocations: 138.8 kB / 0.4927 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.1077, allocations: 358.7 kB / 0.493 GB, free: 7.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1077, allocations: 0 / 0.493 GB, free: 7.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.1077, allocations: 0 / 0.493 GB, free: 7.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.1077, allocations: 7.938 kB / 0.493 GB, free: 7.18 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.0008557/0.1086, allocations: 0.7224 MB / 0.4937 GB, free: 6.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1086, allocations: 15.89 kB / 0.4937 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.577e-05/0.1087, allocations: 44.38 kB / 0.4938 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005558/0.1092, allocations: 443.9 kB / 0.4942 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1093, allocations: 4.375 kB / 0.4942 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.1093, allocations: 8.125 kB / 0.4942 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.1095, allocations: 95.3 kB / 0.4943 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1095, allocations: 0 / 0.4943 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1095, allocations: 0 / 0.4943 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1095, allocations: 4 kB / 0.4943 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.884e-05/0.1096, allocations: 31.97 kB / 0.4944 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.11, allocations: 366.3 kB / 0.4947 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.1103, allocations: 109.2 kB / 0.4948 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.478e-05/0.1104, allocations: 49.62 kB / 0.4949 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.1104, allocations: 0 / 0.4949 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.1106, allocations: 109 kB / 0.495 GB, free: 5.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1106, allocations: 0 / 0.495 GB, free: 5.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000435/0.1111, allocations: 189 kB / 0.4951 GB, free: 4.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.1111, allocations: 89.09 kB / 0.4952 GB, free: 4.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000985/0.1121, allocations: 1.007 MB / 0.4962 GB, free: 3.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1121, allocations: 25.7 kB / 0.4962 GB, free: 3.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1123, allocations: 228.1 kB / 0.4964 GB, free: 3.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.1123, allocations: 35.64 kB / 0.4965 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.1124, allocations: 21.72 kB / 0.4965 GB, free: 3.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1125, allocations: 370.8 kB / 0.4969 GB, free: 3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.369e-05/0.1126, allocations: 27.98 kB / 0.4969 GB, free: 2.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.684e-05/0.1127, allocations: 55.36 kB / 0.4969 GB, free: 2.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.1129, allocations: 99.84 kB / 0.497 GB, free: 2.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1129, allocations: 0 / 0.497 GB, free: 2.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002741/0.1132, allocations: 168.9 kB / 0.4972 GB, free: 2.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1132, allocations: 4 kB / 0.4972 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1132, allocations: 7.938 kB / 0.4972 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1132, allocations: 4.062 kB / 0.4972 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1134, allocations: 19.98 kB / 0.4972 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1134, allocations: 4 kB / 0.4972 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.326e-05/0.1135, allocations: 11.89 kB / 0.4972 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1135, allocations: 7.938 kB / 0.4972 GB, free: 2.566 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.0001873/0.1137, allocations: 221.7 kB / 0.4975 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.1137, allocations: 55.33 kB / 0.4975 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.087e-05/0.1138, allocations: 55.84 kB / 0.4976 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1138, allocations: 4 kB / 0.4976 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1138, allocations: 4 kB / 0.4976 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1139, allocations: 3.984 kB / 0.4976 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.1141, allocations: 341.3 kB / 0.4979 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1141, allocations: 0 / 0.4979 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.1142, allocations: 8 kB / 0.4979 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1142, allocations: 0 / 0.4979 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1142, allocations: 7.984 kB / 0.4979 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1142, allocations: 0 / 0.4979 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.1142, allocations: 4.062 kB / 0.4979 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.1145, allocations: 205.3 kB / 0.4981 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.1147, allocations: 136.4 kB / 0.4982 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.1147, allocations: 7.938 kB / 0.4983 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.1148, allocations: 3.984 kB / 0.4983 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.1148, allocations: 11.98 kB / 0.4983 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1149, allocations: 8 kB / 0.4983 GB, free: 1.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006987/0.1156, allocations: 0.7526 MB / 0.499 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1156, allocations: 0 / 0.499 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1158, allocations: 40 kB / 0.4991 GB, free: 0.6211 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.0008944/0.1167, allocations: 407.1 kB / 0.4994 GB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.117, allocations: 87.89 kB / 0.4995 GB, free: 176 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.117, allocations: 0 / 0.4995 GB, free: 176 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.844e-05/0.1171, allocations: 40.05 kB / 0.4996 GB, free: 136 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.1175, allocations: 85.8 kB / 0.4996 GB, free: 52 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.1187, allocations: 0.884 MB / 0.5005 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.1191, 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 6.622e-05/0.1192, allocations: 27.44 kB / 0.5014 GB, free: 14.24 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1192, allocations: 4 kB / 0.5014 GB, free: 14.23 MB / 398.1 MB Notification: Performance of Templates: time 0.007901/0.1271, allocations: 5.038 MB / 0.5063 GB, free: 9.188 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches