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.001282/0.001282, allocations: 113.8 kB / 17.08 MB, free: 5.938 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.001197/0.001197, allocations: 194.5 kB / 18.01 MB, free: 5.027 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.327/1.327, allocations: 205.1 MB / 223.9 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.2039/0.2039, 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.001642/0.001642, allocations: 69.45 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.113, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004066/0.1171, allocations: 2.276 MB / 0.4907 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.1196, allocations: 1.462 MB / 0.4922 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003681/0.12, allocations: 7.938 kB / 0.4922 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.1206, allocations: 139.3 kB / 0.4923 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005855/0.1212, allocations: 234.9 kB / 0.4925 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.1228, allocations: 0.6082 MB / 0.4931 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007221/0.1235, allocations: 0.5259 MB / 0.4936 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.1237, allocations: 80.98 kB / 0.4937 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003959/0.1241, allocations: 227.1 kB / 0.4939 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.1245, allocations: 215 kB / 0.4941 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.991e-05/0.1246, allocations: 24 kB / 0.4942 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.1249, allocations: 183.8 kB / 0.4943 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.1251, allocations: 127.5 kB / 0.4945 GB, free: 5.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.1253, allocations: 198.7 kB / 0.4947 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007558/0.1261, allocations: 0.5646 MB / 0.4952 GB, free: 4.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1261, allocations: 0 / 0.4952 GB, free: 4.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1261, allocations: 0 / 0.4952 GB, free: 4.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.1261, allocations: 0 / 0.4952 GB, free: 4.926 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.001543/0.1277, allocations: 0.8942 MB / 0.4961 GB, free: 3.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1277, allocations: 15.89 kB / 0.4961 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.1279, allocations: 52.38 kB / 0.4961 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007196/0.1286, allocations: 464.1 kB / 0.4966 GB, free: 3.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.1286, allocations: 16.59 kB / 0.4966 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.1287, allocations: 20.06 kB / 0.4966 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.1292, allocations: 261.4 kB / 0.4969 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1292, allocations: 0 / 0.4969 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.1293, allocations: 4 kB / 0.4969 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1293, allocations: 4 kB / 0.4969 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.1296, allocations: 115.9 kB / 0.497 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009727/0.1305, allocations: 0.8679 MB / 0.4978 GB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.1312, allocations: 298.5 kB / 0.4981 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.1314, allocations: 111.4 kB / 0.4982 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.1314, allocations: 4 kB / 0.4982 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004113/0.1318, allocations: 234.4 kB / 0.4985 GB, free: 1.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.1319, allocations: 0 / 0.4985 GB, free: 1.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009924/0.1328, allocations: 400.8 kB / 0.4988 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.133, allocations: 346.1 kB / 0.4992 GB, free: 500 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006976/0.1337, allocations: 0.6355 MB / 0.4998 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.1338, allocations: 33.7 kB / 0.4998 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.134, allocations: 224.5 kB / 0.5 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.443e-05/0.134, allocations: 59.2 kB / 0.5001 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.632e-05/0.1341, allocations: 65.69 kB / 0.5002 GB, free: 15.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1343, allocations: 362.8 kB / 0.5005 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.1345, allocations: 79.95 kB / 0.5006 GB, free: 15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.1348, allocations: 252.5 kB / 0.5008 GB, free: 14.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.1352, allocations: 227.7 kB / 0.501 GB, free: 14.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1353, allocations: 4 kB / 0.501 GB, free: 14.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006108/0.1359, allocations: 308.8 kB / 0.5013 GB, free: 14.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1359, allocations: 8 kB / 0.5013 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1359, allocations: 3.984 kB / 0.5013 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1359, allocations: 7.938 kB / 0.5013 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.1362, allocations: 55.91 kB / 0.5014 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.1362, allocations: 7.938 kB / 0.5014 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.1364, allocations: 31.95 kB / 0.5014 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.1365, allocations: 12 kB / 0.5015 GB, free: 14.02 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.000244/0.1367, allocations: 225.9 kB / 0.5017 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.1368, allocations: 59.28 kB / 0.5017 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.341e-05/0.1369, allocations: 55.91 kB / 0.5018 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.1369, allocations: 7.938 kB / 0.5018 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1369, allocations: 0 / 0.5018 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1369, allocations: 0 / 0.5018 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/0.1373, allocations: 413.2 kB / 0.5022 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1373, allocations: 4 kB / 0.5022 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.1375, allocations: 19.98 kB / 0.5022 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.1375, allocations: 4 kB / 0.5022 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.1375, allocations: 7.984 kB / 0.5022 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.1375, allocations: 3.938 kB / 0.5022 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1375, allocations: 7.938 kB / 0.5022 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006255/0.1382, allocations: 354.8 kB / 0.5026 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.1383, allocations: 132.5 kB / 0.5027 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-05/0.1384, allocations: 8 kB / 0.5027 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.1386, allocations: 19.92 kB / 0.5027 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.1387, allocations: 39.95 kB / 0.5028 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.1387, allocations: 11.98 kB / 0.5028 GB, free: 12.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005677/0.1393, allocations: 470.8 kB / 0.5032 GB, free: 12.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1393, allocations: 3.938 kB / 0.5032 GB, free: 12.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004346/0.1397, allocations: 99.98 kB / 0.5033 GB, free: 12 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.001055/0.1408, allocations: 463.5 kB / 0.5038 GB, free: 11.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000539/0.1413, allocations: 228.1 kB / 0.504 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1414, allocations: 8.062 kB / 0.504 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.1416, allocations: 123.8 kB / 0.5041 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.1423, allocations: 142.8 kB / 0.5042 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.1435, allocations: 0.8024 MB / 0.505 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.1439, allocations: 0.8428 MB / 0.5058 GB, free: 9.383 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.144, allocations: 51.41 kB / 0.5059 GB, free: 9.332 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.144, allocations: 0 / 0.5059 GB, free: 9.332 MB / 398.1 MB Notification: Performance of Templates: time 0.01054/0.1546, allocations: 7.092 MB / 0.5128 GB, free: 2.234 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches