Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001242/0.001243, allocations: 193.3 kB / 18.91 MB, free: 4.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 242.6 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2095/0.2095, allocations: 44.17 MB / 336.9 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 72.55 kB / 408.5 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0963/0.09755, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003621/0.1012, allocations: 2.313 MB / 471.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00245/0.1037, allocations: 1.54 MB / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.104, allocations: 3.938 kB / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000422/0.1044, allocations: 127.5 kB / 473.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004922/0.1049, allocations: 203.3 kB / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.1064, allocations: 0.61 MB / 474.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005698/0.107, allocations: 0.5298 MB / 474.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.1071, allocations: 81.05 kB / 474.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.1074, allocations: 227 kB / 475 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.1076, allocations: 227 kB / 475.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.733e-05/0.1077, allocations: 24 kB / 475.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.1079, allocations: 151.8 kB / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.1081, allocations: 135.5 kB / 475.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.1082, allocations: 202.7 kB / 475.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004238/0.1087, allocations: 435.4 kB / 476.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1087, allocations: 4 kB / 476.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1087, allocations: 4 kB / 476.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1087, allocations: 0 / 476.2 MB, free: 7.93 MB / 350.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.00112/0.1098, allocations: 0.8825 MB / 477 MB, free: 6.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.1099, allocations: 8.031 kB / 477 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.511e-05/0.11, allocations: 52.28 kB / 477.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.1105, allocations: 468.1 kB / 477.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.1105, allocations: 12.61 kB / 477.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.1106, allocations: 20.12 kB / 477.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.111, allocations: 261.4 kB / 477.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.111, allocations: 0 / 477.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.111, allocations: 7.984 kB / 477.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1111, allocations: 4 kB / 477.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.1114, allocations: 115.8 kB / 478 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.1124, allocations: 0.8717 MB / 478.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/0.113, allocations: 290.5 kB / 479.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.1133, allocations: 111.4 kB / 479.2 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.1133, allocations: 8.141 kB / 479.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000463/0.1138, allocations: 224.2 kB / 479.5 MB, free: 4.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.1138, allocations: 0 / 479.5 MB, free: 4.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008996/0.1147, allocations: 404.7 kB / 479.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.1149, allocations: 342.1 kB / 480.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006393/0.1155, allocations: 0.6277 MB / 480.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.1155, allocations: 33.7 kB / 480.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.1157, allocations: 232.5 kB / 481.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/0.1158, allocations: 67.09 kB / 481.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-05/0.1159, allocations: 61.64 kB / 481.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.116, allocations: 370.8 kB / 481.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.1162, allocations: 79.94 kB / 481.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.1165, allocations: 249.6 kB / 481.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.117, allocations: 231.7 kB / 482.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.117, allocations: 8 kB / 482.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005846/0.1176, allocations: 312.8 kB / 482.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1176, allocations: 8 kB / 482.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.1176, allocations: 3.984 kB / 482.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1176, allocations: 7.938 kB / 482.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.1179, allocations: 59.84 kB / 482.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1179, allocations: 3.984 kB / 482.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.118, allocations: 23.84 kB / 482.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.1181, allocations: 19.98 kB / 482.5 MB, free: 1.035 MB / 350.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.0002086/0.1183, allocations: 217.8 kB / 482.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.193e-05/0.1184, allocations: 59.33 kB / 482.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.679e-05/0.1185, allocations: 51.91 kB / 482.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.1185, allocations: 7.938 kB / 482.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1185, allocations: 256 / 482.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1185, allocations: 4 kB / 482.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.1189, allocations: 409.3 kB / 483.3 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1189, allocations: 0 / 483.3 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.119, allocations: 23.98 kB / 483.3 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.119, allocations: 0 / 483.3 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.119, allocations: 19.92 kB / 483.3 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.119, allocations: 7.938 kB / 483.3 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1191, allocations: 0 / 483.3 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.1197, allocations: 362.4 kB / 483.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.79e-05/0.1198, allocations: 128.5 kB / 483.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.832e-05/0.1199, allocations: 12 kB / 483.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.12, allocations: 19.86 kB / 483.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.1202, allocations: 43.89 kB / 483.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.1202, allocations: 16 kB / 483.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004647/0.1207, allocations: 466.8 kB / 484.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1207, allocations: 0 / 484.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003775/0.1211, allocations: 95.89 kB / 484.4 MB, free: 15.03 MB / 366.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.0009974/0.1221, allocations: 465.9 kB / 484.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000532/0.1226, allocations: 239.5 kB / 485.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1226, allocations: 4 kB / 485.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.1229, allocations: 124.7 kB / 485.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006375/0.1235, allocations: 150.5 kB / 485.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.1248, allocations: 0.9082 MB / 486.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.1252, allocations: 0.8428 MB / 487.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.1253, allocations: 51.41 kB / 487.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1253, allocations: 0 / 487.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of Templates: time 0.009225/0.1346, allocations: 7.048 MB / 494.3 MB, free: 5.336 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches