Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001512/0.001512, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002631/0.002631, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2575/0.2575, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 71.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4211, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003559/0.4247, allocations: 1.661 MB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.4266, allocations: 1.199 MB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.24e-05/0.4267, allocations: 1.375 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.427, allocations: 23.98 kB / 0.5338 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.4273, allocations: 85.73 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.4278, allocations: 177.7 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.428, allocations: 82.28 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.4281, allocations: 17.83 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.4282, allocations: 31.14 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.4284, allocations: 40.84 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.4284, allocations: 9.375 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.4286, allocations: 99.42 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.654e-05/0.4287, allocations: 22.89 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.4288, allocations: 30.14 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.4291, allocations: 153.4 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4291, allocations: 0 / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.4291, allocations: 1.094 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.4291, allocations: 0 / 0.5345 GB, free: 10.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006982/0.4298, allocations: 416.1 kB / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.4299, allocations: 10.25 kB / 0.535 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.43, allocations: 12.23 kB / 0.535 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.4302, allocations: 198.2 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.4303, allocations: 6.609 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.4303, allocations: 2.75 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.4305, allocations: 82.22 kB / 0.5352 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.4305, allocations: 1.094 kB / 0.5352 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.4305, allocations: 0 / 0.5352 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.4306, allocations: 5.094 kB / 0.5353 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.4307, allocations: 34.69 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.4311, allocations: 313.4 kB / 0.5356 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.4313, allocations: 45.94 kB / 0.5356 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.782e-05/0.4314, allocations: 32.11 kB / 0.5357 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.4314, allocations: 1.062 kB / 0.5357 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.4314, allocations: 31.53 kB / 0.5357 GB, free: 9.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.4314, allocations: 1.031 kB / 0.5357 GB, free: 9.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008037/0.4323, allocations: 233.9 kB / 0.5359 GB, free: 9.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.4323, allocations: 82.44 kB / 0.536 GB, free: 9.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.4325, allocations: 153.6 kB / 0.5361 GB, free: 9.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.4325, allocations: 26.73 kB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.4326, allocations: 99.86 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.4326, allocations: 26.55 kB / 0.5363 GB, free: 9.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.4327, allocations: 20.34 kB / 0.5363 GB, free: 9.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4328, allocations: 325.3 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.4329, allocations: 37.22 kB / 0.5366 GB, free: 8.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.4331, allocations: 53.27 kB / 0.5367 GB, free: 8.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.4333, allocations: 87.95 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4333, allocations: 0 / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000293/0.4336, allocations: 127.9 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.4337, allocations: 8.406 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4337, allocations: 3.938 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4337, allocations: 1.156 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.4338, allocations: 18.39 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4338, allocations: 9.125 kB / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.4339, allocations: 13.33 kB / 0.537 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.4339, allocations: 2.188 kB / 0.537 GB, free: 8.684 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001073/0.434, allocations: 120.4 kB / 0.5371 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.4341, allocations: 11.17 kB / 0.5371 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.4345, allocations: 143.4 kB / 0.5372 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4345, allocations: 1.125 kB / 0.5372 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4345, allocations: 0 / 0.5372 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4345, allocations: 3.938 kB / 0.5372 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005842/0.4351, allocations: 419.3 kB / 0.5376 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4351, allocations: 0 / 0.5376 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.479e-05/0.4352, allocations: 18.23 kB / 0.5376 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4352, allocations: 9.109 kB / 0.5377 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.4352, allocations: 9.156 kB / 0.5377 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4352, allocations: 0 / 0.5377 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4352, allocations: 0 / 0.5377 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.4356, allocations: 220.7 kB / 0.5379 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.4356, allocations: 87.12 kB / 0.538 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.4357, allocations: 9.031 kB / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/0.4358, allocations: 10.36 kB / 0.538 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.4358, allocations: 10.33 kB / 0.538 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.4358, allocations: 2.188 kB / 0.538 GB, free: 7.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.584e-05/0.4359, allocations: 111.4 kB / 0.5381 GB, free: 7.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4359, allocations: 0 / 0.5381 GB, free: 7.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.4363, allocations: 42.7 kB / 0.5381 GB, free: 7.645 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001137/0.4374, allocations: 0.4942 MB / 0.5386 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003073/0.4377, allocations: 89.58 kB / 0.5387 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4377, allocations: 0 / 0.5387 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.4379, allocations: 48.89 kB / 0.5387 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.4382, allocations: 25.31 kB / 0.5388 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000559/0.4388, allocations: 216.3 kB / 0.539 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.4391, allocations: 0.6989 MB / 0.5397 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.552e-05/0.4392, allocations: 19.38 kB / 0.5397 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.4392, allocations: 26.17 kB / 0.5397 GB, free: 6.406 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4392, allocations: 1.344 kB / 0.5397 GB, free: 6.406 MB / 398.1 MB Notification: Performance of Templates: time 0.00477/0.444, allocations: 1.931 MB / 0.5416 GB, free: 5.402 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches