Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 212 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1983/0.1983, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 71.89 kB / 482 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2755, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003281/0.2788, allocations: 2.33 MB / 0.5339 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002487/0.2813, allocations: 1.69 MB / 0.5356 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.2814, allocations: 8.219 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.2818, allocations: 147.7 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005299/0.2823, allocations: 284.4 kB / 0.536 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.2835, allocations: 0.5241 MB / 0.5365 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005585/0.2841, allocations: 0.5643 MB / 0.5371 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.2842, allocations: 72.8 kB / 0.5371 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.2845, allocations: 241 kB / 0.5374 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.2848, allocations: 228.5 kB / 0.5376 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.93e-05/0.2849, allocations: 27.12 kB / 0.5376 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003171/0.2852, allocations: 167.9 kB / 0.5378 GB, free: 9.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.2853, allocations: 128.9 kB / 0.5379 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.2855, allocations: 216.4 kB / 0.5381 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006117/0.2861, allocations: 0.601 MB / 0.5387 GB, free: 8.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2862, allocations: 0 / 0.5387 GB, free: 8.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2862, allocations: 0 / 0.5387 GB, free: 8.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.2862, allocations: 0.9688 kB / 0.5387 GB, free: 8.398 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.001181/0.2874, allocations: 0.9074 MB / 0.5396 GB, free: 7.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.2874, allocations: 8.375 kB / 0.5396 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.2875, allocations: 54.97 kB / 0.5396 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.2881, allocations: 490.9 kB / 0.5401 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.2882, allocations: 11.55 kB / 0.5401 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.2882, allocations: 21.45 kB / 0.5401 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.2887, allocations: 261.7 kB / 0.5404 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.2887, allocations: 0 / 0.5404 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.2887, allocations: 7.5 kB / 0.5404 GB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2887, allocations: 2.5 kB / 0.5404 GB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.289, allocations: 113.9 kB / 0.5405 GB, free: 6.816 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009825/0.29, allocations: 0.8786 MB / 0.5414 GB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006279/0.2907, allocations: 292.8 kB / 0.5416 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.2909, allocations: 112 kB / 0.5417 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.2909, allocations: 7.062 kB / 0.5417 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000387/0.2913, allocations: 227.7 kB / 0.542 GB, free: 5.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/0.2913, allocations: 3.938 kB / 0.542 GB, free: 5.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009162/0.2923, allocations: 406.6 kB / 0.5424 GB, free: 5.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.2924, allocations: 342.6 kB / 0.5427 GB, free: 4.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007473/0.2932, allocations: 0.6629 MB / 0.5433 GB, free: 4.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.2932, allocations: 38.45 kB / 0.5434 GB, free: 4.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.2934, allocations: 239.7 kB / 0.5436 GB, free: 4.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.983e-05/0.2935, allocations: 69.62 kB / 0.5437 GB, free: 4.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.364e-05/0.2936, allocations: 60.88 kB / 0.5437 GB, free: 4.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2937, allocations: 370.2 kB / 0.5441 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.2939, allocations: 84.73 kB / 0.5442 GB, free: 3.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.2943, allocations: 239.1 kB / 0.5444 GB, free: 3.613 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.2947, allocations: 229.6 kB / 0.5446 GB, free: 3.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2948, allocations: 1.156 kB / 0.5446 GB, free: 3.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006273/0.2954, allocations: 326.7 kB / 0.5449 GB, free: 3.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2954, allocations: 5.094 kB / 0.5449 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2954, allocations: 2.062 kB / 0.5449 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2954, allocations: 7.188 kB / 0.5449 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.2957, allocations: 57.23 kB / 0.545 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2957, allocations: 2.875 kB / 0.545 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.2959, allocations: 27.39 kB / 0.545 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.2959, allocations: 12.97 kB / 0.545 GB, free: 3.238 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.0002267/0.2962, allocations: 225.6 kB / 0.5452 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.495e-05/0.2963, allocations: 54.59 kB / 0.5453 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.514e-05/0.2964, allocations: 60.09 kB / 0.5453 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2964, allocations: 6.531 kB / 0.5454 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2964, allocations: 1.656 kB / 0.5454 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2964, allocations: 5.391 kB / 0.5454 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.2968, allocations: 425.4 kB / 0.5458 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2968, allocations: 1.562 kB / 0.5458 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.2969, allocations: 31.58 kB / 0.5458 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2969, allocations: 5.062 kB / 0.5458 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.297, allocations: 8.203 kB / 0.5458 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.297, allocations: 6.125 kB / 0.5458 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.297, allocations: 1.25 kB / 0.5458 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/0.2976, allocations: 368.4 kB / 0.5462 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.746e-05/0.2977, allocations: 132.4 kB / 0.5463 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/0.2978, allocations: 11.98 kB / 0.5463 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.298, allocations: 19.92 kB / 0.5463 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.2981, allocations: 31.97 kB / 0.5464 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.2981, allocations: 15.98 kB / 0.5464 GB, free: 2.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004987/0.2986, allocations: 490.8 kB / 0.5468 GB, free: 1.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2986, allocations: 0 / 0.5468 GB, free: 1.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003971/0.299, allocations: 103.9 kB / 0.5469 GB, free: 1.488 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.0009987/0.3001, allocations: 462.8 kB / 0.5474 GB, free: 1.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005273/0.3006, allocations: 231.6 kB / 0.5476 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3006, allocations: 0 / 0.5476 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.3009, allocations: 120.1 kB / 0.5477 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.3016, allocations: 153 kB / 0.5479 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.3027, allocations: 0.8459 MB / 0.5487 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.3031, allocations: 0.8506 MB / 0.5495 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.3032, allocations: 51.42 kB / 0.5496 GB, free: 14.87 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3032, allocations: 0 / 0.5496 GB, free: 14.87 MB / 414.1 MB Notification: Performance of Templates: time 0.009228/0.3125, allocations: 7.323 MB / 0.5567 GB, free: 7.566 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches