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.001272/0.001273, allocations: 113.2 kB / 17.08 MB, free: 5.918 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.001337/0.001337, allocations: 194.9 kB / 18.01 MB, free: 5.016 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.251/1.251, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.1914/0.1914, allocations: 43.53 MB / 314.8 MB, free: 440 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.001476/0.001476, allocations: 73.45 kB / 442.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09951/0.101, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002774/0.1038, allocations: 1.783 MB / 0.4903 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1052, allocations: 0.878 MB / 0.4912 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.1053, allocations: 3.938 kB / 0.4912 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004751/0.1058, allocations: 303.3 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.1061, allocations: 207.4 kB / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.1064, allocations: 139.7 kB / 0.4918 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.1067, allocations: 239.4 kB / 0.492 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.274e-05/0.1068, allocations: 21.47 kB / 0.4921 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.1069, allocations: 135.5 kB / 0.4922 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.1071, allocations: 180 kB / 0.4924 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.1071, allocations: 8 kB / 0.4924 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1073, allocations: 43.98 kB / 0.4924 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1074, allocations: 136.5 kB / 0.4925 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.1075, allocations: 138.8 kB / 0.4927 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.1078, allocations: 362.7 kB / 0.493 GB, free: 7.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1079, allocations: 0 / 0.493 GB, free: 7.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1079, allocations: 0 / 0.493 GB, free: 7.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1079, allocations: 0 / 0.493 GB, free: 7.172 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.0008482/0.1087, allocations: 0.7229 MB / 0.4937 GB, free: 6.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1088, allocations: 11.89 kB / 0.4937 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.444e-05/0.1089, allocations: 48.38 kB / 0.4938 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/0.1094, allocations: 435.9 kB / 0.4942 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1094, allocations: 12.38 kB / 0.4942 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1094, allocations: 12.11 kB / 0.4942 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.1096, allocations: 87.31 kB / 0.4943 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1097, allocations: 0 / 0.4943 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1097, allocations: 0 / 0.4943 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1097, allocations: 0 / 0.4943 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1098, allocations: 31.97 kB / 0.4943 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.1102, allocations: 374.3 kB / 0.4947 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.1105, allocations: 105.2 kB / 0.4948 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.076e-05/0.1106, allocations: 45.64 kB / 0.4948 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.1106, allocations: 7.984 kB / 0.4949 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.1108, allocations: 105 kB / 0.495 GB, free: 5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1108, allocations: 0 / 0.495 GB, free: 5 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004611/0.1113, allocations: 193.4 kB / 0.4951 GB, free: 4.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.1113, allocations: 89.11 kB / 0.4952 GB, free: 4.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009374/0.1123, allocations: 1.007 MB / 0.4962 GB, free: 3.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1123, allocations: 25.7 kB / 0.4962 GB, free: 3.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.1125, allocations: 228.1 kB / 0.4964 GB, free: 3.422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.1125, allocations: 27.66 kB / 0.4965 GB, free: 3.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.1126, allocations: 29.7 kB / 0.4965 GB, free: 3.359 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1127, allocations: 366.8 kB / 0.4969 GB, free: 2.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.1128, allocations: 35.92 kB / 0.4969 GB, free: 2.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.1e-05/0.1129, allocations: 59.41 kB / 0.4969 GB, free: 2.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.1131, allocations: 83.42 kB / 0.497 GB, free: 2.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1131, allocations: 4 kB / 0.497 GB, free: 2.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002766/0.1134, allocations: 176.9 kB / 0.4972 GB, free: 2.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1134, allocations: 4 kB / 0.4972 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1134, allocations: 3.984 kB / 0.4972 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1134, allocations: 7.938 kB / 0.4972 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1136, allocations: 19.98 kB / 0.4972 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1136, allocations: 4 kB / 0.4972 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.914e-05/0.1137, allocations: 7.906 kB / 0.4972 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.1137, allocations: 8 kB / 0.4972 GB, free: 2.555 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.0001932/0.1139, allocations: 233.6 kB / 0.4975 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.114, allocations: 51.34 kB / 0.4975 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.151e-05/0.114, allocations: 55.84 kB / 0.4976 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.114, allocations: 0 / 0.4976 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1141, allocations: 4 kB / 0.4976 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1141, allocations: 0 / 0.4976 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.1143, allocations: 341.3 kB / 0.4979 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1143, allocations: 0 / 0.4979 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.1144, allocations: 12.11 kB / 0.4979 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1144, allocations: 0 / 0.4979 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1144, allocations: 12 kB / 0.4979 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1144, allocations: 0 / 0.4979 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1144, allocations: 0 / 0.4979 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.1147, allocations: 205.2 kB / 0.4981 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.1148, allocations: 136.4 kB / 0.4983 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.1149, allocations: 0 / 0.4983 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.841e-05/0.115, allocations: 8 kB / 0.4983 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.115, allocations: 11.98 kB / 0.4983 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.115, allocations: 4 kB / 0.4983 GB, free: 1.402 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006686/0.1157, allocations: 0.7526 MB / 0.499 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.402e-06/0.1157, allocations: 0 / 0.499 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.116, allocations: 47.92 kB / 0.4991 GB, free: 0.6055 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.0008992/0.1169, allocations: 411.7 kB / 0.4994 GB, free: 240 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.1171, allocations: 83.91 kB / 0.4995 GB, free: 156 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1172, allocations: 0 / 0.4995 GB, free: 156 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.865e-05/0.1173, allocations: 39.92 kB / 0.4996 GB, free: 116 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.1177, allocations: 74.06 kB / 0.4996 GB, free: 40 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1188, allocations: 0.8839 MB / 0.5005 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.1192, allocations: 0.8388 MB / 0.5013 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.1193, allocations: 31.42 kB / 0.5013 GB, free: 14.22 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1193, allocations: 0 / 0.5013 GB, free: 14.22 MB / 398.1 MB Notification: Performance of Templates: time 0.007144/0.1264, allocations: 4.979 MB / 0.5062 GB, free: 9.238 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