Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001436/0.001436, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001578/0.001578, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.6 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.2237/0.2237, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 80.08 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4063, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003096/0.4095, allocations: 1.67 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.4106, allocations: 0.5482 MB / 0.5339 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.228e-05/0.4107, allocations: 1.156 kB / 0.5339 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006235/0.4113, allocations: 464.6 kB / 0.5343 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004949/0.4118, allocations: 287.7 kB / 0.5346 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.4122, allocations: 130.4 kB / 0.5347 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.4125, allocations: 173.2 kB / 0.5349 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.4126, allocations: 28.69 kB / 0.5349 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.4127, allocations: 111 kB / 0.535 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.413, allocations: 218.6 kB / 0.5352 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.413, allocations: 3.312 kB / 0.5352 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.4132, allocations: 52.64 kB / 0.5353 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.4133, allocations: 86.62 kB / 0.5353 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.655e-05/0.4134, allocations: 103.1 kB / 0.5354 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.4138, allocations: 278.1 kB / 0.5357 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4138, allocations: 1.5 kB / 0.5357 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4138, allocations: 0 / 0.5357 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.4138, allocations: 0 / 0.5357 GB, free: 10.88 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007676/0.4146, allocations: 0.6453 MB / 0.5363 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.4146, allocations: 7.906 kB / 0.5363 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.529e-05/0.4147, allocations: 47.81 kB / 0.5364 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.415, allocations: 290.1 kB / 0.5367 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.4151, allocations: 7.062 kB / 0.5367 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.4151, allocations: 7.094 kB / 0.5367 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.4152, allocations: 64.48 kB / 0.5367 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4153, allocations: 0 / 0.5367 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.4153, allocations: 0 / 0.5367 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4153, allocations: 1.375 kB / 0.5367 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.4154, allocations: 29.39 kB / 0.5368 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.416, allocations: 401.5 kB / 0.5372 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.4161, allocations: 43.88 kB / 0.5372 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.721e-05/0.4162, allocations: 20.34 kB / 0.5372 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.4162, allocations: 1.031 kB / 0.5372 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.4162, allocations: 35.62 kB / 0.5373 GB, free: 9.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.4162, allocations: 3.938 kB / 0.5373 GB, free: 9.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009912/0.4172, allocations: 295.9 kB / 0.5375 GB, free: 9.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.4173, allocations: 64.39 kB / 0.5376 GB, free: 9.188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009624/0.4182, allocations: 0.8652 MB / 0.5384 GB, free: 8.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.4183, allocations: 25.7 kB / 0.5385 GB, free: 8.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.4185, allocations: 229.1 kB / 0.5387 GB, free: 8.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.4185, allocations: 23.12 kB / 0.5387 GB, free: 8.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.4186, allocations: 24.73 kB / 0.5387 GB, free: 8.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4187, allocations: 360.3 kB / 0.5391 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.298e-05/0.4188, allocations: 24.69 kB / 0.5391 GB, free: 8.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.583e-05/0.4189, allocations: 35.81 kB / 0.5391 GB, free: 8.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.4191, allocations: 63.89 kB / 0.5392 GB, free: 8.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4191, allocations: 1.156 kB / 0.5392 GB, free: 8.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002459/0.4193, allocations: 126.3 kB / 0.5393 GB, free: 8.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.4194, allocations: 13.12 kB / 0.5393 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4194, allocations: 0 / 0.5393 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.4194, allocations: 1.094 kB / 0.5393 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.4195, allocations: 25.83 kB / 0.5394 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4195, allocations: 3.938 kB / 0.5394 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.182e-05/0.4196, allocations: 8.203 kB / 0.5394 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.4196, allocations: 1.938 kB / 0.5394 GB, free: 7.984 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 (8): * Single equations (assignments): 8 * 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.000216/0.4198, allocations: 210.4 kB / 0.5396 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.4199, allocations: 42.31 kB / 0.5396 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003295/0.4202, allocations: 164.4 kB / 0.5398 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.4203, allocations: 5.406 kB / 0.5398 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4203, allocations: 3.938 kB / 0.5398 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4203, allocations: 5.391 kB / 0.5398 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006509/0.4209, allocations: 0.4975 MB / 0.5403 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.421, allocations: 5.156 kB / 0.5403 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/0.421, allocations: 18.3 kB / 0.5403 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.421, allocations: 4.031 kB / 0.5403 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.4211, allocations: 2.281 kB / 0.5403 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4211, allocations: 1.062 kB / 0.5403 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4211, allocations: 3.984 kB / 0.5403 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.4214, allocations: 235.4 kB / 0.5405 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.041e-05/0.4215, allocations: 126.3 kB / 0.5406 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.4215, allocations: 1 kB / 0.5406 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.4216, allocations: 3.25 kB / 0.5406 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.4217, allocations: 7.297 kB / 0.5407 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.4217, allocations: 3.281 kB / 0.5407 GB, free: 6.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007038/0.4224, allocations: 0.653 MB / 0.5413 GB, free: 6.602 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4224, allocations: 0 / 0.5413 GB, free: 6.602 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.4227, allocations: 33.7 kB / 0.5413 GB, free: 6.59 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00109/0.4238, allocations: 456.9 kB / 0.5418 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.424, allocations: 67.36 kB / 0.5418 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.424, allocations: 4 kB / 0.5418 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.717e-05/0.4241, allocations: 42.47 kB / 0.5419 GB, free: 6.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.4246, allocations: 36.22 kB / 0.5419 GB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.4259, allocations: 0.851 MB / 0.5427 GB, free: 5.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.4263, allocations: 0.826 MB / 0.5435 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.4263, allocations: 18.81 kB / 0.5436 GB, free: 5.035 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4263, allocations: 4 kB / 0.5436 GB, free: 5.031 MB / 398.1 MB Notification: Performance of Templates: time 0.007418/0.4338, allocations: 3.958 MB / 0.5474 GB, free: 1.375 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches