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.001259/0.001259, allocations: 117.1 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.001227/0.001227, allocations: 198.9 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.259/1.259, 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.1962/0.1962, 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.001449/0.001449, allocations: 71.91 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09621/0.09767, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003319/0.101, allocations: 2.272 MB / 0.4907 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.1033, allocations: 1.466 MB / 0.4922 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.1035, allocations: 3.938 kB / 0.4922 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.1039, allocations: 143.3 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004358/0.1043, allocations: 223 kB / 0.4925 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.1057, allocations: 0.616 MB / 0.4931 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005331/0.1063, allocations: 0.5298 MB / 0.4937 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.1065, allocations: 76.97 kB / 0.4937 GB, free: 6.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.1067, allocations: 227.1 kB / 0.4939 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.107, allocations: 223 kB / 0.4942 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.2e-05/0.107, allocations: 24 kB / 0.4942 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/0.1074, allocations: 179.8 kB / 0.4943 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.1075, allocations: 123.6 kB / 0.4945 GB, free: 5.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.1077, allocations: 198.7 kB / 0.4947 GB, free: 5.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006326/0.1083, allocations: 0.5685 MB / 0.4952 GB, free: 4.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1084, allocations: 0 / 0.4952 GB, free: 4.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1084, allocations: 0 / 0.4952 GB, free: 4.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.1084, allocations: 4 kB / 0.4952 GB, free: 4.906 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.001216/0.1096, allocations: 0.8864 MB / 0.4961 GB, free: 3.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1096, allocations: 19.89 kB / 0.4961 GB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.1098, allocations: 48.38 kB / 0.4961 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006197/0.1104, allocations: 472 kB / 0.4966 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.1104, allocations: 8.609 kB / 0.4966 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/0.1105, allocations: 24.11 kB / 0.4966 GB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004477/0.1109, allocations: 257.4 kB / 0.4969 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1109, allocations: 4 kB / 0.4969 GB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.111, allocations: 8 kB / 0.4969 GB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.111, allocations: 0 / 0.4969 GB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.1113, allocations: 119.8 kB / 0.497 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.1124, allocations: 0.864 MB / 0.4978 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.113, allocations: 290.5 kB / 0.4981 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.1133, allocations: 111.4 kB / 0.4982 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.1133, allocations: 7.938 kB / 0.4982 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003961/0.1137, allocations: 234.5 kB / 0.4985 GB, free: 1.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.264e-06/0.1137, allocations: 4 kB / 0.4985 GB, free: 1.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009257/0.1147, allocations: 396.8 kB / 0.4988 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/0.1148, allocations: 342.1 kB / 0.4992 GB, free: 492 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/0.1155, allocations: 0.6355 MB / 0.4998 GB, free: 15.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.1156, allocations: 33.7 kB / 0.4998 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.1158, allocations: 220.6 kB / 0.5 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/0.1158, allocations: 67.19 kB / 0.5001 GB, free: 15.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/0.1159, allocations: 61.69 kB / 0.5002 GB, free: 15.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1161, allocations: 362.8 kB / 0.5005 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.1163, allocations: 84.89 kB / 0.5006 GB, free: 15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.1166, allocations: 245.1 kB / 0.5008 GB, free: 14.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.117, allocations: 226.7 kB / 0.501 GB, free: 14.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.117, allocations: 4 kB / 0.501 GB, free: 14.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006001/0.1177, allocations: 316.8 kB / 0.5013 GB, free: 14.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1177, allocations: 8 kB / 0.5013 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1177, allocations: 0 / 0.5013 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1177, allocations: 7.938 kB / 0.5013 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.118, allocations: 55.89 kB / 0.5014 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.118, allocations: 4 kB / 0.5014 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.1182, allocations: 36.19 kB / 0.5014 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.1182, allocations: 20 kB / 0.5015 GB, free: 14 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.0002292/0.1185, allocations: 221.6 kB / 0.5017 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.1185, allocations: 55.28 kB / 0.5017 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.622e-05/0.1186, allocations: 55.91 kB / 0.5018 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.1187, allocations: 7.938 kB / 0.5018 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1187, allocations: 0 / 0.5018 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1187, allocations: 4 kB / 0.5018 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.1191, allocations: 409.2 kB / 0.5022 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1191, allocations: 0 / 0.5022 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.1192, allocations: 31.91 kB / 0.5022 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1192, allocations: 0 / 0.5022 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.1192, allocations: 11.98 kB / 0.5022 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.1193, allocations: 7.938 kB / 0.5022 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1193, allocations: 0 / 0.5022 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/0.1199, allocations: 358.8 kB / 0.5026 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.12, allocations: 124.5 kB / 0.5027 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.498e-05/0.1201, allocations: 12 kB / 0.5027 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.1203, allocations: 15.92 kB / 0.5027 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.991e-05/0.1204, allocations: 47.89 kB / 0.5028 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.1204, allocations: 19.98 kB / 0.5028 GB, free: 12.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004758/0.1209, allocations: 466.8 kB / 0.5032 GB, free: 12.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1209, allocations: 0 / 0.5032 GB, free: 12.08 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004006/0.1213, allocations: 95.98 kB / 0.5033 GB, free: 11.98 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.001022/0.1223, allocations: 457.2 kB / 0.5038 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005573/0.1229, allocations: 231.9 kB / 0.504 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1229, allocations: 4.062 kB / 0.504 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.1232, allocations: 119.9 kB / 0.5041 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006668/0.1239, allocations: 150.5 kB / 0.5042 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.1251, allocations: 0.8102 MB / 0.505 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.1255, allocations: 0.8389 MB / 0.5058 GB, free: 9.367 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.1256, allocations: 55.41 kB / 0.5059 GB, free: 9.312 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1256, allocations: 0 / 0.5059 GB, free: 9.312 MB / 398.1 MB Notification: Performance of Templates: time 0.01007/0.1357, allocations: 7.154 MB / 0.5129 GB, free: 2.152 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