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.001523/0.001523, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 207.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2709/0.2709, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 71.88 kB / 481.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4072, allocations: 62.43 MB / 0.531 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004646/0.4119, allocations: 2.329 MB / 0.5333 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003686/0.4157, allocations: 1.687 MB / 0.5349 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005606/0.4163, allocations: 7.219 kB / 0.5349 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006725/0.417, allocations: 139.8 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.4182, allocations: 288.6 kB / 0.5353 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.4201, allocations: 0.5266 MB / 0.5358 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.4211, allocations: 0.571 MB / 0.5364 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/0.4214, allocations: 81.52 kB / 0.5365 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005792/0.422, allocations: 227.4 kB / 0.5367 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005001/0.4225, allocations: 225.2 kB / 0.5369 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.4227, allocations: 26.44 kB / 0.5369 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005228/0.4232, allocations: 181.3 kB / 0.5371 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.4235, allocations: 132.7 kB / 0.5372 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003768/0.4238, allocations: 207.3 kB / 0.5374 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.4251, allocations: 0.6 MB / 0.538 GB, free: 8.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.4251, allocations: 0 / 0.538 GB, free: 8.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.4251, allocations: 0 / 0.538 GB, free: 8.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.4252, allocations: 1.219 kB / 0.538 GB, free: 8.613 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.00185/0.427, allocations: 0.9372 MB / 0.5389 GB, free: 7.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.815e-05/0.4271, allocations: 9.469 kB / 0.5389 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.4273, allocations: 58.66 kB / 0.539 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.4283, allocations: 488 kB / 0.5395 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.4284, allocations: 11.17 kB / 0.5395 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.4284, allocations: 17.94 kB / 0.5395 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.429, allocations: 265.8 kB / 0.5397 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.4291, allocations: 0 / 0.5397 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.4291, allocations: 10.92 kB / 0.5397 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.4291, allocations: 2.688 kB / 0.5397 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003766/0.4295, allocations: 107.1 kB / 0.5399 GB, free: 7.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.4311, allocations: 0.8859 MB / 0.5407 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007726/0.4319, allocations: 300.1 kB / 0.541 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.4322, allocations: 108.2 kB / 0.5411 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.4323, allocations: 6.875 kB / 0.5411 GB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000493/0.4328, allocations: 226.1 kB / 0.5413 GB, free: 5.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.853e-06/0.4328, allocations: 1.25 kB / 0.5413 GB, free: 5.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001126/0.4339, allocations: 403.5 kB / 0.5417 GB, free: 5.527 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002625/0.4342, allocations: 346.6 kB / 0.542 GB, free: 5.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.4354, allocations: 0.6656 MB / 0.5427 GB, free: 4.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.689e-05/0.4355, allocations: 38.42 kB / 0.5427 GB, free: 4.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.4358, allocations: 244.5 kB / 0.543 GB, free: 4.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.4359, allocations: 65.62 kB / 0.543 GB, free: 4.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.4361, allocations: 64.47 kB / 0.5431 GB, free: 4.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002516/0.4363, allocations: 367 kB / 0.5434 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.4366, allocations: 84.61 kB / 0.5435 GB, free: 4.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.437, allocations: 239 kB / 0.5437 GB, free: 3.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004886/0.4375, allocations: 234.2 kB / 0.544 GB, free: 3.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4375, allocations: 1.156 kB / 0.544 GB, free: 3.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006535/0.4382, allocations: 321.1 kB / 0.5443 GB, free: 3.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.4382, allocations: 10.89 kB / 0.5443 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.4382, allocations: 1.719 kB / 0.5443 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.4382, allocations: 6.844 kB / 0.5443 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.4385, allocations: 56.88 kB / 0.5444 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4385, allocations: 3.812 kB / 0.5444 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.4387, allocations: 27.34 kB / 0.5444 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.4388, allocations: 13.34 kB / 0.5444 GB, free: 3.41 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.0002667/0.439, allocations: 224.9 kB / 0.5446 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.636e-05/0.4391, allocations: 59.22 kB / 0.5447 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.4393, allocations: 59.84 kB / 0.5447 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.4393, allocations: 7.281 kB / 0.5447 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.4393, allocations: 1.062 kB / 0.5447 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.4393, allocations: 9.141 kB / 0.5447 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005899/0.4399, allocations: 414 kB / 0.5451 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4399, allocations: 1.031 kB / 0.5451 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.4401, allocations: 26.48 kB / 0.5452 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4401, allocations: 6.375 kB / 0.5452 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.4401, allocations: 12.45 kB / 0.5452 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.4401, allocations: 6.219 kB / 0.5452 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4401, allocations: 1.094 kB / 0.5452 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007649/0.4409, allocations: 373.8 kB / 0.5455 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.4411, allocations: 128.7 kB / 0.5457 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.888e-05/0.4412, allocations: 11.98 kB / 0.5457 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.4413, allocations: 23.92 kB / 0.5457 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.4415, allocations: 35.95 kB / 0.5457 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.046e-05/0.4416, allocations: 12 kB / 0.5457 GB, free: 2.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000659/0.4422, allocations: 494.8 kB / 0.5462 GB, free: 1.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4422, allocations: 0 / 0.5462 GB, free: 1.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005111/0.4427, allocations: 99.88 kB / 0.5463 GB, free: 1.586 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.001215/0.444, allocations: 467.4 kB / 0.5468 GB, free: 1.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005733/0.4446, allocations: 227.6 kB / 0.547 GB, free: 1.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4446, allocations: 4 kB / 0.547 GB, free: 1.035 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.4449, allocations: 168.7 kB / 0.5471 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007333/0.4457, allocations: 150.6 kB / 0.5473 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.4471, allocations: 0.8119 MB / 0.5481 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.4476, allocations: 0.8467 MB / 0.5489 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002802/0.4479, allocations: 91.22 kB / 0.549 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.448, allocations: 51.42 kB / 0.549 GB, free: 14.87 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4481, allocations: 0 / 0.549 GB, free: 14.87 MB / 414.1 MB Notification: Performance of Templates: time 0.01593/0.464, allocations: 7.696 MB / 0.5566 GB, free: 7.211 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches