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.001361/0.001361, allocations: 108 kB / 16.41 MB, free: 6.484 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.001465/0.001465, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.753/1.753, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2216/0.2216, allocations: 43.52 MB / 314.1 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.001433/0.001433, allocations: 70.03 kB / 441.9 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1161, allocations: 57.79 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002897/0.119, allocations: 1.788 MB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1204, allocations: 0.8741 MB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.787e-05/0.1205, allocations: 3.938 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004881/0.121, allocations: 307.3 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.1213, allocations: 203.4 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.1217, allocations: 147.7 kB / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.1219, allocations: 235.4 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.122, allocations: 17.53 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.1221, allocations: 131.5 kB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.1224, allocations: 188 kB / 0.4917 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.1224, allocations: 8 kB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.775e-05/0.1225, allocations: 39.98 kB / 0.4918 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1226, allocations: 132.5 kB / 0.4919 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.1228, allocations: 146.8 kB / 0.492 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.1231, allocations: 366.2 kB / 0.4924 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1232, allocations: 0 / 0.4924 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1232, allocations: 0 / 0.4924 GB, free: 7.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1232, allocations: 0 / 0.4924 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.0008396/0.124, allocations: 0.7345 MB / 0.4931 GB, free: 6.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.124, allocations: 11.89 kB / 0.4931 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.265e-05/0.1241, allocations: 52.61 kB / 0.4932 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.1247, allocations: 452.3 kB / 0.4936 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1247, allocations: 4.375 kB / 0.4936 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.1247, allocations: 8.125 kB / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.1249, allocations: 87.31 kB / 0.4937 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.125, allocations: 0 / 0.4937 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.125, allocations: 3.984 kB / 0.4937 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.125, allocations: 0 / 0.4937 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1251, allocations: 27.98 kB / 0.4937 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.1255, allocations: 370.4 kB / 0.4941 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.1257, allocations: 105.2 kB / 0.4942 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.622e-05/0.1258, allocations: 45.64 kB / 0.4942 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1259, allocations: 4 kB / 0.4942 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.1261, allocations: 113 kB / 0.4943 GB, free: 4.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1261, allocations: 0 / 0.4943 GB, free: 4.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004602/0.1265, allocations: 197.2 kB / 0.4945 GB, free: 4.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1266, allocations: 81.11 kB / 0.4946 GB, free: 4.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.1276, allocations: 1.003 MB / 0.4956 GB, free: 3.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.1276, allocations: 33.7 kB / 0.4956 GB, free: 3.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1278, allocations: 228.1 kB / 0.4958 GB, free: 3.414 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.1279, allocations: 31.73 kB / 0.4958 GB, free: 3.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.1279, allocations: 25.72 kB / 0.4959 GB, free: 3.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1281, allocations: 366.8 kB / 0.4962 GB, free: 2.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.461e-05/0.1282, allocations: 32.48 kB / 0.4963 GB, free: 2.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.1283, allocations: 59.41 kB / 0.4963 GB, free: 2.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.1285, allocations: 91.3 kB / 0.4964 GB, free: 2.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1285, allocations: 0 / 0.4964 GB, free: 2.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000289/0.1288, allocations: 181.1 kB / 0.4966 GB, free: 2.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1288, allocations: 4 kB / 0.4966 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1288, allocations: 0 / 0.4966 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1288, allocations: 7.938 kB / 0.4966 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.129, allocations: 19.98 kB / 0.4966 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.129, allocations: 4 kB / 0.4966 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.144e-05/0.1291, allocations: 11.95 kB / 0.4966 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.1291, allocations: 4 kB / 0.4966 GB, free: 2.547 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.0001881/0.1293, allocations: 229.6 kB / 0.4968 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.1294, allocations: 55.66 kB / 0.4969 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.139e-05/0.1295, allocations: 59.84 kB / 0.4969 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1295, allocations: 0 / 0.4969 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1295, allocations: 4 kB / 0.4969 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1295, allocations: 0 / 0.4969 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.1297, allocations: 337.3 kB / 0.4973 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1298, allocations: 0 / 0.4973 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.1298, allocations: 8 kB / 0.4973 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.1298, allocations: 4.125 kB / 0.4973 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1298, allocations: 12 kB / 0.4973 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1298, allocations: 0 / 0.4973 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1298, allocations: 0 / 0.4973 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.1302, allocations: 205.5 kB / 0.4975 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.1304, allocations: 136.8 kB / 0.4976 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.1304, allocations: 0 / 0.4976 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.1306, allocations: 12 kB / 0.4976 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.1307, allocations: 11.92 kB / 0.4976 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1307, allocations: 4 kB / 0.4976 GB, free: 1.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007165/0.1314, allocations: 0.7526 MB / 0.4984 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1314, allocations: 0 / 0.4984 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1317, allocations: 43.98 kB / 0.4984 GB, free: 0.5977 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.000891/0.1326, allocations: 427.6 kB / 0.4988 GB, free: 220 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.1328, allocations: 79.91 kB / 0.4989 GB, free: 140 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1328, allocations: 0 / 0.4989 GB, free: 140 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.133, allocations: 47.91 kB / 0.499 GB, free: 92 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.1334, allocations: 66.08 kB / 0.499 GB, free: 24 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.1346, allocations: 0.8502 MB / 0.4998 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.1351, allocations: 0.8427 MB / 0.5007 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.1352, allocations: 54.94 kB / 0.5007 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.728e-05/0.1353, allocations: 31.44 kB / 0.5008 GB, free: 14.19 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1353, allocations: 0 / 0.5008 GB, free: 14.19 MB / 398.1 MB Notification: Performance of Templates: time 0.009368/0.1446, allocations: 3.703 MB / 0.5044 GB, free: 10.5 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/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