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: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001448/0.001448, allocations: 181 kB / 18.71 MB, free: 4.207 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.734/1.734, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2676/0.2676, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 71.88 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4858, allocations: 60.82 MB / 0.5184 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004081/0.49, allocations: 2.28 MB / 0.5206 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.4928, allocations: 1.555 MB / 0.5222 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.493, allocations: 3.156 kB / 0.5222 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005027/0.4935, allocations: 144.1 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006914/0.4942, allocations: 217.5 kB / 0.5225 GB, free: 432 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.4959, allocations: 0.6587 MB / 0.5232 GB, free: 96 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008714/0.4968, allocations: 0.5305 MB / 0.5237 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.497, allocations: 68.94 kB / 0.5237 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.4973, allocations: 220.7 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.4977, allocations: 217.5 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.863e-05/0.4977, allocations: 24.56 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.4981, allocations: 173.1 kB / 0.5243 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003886/0.4985, allocations: 132.4 kB / 0.5245 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002395/0.4988, allocations: 197.5 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009141/0.4997, allocations: 0.5767 MB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4997, allocations: 0 / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4997, allocations: 1.375 kB / 0.5252 GB, free: 15.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.4997, allocations: 0 / 0.5252 GB, free: 15.14 MB / 398.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.001904/0.5016, allocations: 0.901 MB / 0.5261 GB, free: 14.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.5017, allocations: 9.625 kB / 0.5261 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.544e-05/0.5018, allocations: 52.52 kB / 0.5262 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.5019, allocations: 56.5 kB / 0.5262 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.5029, allocations: 476.5 kB / 0.5267 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.503, allocations: 12.3 kB / 0.5267 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.503, allocations: 22.33 kB / 0.5267 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005903/0.5036, allocations: 261.7 kB / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.5036, allocations: 1.094 kB / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.5037, allocations: 5.953 kB / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.5037, allocations: 3.188 kB / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.504, allocations: 110.2 kB / 0.5271 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.5055, allocations: 0.8799 MB / 0.5279 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008704/0.5063, allocations: 296.2 kB / 0.5282 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.5066, allocations: 107.4 kB / 0.5283 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.5066, allocations: 4.125 kB / 0.5283 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004627/0.5071, allocations: 221.5 kB / 0.5285 GB, free: 12.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.5071, allocations: 0 / 0.5285 GB, free: 12.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.00121/0.5083, allocations: 407.1 kB / 0.5289 GB, free: 12.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002553/0.5086, allocations: 342 kB / 0.5292 GB, free: 11.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008556/0.5095, allocations: 0.6287 MB / 0.5299 GB, free: 11.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.5095, allocations: 38.05 kB / 0.5299 GB, free: 11.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.5098, allocations: 232.2 kB / 0.5301 GB, free: 11.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.241e-05/0.5098, allocations: 65.3 kB / 0.5302 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.51, allocations: 60.38 kB / 0.5302 GB, free: 11.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003567/0.5103, allocations: 365.7 kB / 0.5306 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.5106, allocations: 90.06 kB / 0.5307 GB, free: 10.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.511, allocations: 238.3 kB / 0.5309 GB, free: 10.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005222/0.5115, allocations: 236.9 kB / 0.5311 GB, free: 10.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5115, allocations: 0.9375 kB / 0.5311 GB, free: 10.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009176/0.5124, allocations: 320.4 kB / 0.5314 GB, free: 10.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.5125, allocations: 6.5 kB / 0.5314 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5125, allocations: 5.25 kB / 0.5314 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.5125, allocations: 7.125 kB / 0.5314 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.5128, allocations: 57 kB / 0.5315 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.5128, allocations: 3.188 kB / 0.5315 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.513, allocations: 28 kB / 0.5315 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.5131, allocations: 13.83 kB / 0.5315 GB, free: 10.11 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.0003004/0.5134, allocations: 223.9 kB / 0.5318 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/0.5135, allocations: 56.78 kB / 0.5318 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.5138, allocations: 54.23 kB / 0.5319 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.5138, allocations: 7.828 kB / 0.5319 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.5138, allocations: 5.172 kB / 0.5319 GB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.5138, allocations: 1.375 kB / 0.5319 GB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.5143, allocations: 410.1 kB / 0.5323 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5143, allocations: 0 / 0.5323 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.5145, allocations: 26.64 kB / 0.5323 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5145, allocations: 6.531 kB / 0.5323 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.5145, allocations: 15.95 kB / 0.5323 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.5145, allocations: 2.906 kB / 0.5323 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5145, allocations: 1.562 kB / 0.5323 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008892/0.5154, allocations: 364.1 kB / 0.5327 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.5156, allocations: 130.6 kB / 0.5328 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/0.5156, allocations: 21.92 kB / 0.5328 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.5158, allocations: 15.33 kB / 0.5328 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.516, allocations: 43.27 kB / 0.5329 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.516, allocations: 9.094 kB / 0.5329 GB, free: 9.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006488/0.5167, allocations: 467.8 kB / 0.5333 GB, free: 8.816 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.42e-07/0.5167, allocations: 0 / 0.5333 GB, free: 8.816 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000665/0.5173, allocations: 97.86 kB / 0.5334 GB, free: 8.797 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.002874/0.5202, allocations: 1.257 MB / 0.5346 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006032/0.5209, allocations: 221.3 kB / 0.5349 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5209, allocations: 1.094 kB / 0.5349 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.5213, allocations: 173.3 kB / 0.535 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008332/0.5221, allocations: 158.1 kB / 0.5352 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007163/0.5293, allocations: 4.17 MB / 0.5392 GB, free: 4.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.5299, allocations: 0.8446 MB / 0.5401 GB, free: 4.176 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004729/0.5304, allocations: 90.17 kB / 0.5402 GB, free: 4.141 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.5307, allocations: 173.2 kB / 0.5403 GB, free: 4.004 MB / 398.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5307, allocations: 0 / 0.5403 GB, free: 4.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04492/0.5756, allocations: 12.48 MB / 0.5525 GB, free: 8.688 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.79, allocations: 0 / 0.5525 GB, free: 8.688 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable.fmu > 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