Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 118.8 kB / 17.79 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.001925/0.001926, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2511/0.2511, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 75.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4192, allocations: 62.45 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002907/0.4222, allocations: 1.65 MB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.4233, allocations: 0.5781 MB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.888e-05/0.4234, allocations: 5.062 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000641/0.424, allocations: 453.8 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.4246, allocations: 291.6 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.4251, allocations: 181.9 kB / 0.5341 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.4253, allocations: 169 kB / 0.5342 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.4255, allocations: 21.22 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.4256, allocations: 107.4 kB / 0.5344 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.4259, allocations: 214.6 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.4259, allocations: 3.25 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.426, allocations: 41.34 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.4262, allocations: 83.25 kB / 0.5347 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.643e-05/0.4263, allocations: 98.88 kB / 0.5348 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.4267, allocations: 271.7 kB / 0.535 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4267, allocations: 0 / 0.535 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4268, allocations: 0 / 0.535 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.4268, allocations: 1.031 kB / 0.535 GB, free: 10.89 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.0007708/0.4275, allocations: 0.6399 MB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.4276, allocations: 8.562 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.849e-05/0.4277, allocations: 47 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.428, allocations: 295.5 kB / 0.536 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.428, allocations: 5.531 kB / 0.536 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.428, allocations: 3.125 kB / 0.536 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.4282, allocations: 63.33 kB / 0.5361 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4282, allocations: 1.125 kB / 0.5361 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.4282, allocations: 4 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4282, allocations: 1.156 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.4283, allocations: 28.42 kB / 0.5361 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006107/0.429, allocations: 397.4 kB / 0.5365 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.4292, allocations: 48.8 kB / 0.5365 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.4293, allocations: 20.52 kB / 0.5365 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.4293, allocations: 0 / 0.5365 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.4293, allocations: 31.97 kB / 0.5366 GB, free: 9.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.4293, allocations: 0 / 0.5366 GB, free: 9.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007897/0.4301, allocations: 237 kB / 0.5368 GB, free: 9.297 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.4302, allocations: 60.17 kB / 0.5369 GB, free: 9.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008921/0.4311, allocations: 0.867 MB / 0.5377 GB, free: 8.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.4311, allocations: 25.7 kB / 0.5377 GB, free: 8.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.4313, allocations: 226 kB / 0.5379 GB, free: 8.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.4313, allocations: 14.38 kB / 0.538 GB, free: 8.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.4314, allocations: 17.67 kB / 0.538 GB, free: 8.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4315, allocations: 364 kB / 0.5383 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.556e-05/0.4316, allocations: 21.05 kB / 0.5383 GB, free: 8.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-05/0.4317, allocations: 28.59 kB / 0.5384 GB, free: 8.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.4318, allocations: 54.95 kB / 0.5384 GB, free: 8.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4318, allocations: 192 / 0.5384 GB, free: 8.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002408/0.4321, allocations: 123 kB / 0.5385 GB, free: 8.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4321, allocations: 5.219 kB / 0.5385 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4321, allocations: 3.984 kB / 0.5386 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4321, allocations: 1.5 kB / 0.5386 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.4322, allocations: 14.31 kB / 0.5386 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4322, allocations: 3.938 kB / 0.5386 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.268e-05/0.4323, allocations: 10.77 kB / 0.5386 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.4323, allocations: 5.656 kB / 0.5386 GB, free: 8.047 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 (5): * Single equations (assignments): 5 * 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.0002317/0.4325, allocations: 210.4 kB / 0.5388 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/0.4326, allocations: 50.62 kB / 0.5388 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000307/0.4329, allocations: 143.2 kB / 0.539 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.4329, allocations: 0 / 0.539 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4329, allocations: 0.5625 kB / 0.539 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.433, allocations: 4.812 kB / 0.539 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006212/0.4336, allocations: 468.2 kB / 0.5394 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4336, allocations: 0 / 0.5394 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.785e-05/0.4337, allocations: 9.938 kB / 0.5394 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.4337, allocations: 3.984 kB / 0.5394 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.4337, allocations: 8.875 kB / 0.5394 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4337, allocations: 1.188 kB / 0.5394 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4337, allocations: 0 / 0.5394 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.434, allocations: 222.1 kB / 0.5397 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-05/0.4341, allocations: 114.4 kB / 0.5398 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.4341, allocations: 7.875 kB / 0.5398 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.765e-05/0.4342, allocations: 11.22 kB / 0.5398 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.4342, allocations: 10.2 kB / 0.5398 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.4343, allocations: 2.25 kB / 0.5398 GB, free: 7.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000673/0.4349, allocations: 0.6507 MB / 0.5404 GB, free: 6.715 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4349, allocations: 0 / 0.5404 GB, free: 6.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.4353, allocations: 29.83 kB / 0.5405 GB, free: 6.703 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 (5): * Single equations (assignments): 5 * 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.0009247/0.4362, allocations: 401.3 kB / 0.5408 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.4364, allocations: 55.25 kB / 0.5409 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4364, allocations: 0 / 0.5409 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.4365, allocations: 29.3 kB / 0.5409 GB, free: 6.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.4369, allocations: 34.11 kB / 0.541 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.4382, allocations: 0.7896 MB / 0.5417 GB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.4387, allocations: 0.8256 MB / 0.5425 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.11e-05/0.4388, allocations: 24.91 kB / 0.5426 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.4388, allocations: 12.53 kB / 0.5426 GB, free: 5.242 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4388, allocations: 1.5 kB / 0.5426 GB, free: 5.242 MB / 398.1 MB Notification: Performance of Templates: time 0.005349/0.4442, allocations: 1.524 MB / 0.5441 GB, free: 4.117 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches