Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.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.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 106.8 kB / 16.41 MB, free: 6.492 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.001125/0.001125, 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.446/1.446, 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.2017/0.2017, allocations: 43.53 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.001479/0.001479, allocations: 71.91 kB / 441.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1165, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003403/0.1199, allocations: 2.272 MB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.1223, allocations: 1.462 MB / 0.4915 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.1224, allocations: 7.938 kB / 0.4915 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00047/0.1229, allocations: 139.3 kB / 0.4917 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005382/0.1235, allocations: 235 kB / 0.4919 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.1249, allocations: 0.6198 MB / 0.4925 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005691/0.1255, allocations: 0.5259 MB / 0.493 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.1257, allocations: 72.98 kB / 0.4931 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.126, allocations: 231.1 kB / 0.4933 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.1263, allocations: 215.1 kB / 0.4935 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.1263, allocations: 28 kB / 0.4935 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.1267, allocations: 179.8 kB / 0.4937 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.1268, allocations: 127.5 kB / 0.4938 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.127, allocations: 194.8 kB / 0.494 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006153/0.1276, allocations: 0.5607 MB / 0.4945 GB, free: 4.941 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.1277, allocations: 3.984 kB / 0.4945 GB, free: 4.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1277, allocations: 4 kB / 0.4946 GB, free: 4.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.1277, allocations: 0 / 0.4946 GB, free: 4.934 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001181/0.1289, allocations: 0.8942 MB / 0.4954 GB, free: 3.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1289, allocations: 15.89 kB / 0.4954 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.764e-05/0.129, allocations: 48.38 kB / 0.4955 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000631/0.1297, allocations: 472 kB / 0.4959 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.1297, allocations: 8.609 kB / 0.4959 GB, free: 3.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.1297, allocations: 20.12 kB / 0.496 GB, free: 3.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.1302, allocations: 261.3 kB / 0.4962 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1302, allocations: 0 / 0.4962 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.1302, allocations: 19.92 kB / 0.4962 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1302, allocations: 0 / 0.4962 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.1306, allocations: 111.9 kB / 0.4963 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.1317, allocations: 0.8719 MB / 0.4972 GB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006336/0.1324, allocations: 290.6 kB / 0.4975 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.1326, allocations: 107.3 kB / 0.4976 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.1326, allocations: 7.984 kB / 0.4976 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000385/0.133, allocations: 226.3 kB / 0.4978 GB, free: 1.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.133, allocations: 4 kB / 0.4978 GB, free: 1.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009019/0.1339, allocations: 396.8 kB / 0.4982 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002117/0.1342, allocations: 350.1 kB / 0.4985 GB, free: 0.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007315/0.1349, allocations: 0.6278 MB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.1349, allocations: 33.7 kB / 0.4992 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.1351, allocations: 228.5 kB / 0.4994 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.847e-05/0.1352, allocations: 63.11 kB / 0.4994 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/0.1353, allocations: 61.69 kB / 0.4995 GB, free: 15.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1354, allocations: 362.8 kB / 0.4998 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.1357, allocations: 83.94 kB / 0.4999 GB, free: 15.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.136, allocations: 253.5 kB / 0.5002 GB, free: 14.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.1364, allocations: 222.8 kB / 0.5004 GB, free: 14.47 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1364, allocations: 4 kB / 0.5004 GB, free: 14.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006055/0.137, allocations: 316.8 kB / 0.5007 GB, free: 14.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1371, allocations: 8 kB / 0.5007 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1371, allocations: 0 / 0.5007 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.1371, allocations: 11.92 kB / 0.5007 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.1374, allocations: 51.91 kB / 0.5007 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.1374, allocations: 4 kB / 0.5008 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.1376, allocations: 32.2 kB / 0.5008 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.1376, allocations: 19.98 kB / 0.5008 GB, free: 14.03 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002196/0.1378, allocations: 221.6 kB / 0.501 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.1379, allocations: 59.27 kB / 0.5011 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.403e-05/0.138, allocations: 55.91 kB / 0.5011 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.138, allocations: 7.938 kB / 0.5011 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1381, allocations: 0 / 0.5011 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.1381, allocations: 4 kB / 0.5011 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.1384, allocations: 409.2 kB / 0.5015 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1385, allocations: 0 / 0.5015 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.1386, allocations: 23.98 kB / 0.5015 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1386, allocations: 0 / 0.5015 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.1386, allocations: 11.98 kB / 0.5016 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.1386, allocations: 11.92 kB / 0.5016 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1386, allocations: 0 / 0.5016 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006329/0.1393, allocations: 370.7 kB / 0.5019 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.1394, allocations: 124.5 kB / 0.502 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.902e-05/0.1394, allocations: 12 kB / 0.5021 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.1396, allocations: 19.91 kB / 0.5021 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.1397, allocations: 39.95 kB / 0.5021 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.1398, allocations: 20 kB / 0.5021 GB, free: 12.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004954/0.1403, allocations: 466.8 kB / 0.5026 GB, free: 12.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1403, allocations: 0 / 0.5026 GB, free: 12.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004289/0.1407, allocations: 92 kB / 0.5027 GB, free: 12.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001056/0.1418, allocations: 457.7 kB / 0.5031 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005459/0.1423, allocations: 228 kB / 0.5033 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1423, allocations: 0 / 0.5033 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.1427, allocations: 175.7 kB / 0.5035 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006569/0.1434, allocations: 150.9 kB / 0.5036 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.1446, allocations: 0.7657 MB / 0.5044 GB, free: 10.26 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.145, allocations: 0.8429 MB / 0.5052 GB, free: 9.391 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000219/0.1453, allocations: 87.2 kB / 0.5053 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.1454, allocations: 51.42 kB / 0.5053 GB, free: 9.25 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1454, allocations: 0 / 0.5053 GB, free: 9.25 MB / 398.1 MB Notification: Performance of Templates: time 0.01326/0.1587, allocations: 7.59 MB / 0.5127 GB, free: 1.656 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches