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.00108/0.00108, allocations: 111.7 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 207.9 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.217/0.217, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 75.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3078, allocations: 62.44 MB / 0.5317 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003324/0.3112, allocations: 2.332 MB / 0.5339 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.3137, allocations: 1.692 MB / 0.5356 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.3139, allocations: 7.312 kB / 0.5356 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003886/0.3142, allocations: 145.3 kB / 0.5357 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005148/0.3148, allocations: 283.7 kB / 0.536 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.316, allocations: 0.5268 MB / 0.5365 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005594/0.3165, allocations: 0.5672 MB / 0.5371 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.3167, allocations: 78.44 kB / 0.5371 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.317, allocations: 232.3 kB / 0.5374 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.3172, allocations: 225.4 kB / 0.5376 GB, free: 9.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.374e-05/0.3173, allocations: 26.09 kB / 0.5376 GB, free: 9.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/0.3176, allocations: 176.5 kB / 0.5378 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.3178, allocations: 136.7 kB / 0.5379 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.3179, allocations: 207.8 kB / 0.5381 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006764/0.3186, allocations: 0.605 MB / 0.5387 GB, free: 8.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3186, allocations: 0 / 0.5387 GB, free: 8.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3186, allocations: 1.406 kB / 0.5387 GB, free: 8.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.3187, allocations: 0 / 0.5387 GB, free: 8.594 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.001195/0.3199, allocations: 0.9031 MB / 0.5396 GB, free: 7.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/0.3199, allocations: 12.33 kB / 0.5396 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.3201, allocations: 59.78 kB / 0.5396 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000701/0.3208, allocations: 485.5 kB / 0.5401 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.3208, allocations: 11.7 kB / 0.5401 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.3209, allocations: 17.47 kB / 0.5401 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004999/0.3214, allocations: 266 kB / 0.5404 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3214, allocations: 0 / 0.5404 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.3214, allocations: 7.438 kB / 0.5404 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3214, allocations: 2.188 kB / 0.5404 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.3217, allocations: 110.5 kB / 0.5405 GB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.3229, allocations: 0.8792 MB / 0.5414 GB, free: 6.223 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/0.3235, allocations: 292 kB / 0.5416 GB, free: 6.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.3237, allocations: 111.5 kB / 0.5417 GB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.3237, allocations: 8.312 kB / 0.5418 GB, free: 5.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003812/0.3241, allocations: 225.4 kB / 0.542 GB, free: 5.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.784e-06/0.3241, allocations: 0 / 0.542 GB, free: 5.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009654/0.3251, allocations: 408.9 kB / 0.5424 GB, free: 5.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.3253, allocations: 342 kB / 0.5427 GB, free: 5.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007739/0.3261, allocations: 0.6657 MB / 0.5433 GB, free: 4.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.3261, allocations: 42.33 kB / 0.5434 GB, free: 4.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.3263, allocations: 232.3 kB / 0.5436 GB, free: 4.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.3264, allocations: 69.38 kB / 0.5437 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.824e-05/0.3265, allocations: 61.28 kB / 0.5437 GB, free: 4.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3266, allocations: 374 kB / 0.5441 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.3268, allocations: 81.02 kB / 0.5442 GB, free: 4.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.3272, allocations: 243.9 kB / 0.5444 GB, free: 3.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004381/0.3276, allocations: 228.4 kB / 0.5446 GB, free: 3.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3277, allocations: 0.9062 kB / 0.5446 GB, free: 3.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006034/0.3283, allocations: 318.2 kB / 0.5449 GB, free: 3.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3283, allocations: 5.438 kB / 0.5449 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3283, allocations: 2.156 kB / 0.5449 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3283, allocations: 7.516 kB / 0.5449 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.3286, allocations: 64.95 kB / 0.545 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3286, allocations: 6.531 kB / 0.545 GB, free: 3.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.3288, allocations: 28.39 kB / 0.545 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.3288, allocations: 17.41 kB / 0.545 GB, free: 3.43 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.0002395/0.3291, allocations: 216.9 kB / 0.5452 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.743e-05/0.3292, allocations: 54.56 kB / 0.5453 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.3293, allocations: 60.11 kB / 0.5454 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3293, allocations: 5.031 kB / 0.5454 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3293, allocations: 1.5 kB / 0.5454 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.3294, allocations: 138.7 kB / 0.5455 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.446e-05/0.3295, allocations: 8.906 kB / 0.5455 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.3297, allocations: 24.02 kB / 0.5455 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.3298, allocations: 38.36 kB / 0.5456 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000768/0.3306, allocations: 0.5971 MB / 0.5461 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007472/0.3313, allocations: 0.7185 MB / 0.5468 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002953/0.3316, allocations: 167.8 kB / 0.547 GB, free: 1.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005184/0.3322, allocations: 494.8 kB / 0.5475 GB, free: 1.133 MB / 398.1 MB Notification: Performance of Backend: time 4.71e-07/0.3322, allocations: 0 / 0.5475 GB, free: 1.133 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.334, allocations: 0.6042 MB / 0.5481 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of SimCode: time 0.001492/0.3355, allocations: 1.276 MB / 0.5493 GB, free: 15.35 MB / 414.1 MB Notification: Performance of Templates: time 0.01414/0.3497, allocations: 8.734 MB / 0.5578 GB, free: 6.668 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